Regenerate MIPS catan, catanh long double ulps.
[glibc.git] / ChangeLog
blob994a60304acd8e3a2a0db9a5ff108e4280b9ff02
1 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4         for long double with corrected test expectations.
6 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
9         Define.
10         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
12         * sysdeps/unix/sysv/linux/nios2/sysdep.h
13         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
14         * sysdeps/unix/sysv/linux/tile/sysdep.h
15         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
16         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17         (__ASSUME_RECV_SYSCALL): Define.
18         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19         (__ASSUME_RECV_SYSCALL): Likewise.
20         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21         (__ASSUME_RECV_SYSCALL): Likewise.
22         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23         (__ASSUME_RECV_SYSCALL): Likewise.
24         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25         (__ASSUME_RECV_SYSCALL): Likewise.
26         * sysdeps/unix/sysv/linux/i386/kernel-features.h
27         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
28         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
30         * sysdeps/unix/sysv/linux/s390/kernel-features.h
31         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
32         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
33         auto-generation list.
34         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
35         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
36         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
37         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
38         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
39         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
40         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
41         __ASSUME_SENDTO_SYSCALL.
42         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
43         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
44         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
46         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
47         auto-generation list.
48         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
49         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
50         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
51         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
52         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
53         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
54         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55         * sysdeps/unix/sysv/linux/kernel-features.h
56         (__ASSUME_SENDTO_SYSCALL): Define by default.
57         * sysdeps/unix/sysv/linux/i386/kernel-features.h
58         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
59         __NR_sendto.
60         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
61         (__ASSUME_SENDTO_SYSCALL): Likewise.
62         * sysdeps/unix/sysv/linux/s390/kernel-features.h
63         (__ASSUME_SENDTO_SYSCALL): Likewise.
64         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
65         (__ASSUME_SENDTO_SYSCALL): Remove definition.
66         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
67         (__ASSUME_SENDTO_SYSCALL): Likewise.
68         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
69         (__ASSUME_SENDTO_SYSCALL): Likewise.
70         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
72         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
73         auto-generation list.
74         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
75         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
76         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
77         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
78         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
79         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
80         (__ASSUME_RECV_SYSCALL): New define.
81         * sysdeps/unix/sysv/linux/arm/kernel-features.h
82         (__ASSUME_RECV_SYSCALL): Likewise.
83         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
84         (__ASSUME_RECV_SYSCALL): Likewise.
85         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
86         (__ASSUME_RECV_SYSCALL): Likewise.
87         * sysdeps/unix/sysv/linux/mips/kernel-features.h
88         (__ASSUME_RECV_SYSCALL): Likewise.
89         * sysdeps/unix/sysv/linux/i386/kernel-features.h
90         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
91         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
92         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
93         * sysdeps/unix/sysv/linux/s390/kernel-features.h
94         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
95         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
96         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
97         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
98         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
99         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
100         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
102         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
103         auto-generation list.
104         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
105         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
106         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
107         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
108         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
110         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
111         * sysdeps/unix/sysv/linux/i386/kernel-features.h
112         (__ASSUME_RECVFROM_SYSCALL): Define by default.
113         * sysdeps/unix/sysv/linux/kernel-features.h
114         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
115         __NR_recvfrom.
116         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
117         (__ASSUME_RECVFROM_SYSCALL): Likewise.
118         * sysdeps/unix/sysv/linux/s390/kernel-features.h
119         (__ASSUME_RECVFROM_SYSCALL): Likewise.
120         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
121         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
122         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
123         (__ASSUME_RECVFROM_SYSCALL): Likewise.
124         * sysdeps/unix/sysv/linux/sh/kernel-features.h
125         (__ASSUME_RECVFROM_SYSCALL): Likewise.
126         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
127         (__ASSUME_RECVFROM_SYSCALL): Likewise.
128         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
130         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
131         auto-generation list.
132         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
133         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
134         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
135         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
136         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
137         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
138         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
139         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
140         * sysdeps/unix/sysv/linux/kernel-features.h
141         (__ASSUME_CONNECT_SYSCALL): Define.
142         * sysdeps/unix/sysv/linux/i386/kernel-features.h
143         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
145         (__ASSUME_CONNECT_SYSCALL): Likewise.
146         * sysdeps/unix/sysv/linux/s390/kernel-features.h
147         (__ASSUME_CONNECT_SYSCALL): Likewise.
148         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
149         (__ASSUME_CONNECT_SYSCALL): Likewise.
151         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
152         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
153         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
154         auto-generation list.
155         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
156         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
157         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
158         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
159         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
160         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
161         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
162         * sysdeps/unix/sysv/linux/i386/kernel-features.h
163         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
164         (__ASSUME_ACCEPT_SYSCALL): Undefine.
165         * sysdeps/unix/sysv/linux/kernel-features.h
166         (__ASSUME_ACCEPT_SYSCALL): New define.
167         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
168         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
169         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
170         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
171         (__ASSUME_ACCEPT_SYSCALL): Define.
172         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
173         (__ASSUME_ACCEPT_SYSCALL): Undefine.
174         * sysdeps/unix/sysv/linux/s390/kernel-features.h
175         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
176         (__ASSUME_ACCEPT_SYSCALL): Undefine.
177         * sysdeps/unix/sysv/linux/sh/kernel-features.h
178         (__ASSUME_ACCEPT_SYSCALL): Undefine.
179         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
180         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
182 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
183             Zack Weinberg  <zackw@panix.com>
185         * posix/test-errno.c: New file.
186         * posix/Makefile (tests): Add test-errno.
187         * sysdeps/unix/sysv/linux/test-errno.c: New file.
188         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
190 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
192         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
194 2017-03-07  Florian Weimer  <fweimer@redhat.com>
196         * time/tzset.c (compute_offset): Open-code min macro.
197         (min, max, sign): Remove.
199 2017-03-07  Florian Weimer  <fweimer@redhat.com>
201         [BZ #15576]
202         Remove TZNAME_MAX limit from sysconf.
203         * include/time.h (__tzname_cur_max, __tzname_max): Remove
204         declaration.
205         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
206         compute_tzname_max.
207         (compute_tzname_max): Remove.
208         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
209         (update_vars): Do not update __tzname_cur_max.
210         (tzset_internal): Remove argument.
211         (__tzset): Adjust call to tzset_internal.
212         (__tz_convert): Likewise.
214         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
215         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
216         * manual/conf.texi (Sysconf Definition): Update comment.
218 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
220         [BZ #21209]
221         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
222         AT_SECURE processes.
223         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
224         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
225         (test_child): Likewise.
226         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
228 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
230         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
232 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
234         * sysdeps/s390/atomic-machine.h
235         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
236         (__arch_compare_and_exchange_val_8_acq,
237         __arch_compare_and_exchange_val_16_acq,
238         __arch_compare_and_exchange_val_32_acq,
239         __arch_compare_and_exchange_val_64_acq):
240         Delete macro.
241         (atomic_compare_and_exchange_val_acq,
242         atomic_compare_and_exchange_val_rel,
243         atomic_compare_and_exchange_bool_acq,
244         catomic_compare_and_exchange_bool_acq,
245         atomic_exchange_acq, atomic_exchange_rel,
246         atomic_exchange_and_add_acq,
247         atomic_exchange_and_add_rel,
248         catomic_exchange_and_add, atomic_or_val,
249         atomic_or, catomic_or, atomic_bit_test_set,
250         atomic_and_val, atomic_and, catomic_and):
251         Define macros with help of C11 atomic builtins.
253 2017-03-03  Justus Winter <justus@gnupg.org>
255         * sysdeps/mach/hurd/ftruncate64.c: New file.
256         * sysdeps/mach/hurd/truncate64.c: Likewise.
258 2017-03-03  Florian Weimer  <fweimer@redhat.com>
260         * time/tzfile.c (NOID): Do not define.
261         * time/tzset.c (NOID): Likewise.
263 2017-03-03  Florian Weimer  <fweimer@redhat.com>
265         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
267 2017-03-02  Florian Weimer  <fweimer@redhat.com>
269         * elf/get-dynamic-info.h: Remove header file inclusion guard.
271 2017-03-02  Florian Weimer  <fweimer@redhat.com>
273         [BZ #21015]
274         * manual/install.texi (Configuring and compiling): Document
275         --enable-bind-now.
276         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
277         (build-shlib-helper): Use $(LDFLAGS-lib.so).
278         (format.lds): Likewise.
279         [bind-now] (LDFLAGS-c.so): Remove.
280         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
281         be R_X86_64_GLOB_DAT.
282         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
283         relocation can be R_386_GLOB_DAT.
284         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
285         relocaiton can be R_ALPHA_GLOB_DAT.
286         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
288 2017-03-01  Zack Weinberg  <zackw@panix.com>
290         * include/libc-pointer-arith.h: New file.  Define
291         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
292         PTR_ALIGN_DOWN here.
293         * include/libc-internal.h: Definitions of above macros
294         moved from here.  Don't include libc-diag.h anymore either.
295         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
296         Don't include libc-internal.h.
298         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
299         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
300         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
301         * string/strcoll_l.c, sysdeps/nacl/brk.c
302         * sysdeps/unix/clock_settime.c
303         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
304         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
305         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
306         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
307         Don't include libc-internal.h.
309         * elf/get-dynamic-info.h, iconv/loop.c
310         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
311         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
312         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
313         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
314         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
315         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
316         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
318         * sysdeps/ieee754/ldbl-128/k_tanl.c
319         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
320         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
321         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
322         Include libc-diag.h instead of libc-internal.h.
324         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
325         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
326         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
327         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
328         * sysdeps/unix/sysv/linux/spawni.c
329         * sysdeps/x86_64/nptl/tls.h:
330         Include libc-pointer-arith.h instead of libc-internal.h.
332         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
333         * sysdeps/x86_64/atomic-machine.h:
334         Add multiple include guard.
336         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
337         * string/strcasestr.c: No need to include config.h.
338         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
339         sys/auxv.h. Don't include sysdep.h.
340         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
342         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
343         DL_LOOKUP_ADDRESS.
344         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
345         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
346         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
347         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
348         of ARTIFICIAL_LIMIT.
349         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
350         declaration of __clone2.
352 2017-02-28  Florian Weimer  <fweimer@redhat.com>
354         * scripts/backport-support.sh (latest_commit): New file.
356 2017-02-28  Florian Weimer  <fweimer@redhat.com>
358         [BZ #20257]
359         * inet/Makefile (routines): Add deadline.
360         (tests-static): Add tst-deadline.
361         * inet/net-internal.h (struct deadline_current_time)
362         (__deadline_current_time, struct deadline, __deadline_is_infinite)
363         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
364         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
365         * inet/deadline.c: New file.
366         * inet/tst-deadline.c: Likewise.
367         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
368         tst-udp-timeout, tst-udp-garbage.
369         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
370         explicitly.
371         (tst-udp-garbage): Likewise.  Also link against thread library.
372         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
373         struct layout is part of the ABI.
374         (clntudp_call): Rework timeout handling.
375         * sunrpc/tst-udp-garbage.c: New file.
376         * sunrpc/tst-udp-nonblocking.c: Likewise.
377         * sunrpc/tst-udp-timeout.c: Likewise.
379 2017-02-28  Florian Weimer  <fweimer@redhat.com>
381         [BZ #5010]
382         * sunrpc/svc.c (svc_is_mapped): Remove.
383         (svc_unregister): Obtain mapped status while the service is still
384         registered.
385         * sunrpc/Makefile [have-thread-library] (tests): Add
386         tst-svc_register.
387         (tst-svc_register): Link against libc.so explicitly and the thread
388         library.
389         * sunrpc/tst-svc_register.c: New file.
391 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
393         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
394         * sysdeps/pthread/bits/sigthread.h: Likewise.
396 2017-02-27  Florian Weimer  <fweimer@redhat.com>
398         [BZ #21115]
399         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
400         * sunrpc/Makefile (tests): Add tst-udp-error.
401         (tst-udp-error): Link against libc.so explicitly.
402         * sunrpc/tst-udp-error: New file.
404 2017-02-25  Zack Weinberg  <zackw@panix.com>
406         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
407         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
409         * sysdeps/generic/math_ldbl.h
410         * sysdeps/ia64/fpu/math_ldbl.h
411         * sysdeps/ieee754/ldbl-128/math_ldbl.h
412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
413         * sysdeps/ieee754/ldbl-96/math_ldbl.h
414         * sysdeps/powerpc/fpu/math_ldbl.h
415         * sysdeps/x86_64/fpu/math_ldbl.h:
416         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
417         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
418         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
419         Add copyright notices.
421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
422         Don't use EXTRACT_WORDS64.
424         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
425         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
426         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
427         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
428         Include math_ldbl.h, not math_private.h.
430 2017-02-25  Zack Weinberg  <zackw@panix.com>
432         * include/libc-diag.h: New file.  Define ignore_value,
433         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
434         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
436         * include/libc-internal.h: Definitions of above macros moved from
437         here.  Include libc-diag.h.  Add copyright notice.
439         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
440         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
441         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
442         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
443         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
444         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
445         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
446         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
447         Include libc-diag.h instead of libc-internal.h.
449         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
450         call to unsetenv (NULL).
451         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
452         call to pthread_mutexattr_destroy (NULL).
454 2017-02-25  Zack Weinberg  <zackw@panix.com>
456         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
457         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
458         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
459         gets was removed from C++ in C++14.
460         * include/stdio.h: Remove redundant declaration of gets.
461         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
462         be declared, since we are testing it.
463         * stdio-common/Makefile (tst-gets.c): Compile with
464         -Wno-deprecated-declarations.
465         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
466         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
467         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
468         Compile with -Wno-deprecated-declarations.
470 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
472         * math/libm-test-support.c (check_ulp): Use LIT() around literal
473         numbers.
475 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
477         * resolv/tst-resolv-qtypes.c (domain):
478         Change type to const pointer to const char.
480 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
482         * math/Makefile (libm-tests-generated): Remove variable.
483         (libm-tests-base-normal): New variable.
484         (libm-tests-base-finite): Likewise.
485         (libm-tests-base-inline): Likewise.
486         (libm-tests-base): Likewise.
487         (libm-tests-normal): Likewise.
488         (libm-tests-finite): Likewise.
489         (libm-tests-inline): Likewise.
490         (libm-tests-vector): Likewise.
491         (libm-tests): Define in terms of these new variables.
492         (libm-tests-for-type): New variable.
493         (libm-tests.o): Move definition.
494         (tests): Move addition of $(libm-tests).
495         (generated): Update for new and removed libm test files.
496         ($(objpfx)libm-test.c): Remove target.
497         ($(objpfx)libm-have-vector-test.h): Likewise.
498         (CFLAGS-test-double-vlen2.c): Remove variable.
499         (CFLAGS-test-double-vlen4.c): Likewise.
500         (CFLAGS-test-double-vlen8.c): Likewise.
501         (CFLAGS-test-float-vlen4.c): Likewise.
502         (CFLAGS-test-float-vlen8.c): Likewise.
503         (CFLAGS-test-float-vlen16.c): Likewise.
504         (CFLAGS-test-float.c): Likewise.
505         (CFLAGS-test-float-finite.c): Likewise.
506         (CFLAGS-libm-test-support-float.c): Likewise.
507         (CFLAGS-test-double.c): Likewise.
508         (CFLAGS-test-double-finite.c): Likewise.
509         (CFLAGS-libm-test-support-double.c): Likewise.
510         (CFLAGS-test-ldouble.c): Likewise.
511         (CFLAGS-test-ldouble-finite.c): Likewise.
512         (CFLAGS-libm-test-support-ldouble.c): Likewise.
513         (libm-test-inline-cflags): New variable.
514         (CFLAGS-test-ifloat.c): Remove variable.
515         (CFLAGS-test-idouble.c): Likewise.
516         (CFLAGS-test-ildouble.c): Likewise.
517         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
518         dependencies.
519         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
520         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
521         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
522         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
523         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
524         Likewise.
525         (dependencies on libm-test-support-*.o): Remove.
526         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
527         rules using iterators.
528         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
529         Likewise.
530         ($(objpfx)libm-test-support-$(o).o): Likewise.
531         ($(addprefix $(objpfx),$(filter-out $(tests-static)
532         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
533         instead.
534         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
535         define rule instead.
536         * math/README.libm-test: Update.
537         * math/libm-test-acos.inc: Include libm-test-driver.c.
538         (do_test): New function.
539         * math/libm-test-acosh.inc: Include libm-test-driver.c.
540         (do_test): New function.
541         * math/libm-test-asin.inc: Include libm-test-driver.c.
542         (do_test): New function.
543         * math/libm-test-asinh.inc: Include libm-test-driver.c.
544         (do_test): New function.
545         * math/libm-test-atan.inc: Include libm-test-driver.c.
546         (do_test): New function.
547         * math/libm-test-atan2.inc: Include libm-test-driver.c.
548         (do_test): New function.
549         * math/libm-test-atanh.inc: Include libm-test-driver.c.
550         (do_test): New function.
551         * math/libm-test-cabs.inc: Include libm-test-driver.c.
552         (do_test): New function.
553         * math/libm-test-cacos.inc: Include libm-test-driver.c.
554         (do_test): New function.
555         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
556         (do_test): New function.
557         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
558         (do_test): New function.
559         * math/libm-test-carg.inc: Include libm-test-driver.c.
560         (do_test): New function.
561         * math/libm-test-casin.inc: Include libm-test-driver.c.
562         (do_test): New function.
563         * math/libm-test-casinh.inc: Include libm-test-driver.c.
564         (do_test): New function.
565         * math/libm-test-catan.inc: Include libm-test-driver.c.
566         (do_test): New function.
567         * math/libm-test-catanh.inc: Include libm-test-driver.c.
568         (do_test): New function.
569         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
570         (do_test): New function.
571         * math/libm-test-ccos.inc: Include libm-test-driver.c.
572         (do_test): New function.
573         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
574         (do_test): New function.
575         * math/libm-test-ceil.inc: Include libm-test-driver.c.
576         (do_test): New function.
577         * math/libm-test-cexp.inc: Include libm-test-driver.c.
578         (do_test): New function.
579         * math/libm-test-cimag.inc: Include libm-test-driver.c.
580         (do_test): New function.
581         * math/libm-test-clog.inc: Include libm-test-driver.c.
582         (do_test): New function.
583         * math/libm-test-clog10.inc: Include libm-test-driver.c.
584         (do_test): New function.
585         * math/libm-test-conj.inc: Include libm-test-driver.c.
586         (do_test): New function.
587         * math/libm-test-copysign.inc: Include libm-test-driver.c.
588         (do_test): New function.
589         * math/libm-test-cos.inc: Include libm-test-driver.c.
590         (do_test): New function.
591         * math/libm-test-cosh.inc: Include libm-test-driver.c.
592         (do_test): New function.
593         * math/libm-test-cpow.inc: Include libm-test-driver.c.
594         (do_test): New function.
595         * math/libm-test-cproj.inc: Include libm-test-driver.c.
596         (do_test): New function.
597         * math/libm-test-creal.inc: Include libm-test-driver.c.
598         (do_test): New function.
599         * math/libm-test-csin.inc: Include libm-test-driver.c.
600         (do_test): New function.
601         * math/libm-test-csinh.inc: Include libm-test-driver.c.
602         (do_test): New function.
603         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
604         (do_test): New function.
605         * math/libm-test-ctan.inc: Include libm-test-driver.c.
606         (do_test): New function.
607         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
608         (do_test): New function.
609         * math/libm-test-erf.inc: Include libm-test-driver.c.
610         (do_test): New function.
611         * math/libm-test-erfc.inc: Include libm-test-driver.c.
612         (do_test): New function.
613         * math/libm-test-exp.inc: Include libm-test-driver.c.
614         (do_test): New function.
615         * math/libm-test-exp10.inc: Include libm-test-driver.c.
616         (do_test): New function.
617         * math/libm-test-exp2.inc: Include libm-test-driver.c.
618         (do_test): New function.
619         * math/libm-test-expm1.inc: Include libm-test-driver.c.
620         (do_test): New function.
621         * math/libm-test-fabs.inc: Include libm-test-driver.c.
622         (do_test): New function.
623         * math/libm-test-fdim.inc: Include libm-test-driver.c.
624         (do_test): New function.
625         * math/libm-test-floor.inc: Include libm-test-driver.c.
626         (do_test): New function.
627         * math/libm-test-fma.inc: Include libm-test-driver.c.
628         (do_test): New function.
629         * math/libm-test-fmax.inc: Include libm-test-driver.c.
630         (do_test): New function.
631         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
632         (do_test): New function.
633         * math/libm-test-fmin.inc: Include libm-test-driver.c.
634         (do_test): New function.
635         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
636         (do_test): New function.
637         * math/libm-test-fmod.inc: Include libm-test-driver.c.
638         (do_test): New function.
639         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
640         (do_test): New function.
641         * math/libm-test-frexp.inc: Include libm-test-driver.c.
642         (do_test): New function.
643         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
644         (do_test): New function.
645         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
646         (do_test): New function.
647         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
648         (do_test): New function.
649         * math/libm-test-hypot.inc: Include libm-test-driver.c.
650         (do_test): New function.
651         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
652         (do_test): New function.
653         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
654         (do_test): New function.
655         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
656         (do_test): New function.
657         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
658         (do_test): New function.
659         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
660         (do_test): New function.
661         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
662         (do_test): New function.
663         * math/libm-test-isinf.inc: Include libm-test-driver.c.
664         (do_test): New function.
665         * math/libm-test-isless.inc: Include libm-test-driver.c.
666         (do_test): New function.
667         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
668         (do_test): New function.
669         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
670         (do_test): New function.
671         * math/libm-test-isnan.inc: Include libm-test-driver.c.
672         (do_test): New function.
673         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
674         (do_test): New function.
675         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
676         (do_test): New function.
677         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
678         (do_test): New function.
679         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
680         (do_test): New function.
681         * math/libm-test-iszero.inc: Include libm-test-driver.c.
682         (do_test): New function.
683         * math/libm-test-j0.inc: Include libm-test-driver.c.
684         (do_test): New function.
685         * math/libm-test-j1.inc: Include libm-test-driver.c.
686         (do_test): New function.
687         * math/libm-test-jn.inc: Include libm-test-driver.c.
688         (do_test): New function.
689         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
690         (do_test): New function.
691         * math/libm-test-llogb.inc: Include libm-test-driver.c.
692         (do_test): New function.
693         * math/libm-test-llrint.inc: Include libm-test-driver.c.
694         (do_test): New function.
695         * math/libm-test-llround.inc: Include libm-test-driver.c.
696         (do_test): New function.
697         * math/libm-test-log.inc: Include libm-test-driver.c.
698         (do_test): New function.
699         * math/libm-test-log10.inc: Include libm-test-driver.c.
700         (do_test): New function.
701         * math/libm-test-log1p.inc: Include libm-test-driver.c.
702         (do_test): New function.
703         * math/libm-test-log2.inc: Include libm-test-driver.c.
704         (do_test): New function.
705         * math/libm-test-logb.inc: Include libm-test-driver.c.
706         (do_test): New function.
707         * math/libm-test-lrint.inc: Include libm-test-driver.c.
708         (do_test): New function.
709         * math/libm-test-lround.inc: Include libm-test-driver.c.
710         (do_test): New function.
711         * math/libm-test-modf.inc: Include libm-test-driver.c.
712         (do_test): New function.
713         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
714         (do_test): New function.
715         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
716         (do_test): New function.
717         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
718         (do_test): New function.
719         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
720         (do_test): New function.
721         * math/libm-test-nextup.inc: Include libm-test-driver.c.
722         (do_test): New function.
723         * math/libm-test-pow.inc: Include libm-test-driver.c.
724         (do_test): New function.
725         * math/libm-test-remainder.inc: Include libm-test-driver.c.
726         (do_test): New function.
727         * math/libm-test-remquo.inc: Include libm-test-driver.c.
728         (do_test): New function.
729         * math/libm-test-rint.inc: Include libm-test-driver.c.
730         (do_test): New function.
731         * math/libm-test-round.inc: Include libm-test-driver.c.
732         (do_test): New function.
733         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
734         (do_test): New function.
735         * math/libm-test-scalb.inc: Include libm-test-driver.c.
736         (do_test): New function.
737         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
738         (do_test): New function.
739         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
740         (do_test): New function.
741         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
742         (do_test): New function.
743         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
744         (do_test): New function.
745         * math/libm-test-signbit.inc: Include libm-test-driver.c.
746         (do_test): New function.
747         * math/libm-test-significand.inc: Include libm-test-driver.c.
748         (do_test): New function.
749         * math/libm-test-sin.inc: Include libm-test-driver.c.
750         (do_test): New function.
751         * math/libm-test-sincos.inc: Include libm-test-driver.c.
752         (do_test): New function.
753         * math/libm-test-sinh.inc: Include libm-test-driver.c.
754         (do_test): New function.
755         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
756         (do_test): New function.
757         * math/libm-test-tan.inc: Include libm-test-driver.c.
758         (do_test): New function.
759         * math/libm-test-tanh.inc: Include libm-test-driver.c.
760         (do_test): New function.
761         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
762         (do_test): New function.
763         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
764         (do_test): New function.
765         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
766         (do_test): New function.
767         * math/libm-test-trunc.inc: Include libm-test-driver.c.
768         (do_test): New function.
769         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
770         (do_test): New function.
771         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
772         (do_test): New function.
773         * math/libm-test-y0.inc: Include libm-test-driver.c.
774         (do_test): New function.
775         * math/libm-test-y1.inc: Include libm-test-driver.c.
776         (do_test): New function.
777         * math/libm-test-yn.inc: Include libm-test-driver.c.
778         (do_test): New function.
779         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
780         (HAVE_VECTOR): Remove macro.
781         (START): Do not call HAVE_VECTOR.
782         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
783         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
784         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
785         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
786         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
787         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
788         * math/test-math-vector.h (FUNC_TEST): New macro.
789         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
790         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
791         (double-vlen4-funcs): Likewise.
792         (double-vlen4-avx2-funcs): Likewise.
793         (double-vlen8-funcs): Likewise.
794         (float-vlen4-funcs): Likewise.
795         (float-vlen8-funcs): Likewise.
796         (float-vlen8-avx2-funcs): Likewise.
797         (float-vlen16-funcs): Likewise.
798         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
799         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
800         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
801         macro.
802         (TEST_VECTOR_sin): Likewise.
803         (TEST_VECTOR_sincos): Likewise.
804         (TEST_VECTOR_log): Likewise.
805         (TEST_VECTOR_exp): Likewise.
806         (TEST_VECTOR_pow): Likewise.
807         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
808         Likewise.
809         (TEST_VECTOR_sin): Likewise.
810         (TEST_VECTOR_sincos): Likewise.
811         (TEST_VECTOR_log): Likewise.
812         (TEST_VECTOR_exp): Likewise.
813         (TEST_VECTOR_pow): Likewise.
814         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
815         Likewise.
816         (TEST_VECTOR_sinf): Likewise.
817         (TEST_VECTOR_sincosf): Likewise.
818         (TEST_VECTOR_logf): Likewise.
819         (TEST_VECTOR_expf): Likewise.
820         (TEST_VECTOR_powf): Likewise.
821         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
822         Likewise.
823         (TEST_VECTOR_sinf): Likewise.
824         (TEST_VECTOR_sincosf): Likewise.
825         (TEST_VECTOR_logf): Likewise.
826         (TEST_VECTOR_expf): Likewise.
827         (TEST_VECTOR_powf): Likewise.
828         * math/gen-libm-have-vector-test.sh: Remove file.
829         * math/libm-test.inc: Likewise.
830         * math/libm-test-support-double.c: Likewise.
831         * math/libm-test-support-float.c: Likewise.
832         * math/libm-test-support-ldouble.c: Likewise.
833         * math/test-double-finite.c: Likewise.: Likewise.
834         * math/test-double.c: Likewise.
835         * math/test-float-finite.c: Likewise.
836         * math/test-float.c: Likewise.
837         * math/test-idouble.c: Likewise.
838         * math/test-ifloat.c: Likewise.
839         * math/test-ildouble.c: Likewise.
840         * math/test-ldouble-finite.c: Likewise.
841         * math/test-ldouble.c: Likewise.
842         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
843         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
844         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
845         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
846         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
847         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
848         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
849         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
850         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
851         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
853 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
854            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
856         * math/Makefile: Add wrappers to gen-libm-calls.
857         * math/w_acos_template.c: New file.
858         * math/w_acosh_template.c: Likewise.
859         * math/w_asin_template.c: Likewise.
860         * math/w_atan2_template.c: Likewise.
861         * math/w_atanh_template.c: Likewise.
862         * math/w_cosh_template.c: Likewise.
863         * math/w_exp10_template.c: Likewise.
864         * math/w_exp2_template.c: Likewise.
865         * math/w_exp_template.c: Likewise.
866         * math/w_fmod_template.c: Likewise.
867         * math/w_hypot_template.c: Likewise.
868         * math/w_j0_template.c: Likewise.
869         * math/w_j1_template.c: Likewise.
870         * math/w_jn_template.c: Likewise.
871         * math/w_lgamma_r_template.c: Likewise.
872         * math/w_lgamma_template.c: Likewise.
873         * math/w_log10_template.c: Likewise.
874         * math/w_log2_template.c: Likewise.
875         * math/w_log_template.c: Likewise.
876         * math/w_pow_template.c: Likewise.
877         * math/w_remainder_template.c: Likewise.
878         * math/w_sinh_template.c: Likewise.
879         * math/w_sqrt_template.c: Likewise.
880         * math/w_tgamma_template.c: Likewise.: Likewise.
881         * sysdeps/generic/math-type-macros-double.h
882         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
883         the new wrappers.
884         * sysdeps/generic/math-type-macros-float.h: Likewise.
885         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
887 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
889         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
890         New enum constant and macro.
892         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
893         kernel version to 4.10.
895 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
897         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
899 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
903 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
905         * sysdeps/powerpc/tst-set_ppr.c: New file.
906         Implement test cases for __ppc_set_ppr_* functions.
907         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
908         in the list of tests.
910 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
912         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
913         instead of test-skeleton.c.
914         (do_test): Replaced pthread_create and pthread_join with
915         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
916         Removed unneeded status variable.
917         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
918         instead of test-skeleton.c.
919         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
921 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
923         [BZ #20313]
924         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
925         201605L, for Unicode 9.
927 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
929         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
930         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
931         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
932         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
933         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
934         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
936 2017-02-19  Zack Weinberg  <zackw@panix.com>
938         * rt/tst-mqueue4.c: Include stdint.h.
940 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
942         * sysdeps/arm/libm-test-ulps: Update.
943         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
944         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
945         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
947 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
949         [BZ #21029]
950         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
951         * sysdeps/unix/sysv/linux/i386/Makefile
952         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
953         (uses-6-syscall-arguments): Remove.
954         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
955         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
956         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
957         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
958         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
959         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
960         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
961         [$(subdir) = misc] (cflags-pselect.o): Likewise.
962         [$(subdir) = misc] (cflags-pselect.os): Likewise.
963         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
964         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
965         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
966         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
967         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
968         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
969         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
970         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
971         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
972         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
973         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
974         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
975         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
976         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
977         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
978         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
979         Likewise.
980         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
981         Likewise.
982         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
983         Likewise.
984         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
985         Likewise.
986         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
987         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
988         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
989         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
990         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
991         ebp on inline assembly.
992         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
993         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
994         Set if CAN_USE_REGISTER_ASM_EBP is set.
996 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
998         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
999         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1001 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1003         * math/auto-libm-test-in: Add tests of catan and catanh.
1004         * math/auto-libm-test-out-catan: New generated file.
1005         * math/auto-libm-test-out-catanh: Likewise.
1006         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1007         Move tests with finite inputs, except divide-by-zero cases, to
1008         auto-libm-test-in.
1009         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1010         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1011         (libm-test-funcs-noauto): Remove catan and catanh.
1012         * sysdeps/i386/fpu/libm-test-ulps: Update.
1013         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1016         * math/auto-libm-test-in: Add tests of casin and casinh.
1017         * math/auto-libm-test-out-casin: New generated file.
1018         * math/auto-libm-test-out-casinh: Likewise.
1019         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1020         Move tests with finite inputs to auto-libm-test-in.
1021         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1022         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1023         (libm-test-funcs-noauto): Remove casin and casinh.
1024         * sysdeps/i386/fpu/libm-test-ulps: Update.
1025         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1028         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1029         * math/auto-libm-test-out-cacos: New generated file.
1030         * math/auto-libm-test-out-cacosh: Likewise.
1031         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1032         Move tests with finite inputs to auto-libm-test-in.
1033         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1034         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1035         (libm-test-funcs-noauto): Remove cacos and cacosh.
1036         * sysdeps/i386/fpu/libm-test-ulps: Update.
1037         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040         Revert:
1041         2017-02-16  Zack Weinberg  <zackw@panix.com>
1043         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1044         Don't include init-arch.h.
1045         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1046         Don't include init-arch.h.
1048 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1050         [BZ #21171]
1051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1052         +Inf and raise divide-by-zero when x is negative.
1053         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1055         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1056         -Inf and raise divide-by-zero when x = +-0.
1057         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1058         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1059         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1060         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1061         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1062         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1063         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1065 2017-02-16  Zack Weinberg  <zackw@panix.com>
1067         * scripts/build-many-glibcs.py (bot_build_mail): If the
1068         bot_config does not contain all of the necessary email-
1069         related settings, just print a warning and continue.
1071 2017-02-16  Zack Weinberg  <zackw@panix.com>
1073         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1074         * dirent/opendir-tst1.c: Include sys/stat.h.
1075         * dirent/tst-fdopendir.c: Include sys/stat.h.
1076         * dirent/tst-fdopendir2.c: Include stdlib.h.
1077         * dirent/tst-scandir.c: Include stdbool.h.
1078         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1079         * elf/tst-tls15.c: Include stdlib.h.
1080         * elf/tst-tls16.c: Include stdlib.h.
1081         * elf/tst-tls17.c: Include stdlib.h.
1082         * elf/tst-tls18.c: Include stdlib.h.
1083         * iconv/tst-iconv6.c: Include endian.h.
1084         * iconvdata/bug-iconv11.c: Include limits.h.
1085         * io/test-utime.c: Include stdint.h.
1086         * io/tst-faccessat.c: Include sys/stat.h.
1087         * io/tst-fchmodat.c: Include sys/stat.h.
1088         * io/tst-fchownat.c: Include sys/stat.h.
1089         * io/tst-fstatat.c: Include sys/stat.h.
1090         * io/tst-futimesat.c: Include sys/stat.h.
1091         * io/tst-linkat.c: Include sys/stat.h.
1092         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1093         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1094         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1095         * io/tst-openat.c: Include stdbool.h.
1096         * io/tst-readlinkat.c: Include sys/stat.h.
1097         * io/tst-renameat.c: Include sys/stat.h.
1098         * io/tst-symlinkat.c: Include sys/stat.h.
1099         * io/tst-unlinkat.c: Include stdbool.h.
1100         * libio/bug-memstream1.c: Include stdlib.h.
1101         * libio/bug-wmemstream1.c: Include stdlib.h.
1102         * libio/tst-fwrite-error.c: Include stdlib.h.
1103         * libio/tst-memstream1.c: Include stdlib.h.
1104         * libio/tst-memstream2.c: Include stdlib.h.
1105         * libio/tst-memstream3.c: Include stdlib.h.
1106         * malloc/tst-interpose-aux.c: Include stdint.h.
1107         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1108         * nptl/tst-basic7.c: Include limits.h.
1109         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1110         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1111         * nptl/tst-cancel4_1.c: Include stddef.h.
1112         * nptl/tst-cancel4_2.c: Include stddef.h.
1113         * nptl/tst-cond16.c: Include limits.h.
1114         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1115         * nptl/tst-cond18.c: Include limits.h.
1116         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1117         * nptl/tst-cond4.c: Include stdint.h.
1118         * nptl/tst-cond6.c: Include stdint.h.
1119         * nptl/tst-stack2.c: Include limits.h.
1120         * nptl/tst-stackguard1.c: Include stddef.h.
1121         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1122         * nptl/tst-tls4moda.c: Include stddef.h.
1123         Don't include stdio.h, unistd.h, or tls.h.
1124         * nptl/tst-tls4modb.c: Include stddef.h.
1125         Don't include stdio.h, unistd.h, or tls.h.
1126         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1127         * posix/tst-getaddrinfo2.c: Include stdio.h.
1128         * posix/tst-getaddrinfo5.c: Include stdio.h.
1129         * posix/tst-pathconf.c: Include sys/stat.h.
1130         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1131         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1132         * posix/tst-regex.c: Include stdint.h.
1133         Don't include spawn.h or spawn_int.h.
1134         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1135         * posix/tst-vfork3.c: Include sys/stat.h.
1136         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1137         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1138         * resolv/tst-resolv-search.c: Include stdlib.h.
1139         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1140         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1141         * stdlib/test-canon.c: Include sys/stat.h.
1142         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1143         * string/test-memchr.c: Include stdint.h.
1144         * string/tst-cmp.c: Include stdint.h.
1145         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1146         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1147         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1148         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1149         Don't include init-arch.h.
1150         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1151         Don't include init-arch.h.
1152         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1153         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1154         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1155         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1156         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1157         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1158         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1159         * time/clocktest.c: Include stdint.h.
1160         * time/tst-posixtz.c: Include stdint.h.
1161         * timezone/tst-timezone.c: Include stdint.h.
1163 2017-02-16  Zack Weinberg  <zackw@panix.com>
1165         * string/string.h [__USE_MISC]: Include strings.h.
1166         (__bzero, bcmp, bcopy, bzero, index, rindex)
1167         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1168         (ffs, ffsl, ffsll): Don't declare.
1169         * string/strings.h: Do not suppress the file if string.h has
1170         already been included.
1171         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1172         annotations.
1173         (index, rindex): Define inline forwarders even if
1174         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1175         (ffs): Use __attribute_const__.
1176         (ffsl, ffsll): Declare here.
1177         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1178         have now been standardized.
1179         * include/string.h (__bzero): Declare here.
1181         * bits/types.h: Move to posix/bits.
1182         * include/bits/types.h: New wrapper.
1184 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1186         * string/bits/string2.h (strcmp): Remove define.
1187         (__strcmp_cg): Likewise.
1188         (strncmp): Likewise.
1190 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1192         * include/string.h: Add __cplusplus check.
1194 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1196         [BZ #21134]
1197         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1198         "divide by zero" exception when the input is zero.
1199         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1200         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1201         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1202         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1203         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1205 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1207         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1208         and include ...
1209         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1211         to, and include ...
1212         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1213         file.
1214         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1215         and include ...
1216         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1217         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1218         and include ...
1219         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1220         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1221         and include ...
1222         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1223         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1224         and include ...
1225         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1226         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1227         to, and include ...
1228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1229         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1230         and include ...
1231         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1233 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1235         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1236         here.
1237         * math/libm-test-support.c (libm_test_init): Do not call
1238         INIT_ARCH_EXT here.
1239         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1240         (main): Call INIT_ARCH_EXT.
1242 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1244         [BZ #21130]
1245         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1246         with the "invalid" exception raised when x is -Inf.
1247         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1249 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1251         * string/bits/string2.h (strchr): Remove define.
1253 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1255         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1256         tst-avx512.
1257         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1258         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1259         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1260         ($(objpfx)tst-sse): New rule.
1261         ($(objpfx)tst-avx): Likewise.
1262         ($(objpfx)tst-avx512): Likewise.
1263         (CFLAGS-tst-avx-aux.c): New.
1264         (CFLAGS-tst-avxmod.c): Likewise.
1265         (CFLAGS-tst-avx512-aux.c): Likewise.
1266         (CFLAGS-tst-avx512mod.c): Likewise.
1267         * sysdeps/x86_64/tst-avx-aux.c: New file.
1268         * sysdeps/x86_64/tst-avx.c: Likewise.
1269         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1270         * sysdeps/x86_64/tst-avx512.c: Likewise.
1271         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1272         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1273         * sysdeps/x86_64/tst-sse.c: Likewise.
1274         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1276 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1278         * math/auto-libm-test-in: Add more tests of csin and csinh.
1279         * math/auto-libm-test-out-csin: Regenerated.
1280         * math/auto-libm-test-out-csinh: Likewise.
1281         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1282         auto-libm-test-in.
1283         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1285 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1287         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1288         libm-compat-calls-auto.
1289         (libm-compat-calls): Likewise.
1290         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1291         w_lgamma_compatF and k_standardF (merged from the items above).
1292         (libm-routines): Use libm-compat-calls, instead of
1293         libm-compat-calls-auto, with type-foreach.
1295 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1297         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1298         macro.
1299         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1300         (CFLAGS-test-ifloat.c): ... this.  Remove
1301         -U__LIBC_INTERNAL_MATH_INLINES.
1302         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1303         (CFLAGS-test-idouble.c): ... this.  Remove
1304         -U__LIBC_INTERNAL_MATH_INLINES.
1305         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1306         (CFLAGS-test-ildouble.c): ... this.  Remove
1307         -U__LIBC_INTERNAL_MATH_INLINES.
1309 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1311         * math/libm-test-support.c: New file.  Content from
1312         math/libm-test-driver.c.
1313         * math/libm-test-support.h: Likewise.
1314         * math/libm-test-support-double.c: New file.
1315         * math/libm-test-support-float.c: Likewise.
1316         * math/libm-test-support-ldouble.c: Likewise.
1317         * math/libm-test-driver.c: Remove main comment and header
1318         includes.  Include libm-test-support.h.
1319         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1320         (flag_test_errno): Remove static.
1321         (flag_test_exceptions): Likewise.
1322         (flag_test_finite): Likewise.
1323         (flag_test_inline): Likewise.
1324         (flag_test_mathvec): Likewise.
1325         (test_msg): Likewise.
1326         (NO_EXCEPTION): Remove.
1327         (INVALID_EXCEPTION): Likewise.
1328         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1329         (OVERFLOW_EXCEPTION): Likewise.
1330         (UNDERFLOW_EXCEPTION): Likewise.
1331         (INEXACT_EXCEPTION): Likewise.
1332         (INVALID_EXCEPTION_OK): Likewise.
1333         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1334         (OVERFLOW_EXCEPTION_OK): Likewise.
1335         (UNDERFLOW_EXCEPTION_OK): Likewise.
1336         (NO_INEXACT_EXCEPTION): Likewise.
1337         (EXCEPTIONS_OK): Likewise.
1338         (IGNORE_ZERO_INF_SIGN): Likewise.
1339         (TEST_NAN_SIGN): Likewise.
1340         (TEST_NAN_PAYLOAD): Likewise.
1341         (NO_TEST_INLINE): Likewise.
1342         (XFAIL_TEST): Likewise.
1343         (ERRNO_UNCHANGED): Likewise.
1344         (ERRNO_EDOM): Likewise.
1345         (ERRNO_ERANGE): Likewise.
1346         (IGNORE_RESULT): Likewise.
1347         (NON_FINITE): Likewise.
1348         (TEST_SNAN): Likewise.
1349         (NO_TEST_MATHVEC): Likewise.
1350         (__CONCATX): Likewise.
1351         (TYPE_MIN): Likewise.
1352         (TYPE_TRUE_MIN): Likewise.
1353         (TYPE_MAX): Likewise.
1354         (MIN_EXP): Likewise.
1355         (MAX_EXP): Likewise.
1356         (MANT_DIG): Likewise.
1357         (FSTR_MAX): Likewise.
1358         (ulp_idx): Likewise.
1359         (qtype_str): Remove static.
1360         (TEST_COND_binary32): Remove.
1361         (TEST_COND_binary64): Likewise.
1362         (TEST_COND_binary128): Likewise.
1363         (TEST_COND_ibm128): Likewise.
1364         (TEST_COND_intel96): Likewise.
1365         (TEST_COND_m68k96): Likewise.
1366         (TEST_COND_ibm128_libgcc): Likewise.
1367         (XFAIL_IBM128_LIBGCC): Likewise.
1368         (PAYLOAD_DIG): Likewise.
1369         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1370         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1371         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1372         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1373         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1374         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1375         (TEST_COND_long32): Likewise.
1376         (TEST_COND_long64): Likewise.
1377         (TEST_COND_before_rounding): Likewise.
1378         (TEST_COND_after_rounding): Likewise.
1379         (ulps_file_name): Likewise.
1380         (ulps_file): Likewise.
1381         (output_ulps): Likewise.
1382         (output_dir): Likewise.
1383         (noErrors): Likewise.
1384         (noTests): Likewise.
1385         (noExcTests): Likewise.
1386         (noErrnoTests): Likewise.
1387         (verbose): Likewise.
1388         (output_max_error): Likewise.
1389         (output_points): Likewise.
1390         (ignore_max_ulp): Likewise.
1391         (max_error): Likewise.
1392         (real_max_error): Likewise.
1393         (imag_max_error): Likewise.
1394         (prev_max_error): Likewise.
1395         (prev_real_max_error): Likewise.
1396         (prev_imag_max_error): Likewise.
1397         (max_valid_error): Likewise.
1398         (TYPE_DECIMAL_DIG): Likewise.
1399         (TYPE_HEX_DIG): Likewise.
1400         (fmt_ftostr): Likewise.
1401         (compare_ulp_data): Likewise.
1402         (find_ulps): Likewise.
1403         (init_max_error): Likewise.
1404         (set_max_error): Likewise.
1405         (print_float): Likewise.
1406         (print_screen): Likewise.
1407         (print_screen_max_error): Likewise.
1408         (update_stats): Likewise.
1409         (print_function_ulps): Likewise.
1410         (print_complex_function_ulps): Likewise.
1411         (fpstack_test): Likewise.
1412         (print_max_error): Likewise.
1413         (print_complex_max_error): Likewise.
1414         (test_single_exception): Likewise.
1415         (test_exceptions): Likewise.
1416         (test_single_errno): Likewise.
1417         (test_errno): Likewise.
1418         (ULPDIFF): Likewise.
1419         (ulp): Likewise.
1420         (check_float_internal): Likewise.
1421         (check_float): Likewise.
1422         (check_complex): Likewise.
1423         (check_int): Likewise.
1424         (check_long): Likewise.
1425         (check_bool): Likewise.
1426         (check_longlong): Likewise.
1427         (check_intmax_t): Likewise.
1428         (check_uintmax_t): Likewise.
1429         (enable_test): Likewise.
1430         (matherr): Likewise.
1431         (initialize): Likewise.
1432         (options): Likewise.
1433         (doc): Remove static.
1434         (argp): Likewise.
1435         (parse_opt): Remove.
1436         (check_ulp): Likewise.
1437         (libm_test_init): Likewise.
1438         (libm_test_finish): Likewise.
1439         * math/Makefile (libm-test-support): New variable.
1440         (test-extras): Add libm-test-support files.
1441         (extra-test-objs): Likewise.
1442         (CFLAGS-libm-test-support-float.c): New variable.
1443         (CFLAGS-libm-test-support-double.c): Likewise.
1444         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1445         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1446         libm-test-support objects.
1448 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1450         * math/Makefile (libm-calls): Move w_exp...
1451         (libm-compat-calls-auto): Here.
1453         * math/w_expl.c: Add suffix "_compat" to filename.
1454         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1455         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1456         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1457         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1458         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1459         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1460         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1463         * math/w_expl_compat.c: New file, copied from above.
1464         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1465         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1466         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1467         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1468         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1469         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1470         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1471         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1473         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1474         to filename.
1475         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1477         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1478         copied from above and adjusted for the new filenames.
1479         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1481 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1483         * math/Makefile (libm-calls): Move w_lgammaF...
1484         (libm-compat-calls-auto): Here.
1486         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1487         * math/w_lgammaf.c: Likewise.
1488         * math/w_lgammal.c: Likewise.
1490         * math/w_lgamma_compat2.c: New file, copied from above.
1491         * math/w_lgammaf_compat2.c: Likewise.
1492         * math/w_lgammal_compat2.c: Likewise.
1494 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1496         * math/Makefile (libm-calls): Move w_lgammaF_r...
1497         (libm-compat-calls-auto): Here.
1499         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1500         * math/w_lgammaf_r.c: Likewise.
1501         * math/w_lgammal_r.c: Likewise.
1502         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1503         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1504         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1506         * math/w_lgamma_r_compat.c: New file, copied from above.
1507         * math/w_lgammaf_r_compat.c: Likewise.
1508         * math/w_lgammal_r_compat.c: Likewise.
1509         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1510         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1511         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1513         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1514         to filename.
1515         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1517         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1518         copied from above and adjusted for the new filenames.
1519         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1521 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1524         calculation in SYSCALL_ERROR_HANDLER().
1526 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1528         * manual/contrib.texi: Fix typo.
1530 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1532         [BZ #21109]
1533         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1534         tunable_val_t as argument.
1535         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1536         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1537         argument.
1538         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1540 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1542         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1543         Add PTRACE_EVENT_STOP.
1544         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1545         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1546         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1547         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1548         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1549         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1551 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1553         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1554         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1555         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1556         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1557         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1558         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1559         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1560         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1561         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1562         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1564         [BZ #21112]
1565         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1566         12 bits zero.
1567         (cp_l): Update for new value of cp_h.
1568         * math/auto-libm-test-in: Add another test of pow.
1569         * math/auto-libm-test-out-pow: Regenerated.
1571 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1573         * manual/contrib.texi: Fix typo.
1575 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1577         [BZ #15998]
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1579         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1582 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1584         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1585         STRCHR as __strchr_power8.
1586         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1587         strlen as __strlen_power8.
1589 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1591         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1592         unaligned load for shorter strings.
1593         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1595 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1597         * math/libm-test-driver.c (flag_test_errno): New variable.
1598         (flag_test_exceptions): Likewise.
1599         (flag_test_finite): Likewise.
1600         (flag_test_inline): Likewise.
1601         (flag_test_mathvec): Likewise.
1602         (test_msg): Likewise.
1603         (ulp_idx): Likewise.
1604         (qtype_str): Likewise.
1605         (ULP_IDX): Remove macro.
1606         (QTYPE_STR): Likewise.
1607         (find_ulps): Use ulp_idx not ULP_IDX.
1608         (print_function_ulps): Use qtype_str, printed with %s, not
1609         QTYPE_STR, printed with concatentation to format string.
1610         (print_complex_function_ulps): Likewise.
1611         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1612         (test_errno): Use flag_test_errno not TEST_ERRNO.
1613         (enable_test): Use flag_test_inline, flag_test_finite and
1614         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1615         TEST_MATHVEC.
1616         (libm_test_init): New function.  Factored out of main.
1617         (libm_test_finish): Likewise.
1618         (main): Call libm_test_init and libm_test_finish and move most
1619         code to those functions.
1621         * math/libm-test-driver.c (STRX): New macro.
1622         (STR): Likewise.
1623         (STR_FLOAT): Likewise.
1624         (STR_VEC_LEN): Likewise.
1625         (TEST_MSG): Likewise.  Define here instead of expecting to be
1626         defined by including file.
1627         * math/test-double-finite.c (TEST_MSG): Remove macro.
1628         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1629         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1630         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1631         * math/test-double.c (TEST_MSG): Likewise.
1632         * math/test-float-finite.c (TEST_MSG): Likewise.
1633         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1634         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1635         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1636         * math/test-float.c (TEST_MSG): Likewise.
1637         * math/test-idouble.c (TEST_MSG): Likewise.
1638         * math/test-ifloat.c (TEST_MSG): Likewise.
1639         * math/test-ildouble.c (TEST_MSG): Likewise.
1640         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1641         * math/test-ldouble.c (TEST_MSG): Likewise.
1643         * math/libm-test.inc: Move all tests of individual functions to
1644         libm-test-*.inc and #include libm-test-*.c files.
1645         (acos_test_data): Remove.
1646         (acos_test): Likewise.
1647         (acosh_test_data): Likewise.
1648         (acosh_test): Likewise.
1649         (asin_test_data): Likewise.
1650         (asin_test): Likewise.
1651         (asinh_test_data): Likewise.
1652         (asinh_test): Likewise.
1653         (atan_test_data): Likewise.
1654         (atan_test): Likewise.
1655         (atanh_test_data): Likewise.
1656         (atanh_test): Likewise.
1657         (atan2_test_data): Likewise.
1658         (atan2_test): Likewise.
1659         (cabs_test_data): Likewise.
1660         (cabs_test): Likewise.
1661         (cacos_test_data): Likewise.
1662         (cacos_test): Likewise.
1663         (cacosh_test_data): Likewise.
1664         (cacosh_test): Likewise.
1665         (canonicalize_test_data): Likewise.
1666         (canonicalize_test): Likewise.
1667         (carg_test_data): Likewise.
1668         (carg_test): Likewise.
1669         (casin_test_data): Likewise.
1670         (casin_test): Likewise.
1671         (casinh_test_data): Likewise.
1672         (casinh_test): Likewise.
1673         (catan_test_data): Likewise.
1674         (catan_test): Likewise.
1675         (catanh_test_data): Likewise.
1676         (catanh_test): Likewise.
1677         (cbrt_test_data): Likewise.
1678         (cbrt_test): Likewise.
1679         (ccos_test_data): Likewise.
1680         (ccos_test): Likewise.
1681         (ccosh_test_data): Likewise.
1682         (ccosh_test): Likewise.
1683         (ceil_test_data): Likewise.
1684         (ceil_test): Likewise.
1685         (cexp_test_data): Likewise.
1686         (cexp_test): Likewise.
1687         (cimag_test_data): Likewise.
1688         (cimag_test): Likewise.
1689         (clog_test_data): Likewise.
1690         (clog_test): Likewise.
1691         (clog10_test_data): Likewise.
1692         (clog10_test): Likewise.
1693         (conj_test_data): Likewise.
1694         (conj_test): Likewise.
1695         (copysign_test_data): Likewise.
1696         (copysign_test): Likewise.
1697         (cos_test_data): Likewise.
1698         (cos_test): Likewise.
1699         (cosh_test_data): Likewise.
1700         (cosh_test): Likewise.
1701         (cpow_test_data): Likewise.
1702         (cpow_test): Likewise.
1703         (cproj_test_data): Likewise.
1704         (cproj_test): Likewise.
1705         (creal_test_data): Likewise.
1706         (creal_test): Likewise.
1707         (csin_test_data): Likewise.
1708         (csin_test): Likewise.
1709         (csinh_test_data): Likewise.
1710         (csinh_test): Likewise.
1711         (csqrt_test_data): Likewise.
1712         (csqrt_test): Likewise.
1713         (ctan_test_data): Likewise.
1714         (ctan_test): Likewise.
1715         (ctanh_test_data): Likewise.
1716         (ctanh_test): Likewise.
1717         (erf_test_data): Likewise.
1718         (erf_test): Likewise.
1719         (erfc_test_data): Likewise.
1720         (erfc_test): Likewise.
1721         (exp_test_data): Likewise.
1722         (exp_test): Likewise.
1723         (exp10_test_data): Likewise.
1724         (exp10_test): Likewise.
1725         (pow10_test): Likewise.
1726         (exp2_test_data): Likewise.
1727         (exp2_test): Likewise.
1728         (expm1_test_data): Likewise.
1729         (expm1_test): Likewise.
1730         (fabs_test_data): Likewise.
1731         (fabs_test): Likewise.
1732         (fdim_test_data): Likewise.
1733         (fdim_test): Likewise.
1734         (floor_test_data): Likewise.
1735         (floor_test): Likewise.
1736         (fma_test_data): Likewise.
1737         (fma_test): Likewise.
1738         (fmax_test_data): Likewise.
1739         (fmax_test): Likewise.
1740         (fmaxmag_test_data): Likewise.
1741         (fmaxmag_test): Likewise.
1742         (fmin_test_data): Likewise.
1743         (fmin_test): Likewise.
1744         (fminmag_test_data): Likewise.
1745         (fminmag_test): Likewise.
1746         (fmod_test_data): Likewise.
1747         (fmod_test): Likewise.
1748         (fpclassify_test_data): Likewise.
1749         (fpclassify_test): Likewise.
1750         (frexp_test_data): Likewise.
1751         (frexp_test): Likewise.
1752         (fromfp_test_data): Likewise.
1753         (fromfp_test): Likewise.
1754         (fromfpx_test_data): Likewise.
1755         (fromfpx_test): Likewise.
1756         (getpayload_test_data): Likewise.
1757         (getpayload_test): Likewise.
1758         (hypot_test_data): Likewise.
1759         (hypot_test): Likewise.
1760         (ilogb_test_data): Likewise.
1761         (ilogb_test): Likewise.
1762         (iscanonical_test_data): Likewise.
1763         (iscanonical_test): Likewise.
1764         (iseqsig_test_data): Likewise.
1765         (iseqsig_test): Likewise.
1766         (isfinite_test_data): Likewise.
1767         (isfinite_test): Likewise.
1768         (finite_test): Likewise.
1769         (isgreater_test_data): Likewise.
1770         (isgreater_test): Likewise.
1771         (isgreaterequal_test_data): Likewise.
1772         (isgreaterequal_test): Likewise.
1773         (isinf_test_data): Likewise.
1774         (isinf_test): Likewise.
1775         (isless_test_data): Likewise.
1776         (isless_test): Likewise.
1777         (islessequal_test_data): Likewise.
1778         (islessequal_test): Likewise.
1779         (islessgreater_test_data): Likewise.
1780         (islessgreater_test): Likewise.
1781         (isnan_test_data): Likewise.
1782         (isnan_test): Likewise.
1783         (isnormal_test_data): Likewise.
1784         (isnormal_test): Likewise.
1785         (issignaling_test_data): Likewise.
1786         (issignaling_test): Likewise.
1787         (issubnormal_test_data): Likewise.
1788         (issubnormal_test): Likewise.
1789         (isunordered_test_data): Likewise.
1790         (isunordered_test): Likewise.
1791         (iszero_test_data): Likewise.
1792         (iszero_test): Likewise.
1793         (j0_test_data): Likewise.
1794         (j0_test): Likewise.
1795         (j1_test_data): Likewise.
1796         (j1_test): Likewise.
1797         (jn_test_data): Likewise.
1798         (jn_test): Likewise.
1799         (lgamma_test_data): Likewise.
1800         (lgamma_test): Likewise.
1801         (gamma_test): Likewise.
1802         (llogb_test_data): Likewise.
1803         (llogb_test): Likewise.
1804         (lrint_test_data): Likewise.
1805         (lrint_test): Likewise.
1806         (llrint_test_data): Likewise.
1807         (llrint_test): Likewise.
1808         (log_test_data): Likewise.
1809         (log_test): Likewise.
1810         (log10_test_data): Likewise.
1811         (log10_test): Likewise.
1812         (log1p_test_data): Likewise.
1813         (log1p_test): Likewise.
1814         (log2_test_data): Likewise.
1815         (log2_test): Likewise.
1816         (logb_test_data): Likewise.
1817         (logb_test): Likewise.
1818         (lround_test_data): Likewise.
1819         (lround_test): Likewise.
1820         (llround_test_data): Likewise.
1821         (llround_test): Likewise.
1822         (modf_test_data): Likewise.
1823         (modf_test): Likewise.
1824         (nearbyint_test_data): Likewise.
1825         (nearbyint_test): Likewise.
1826         (nextafter_test_data): Likewise.
1827         (nextafter_test): Likewise.
1828         (nextup_test_data): Likewise.
1829         (nextup_test): Likewise.
1830         (nextdown_test_data): Likewise.
1831         (nextdown_test): Likewise.
1832         (nexttoward_test_data): Likewise.
1833         (nexttoward_test): Likewise.
1834         (pow_test_data): Likewise.
1835         (pow_test): Likewise.
1836         (remainder_test_data): Likewise.
1837         (remainder_test): Likewise.
1838         (drem_test): Likewise.
1839         (remquo_test_data): Likewise.
1840         (remquo_test): Likewise.
1841         (rint_test_data): Likewise.
1842         (rint_test): Likewise.
1843         (round_test_data): Likewise.
1844         (round_test): Likewise.
1845         (roundeven_test_data): Likewise.
1846         (roundeven_test): Likewise.
1847         (scalb_test_data): Likewise.
1848         (scalb_test): Likewise.
1849         (scalbn_test_data): Likewise.
1850         (scalbn_test): Likewise.
1851         (ldexp_test): Likewise.
1852         (scalbln_test_data): Likewise.
1853         (scalbln_test): Likewise.
1854         (setpayload_test_data): Likewise.
1855         (setpayload_test): Likewise.
1856         (setpayloadsig_test_data): Likewise.
1857         (setpayloadsig_test): Likewise.
1858         (signbit_test_data): Likewise.
1859         (signbit_test): Likewise.
1860         (sin_test_data): Likewise.
1861         (sin_test): Likewise.
1862         (sincos_test_data): Likewise.
1863         (sincos_test): Likewise.
1864         (sinh_test_data): Likewise.
1865         (sinh_test): Likewise.
1866         (sqrt_test_data): Likewise.
1867         (sqrt_test): Likewise.
1868         (tan_test_data): Likewise.
1869         (tan_test): Likewise.
1870         (tanh_test_data): Likewise.
1871         (tanh_test): Likewise.
1872         (tgamma_test_data): Likewise.
1873         (tgamma_test): Likewise.
1874         (totalorder_test_data): Likewise.
1875         (totalorder_test): Likewise.
1876         (totalordermag_test_data): Likewise.
1877         (totalordermag_test): Likewise.
1878         (trunc_test_data): Likewise.
1879         (trunc_test): Likewise.
1880         (ufromfp_test_data): Likewise.
1881         (ufromfp_test): Likewise.
1882         (ufromfpx_test_data): Likewise.
1883         (ufromfpx_test): Likewise.
1884         (y0_test_data): Likewise.
1885         (y0_test): Likewise.
1886         (y1_test_data): Likewise.
1887         (y1_test): Likewise.
1888         (yn_test_data): Likewise.
1889         (yn_test): Likewise.
1890         (significand_test_data): Likewise.
1891         (significand_test): Likewise.
1892         * math/Makefile (auto-libm-test-out-files): Remove variable.
1893         (libm-test-funcs-noauto): New variable.
1894         (libm-test-funcs-all): Likewise.
1895         (libm-test-c-auto): Likewise.
1896         (libm-test-c-noauto): Likewise.
1897         (libm-tests-generated): Add $(libm-test-c-auto) and
1898         $(libm-test-c-noauto).
1899         (generated): Do not add auto-libm-test-out.
1900         (libm-test-c-auto-obj): New variable.
1901         (libm-test-c-noauto-obj): Likewise.
1902         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
1903         ($(libm-test-c-noauto-obj)): New static pattern rule.
1904         ($(libm-test-c-auto-obj)): Likewise.
1905         (libm-test-incs): New variable.
1906         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
1907         and pass it to gen-libm-have-vector-test.sh.
1908         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
1909         be passed on command line.
1910         * math/libm-test-acos.inc: New file.  Content from
1911         math/libm-test.inc.
1912         * math/libm-test-acosh.inc: Likewise.
1913         * math/libm-test-asin.inc: Likewise.
1914         * math/libm-test-asinh.inc: Likewise.
1915         * math/libm-test-atan.inc: Likewise.
1916         * math/libm-test-atan2.inc: Likewise.
1917         * math/libm-test-atanh.inc: Likewise.
1918         * math/libm-test-cabs.inc: Likewise.
1919         * math/libm-test-cacos.inc: Likewise.
1920         * math/libm-test-cacosh.inc: Likewise.
1921         * math/libm-test-canonicalize.inc: Likewise.
1922         * math/libm-test-carg.inc: Likewise.
1923         * math/libm-test-casin.inc: Likewise.
1924         * math/libm-test-casinh.inc: Likewise.
1925         * math/libm-test-catan.inc: Likewise.
1926         * math/libm-test-catanh.inc: Likewise.
1927         * math/libm-test-cbrt.inc: Likewise.
1928         * math/libm-test-ccos.inc: Likewise.
1929         * math/libm-test-ccosh.inc: Likewise.
1930         * math/libm-test-ceil.inc: Likewise.
1931         * math/libm-test-cexp.inc: Likewise.
1932         * math/libm-test-cimag.inc: Likewise.
1933         * math/libm-test-clog.inc: Likewise.
1934         * math/libm-test-clog10.inc: Likewise.
1935         * math/libm-test-conj.inc: Likewise.
1936         * math/libm-test-copysign.inc: Likewise.
1937         * math/libm-test-cos.inc: Likewise.
1938         * math/libm-test-cosh.inc: Likewise.
1939         * math/libm-test-cpow.inc: Likewise.
1940         * math/libm-test-cproj.inc: Likewise.
1941         * math/libm-test-creal.inc: Likewise.
1942         * math/libm-test-csin.inc: Likewise.
1943         * math/libm-test-csinh.inc: Likewise.
1944         * math/libm-test-csqrt.inc: Likewise.
1945         * math/libm-test-ctan.inc: Likewise.
1946         * math/libm-test-ctanh.inc: Likewise.
1947         * math/libm-test-erf.inc: Likewise.
1948         * math/libm-test-erfc.inc: Likewise.
1949         * math/libm-test-exp.inc: Likewise.
1950         * math/libm-test-exp10.inc: Likewise.
1951         * math/libm-test-exp2.inc: Likewise.
1952         * math/libm-test-expm1.inc: Likewise.
1953         * math/libm-test-fabs.inc: Likewise.
1954         * math/libm-test-fdim.inc: Likewise.
1955         * math/libm-test-floor.inc: Likewise.
1956         * math/libm-test-fma.inc: Likewise.
1957         * math/libm-test-fmax.inc: Likewise.
1958         * math/libm-test-fmaxmag.inc: Likewise.
1959         * math/libm-test-fmin.inc: Likewise.
1960         * math/libm-test-fminmag.inc: Likewise.
1961         * math/libm-test-fmod.inc: Likewise.
1962         * math/libm-test-fpclassify.inc: Likewise.
1963         * math/libm-test-frexp.inc: Likewise.
1964         * math/libm-test-fromfp.inc: Likewise.
1965         * math/libm-test-fromfpx.inc: Likewise.
1966         * math/libm-test-getpayload.inc: Likewise.
1967         * math/libm-test-hypot.inc: Likewise.
1968         * math/libm-test-ilogb.inc: Likewise.
1969         * math/libm-test-iscanonical.inc: Likewise.
1970         * math/libm-test-iseqsig.inc: Likewise.
1971         * math/libm-test-isfinite.inc: Likewise.
1972         * math/libm-test-isgreater.inc: Likewise.
1973         * math/libm-test-isgreaterequal.inc: Likewise.
1974         * math/libm-test-isinf.inc: Likewise.
1975         * math/libm-test-isless.inc: Likewise.
1976         * math/libm-test-islessequal.inc: Likewise.
1977         * math/libm-test-islessgreater.inc: Likewise.
1978         * math/libm-test-isnan.inc: Likewise.
1979         * math/libm-test-isnormal.inc: Likewise.
1980         * math/libm-test-issignaling.inc: Likewise.
1981         * math/libm-test-issubnormal.inc: Likewise.
1982         * math/libm-test-isunordered.inc: Likewise.
1983         * math/libm-test-iszero.inc: Likewise.
1984         * math/libm-test-j0.inc: Likewise.
1985         * math/libm-test-j1.inc: Likewise.
1986         * math/libm-test-jn.inc: Likewise.
1987         * math/libm-test-lgamma.inc: Likewise.
1988         * math/libm-test-llogb.inc: Likewise.
1989         * math/libm-test-llrint.inc: Likewise.
1990         * math/libm-test-llround.inc: Likewise.
1991         * math/libm-test-log.inc: Likewise.
1992         * math/libm-test-log10.inc: Likewise.
1993         * math/libm-test-log1p.inc: Likewise.
1994         * math/libm-test-log2.inc: Likewise.
1995         * math/libm-test-logb.inc: Likewise.
1996         * math/libm-test-lrint.inc: Likewise.
1997         * math/libm-test-lround.inc: Likewise.
1998         * math/libm-test-modf.inc: Likewise.
1999         * math/libm-test-nearbyint.inc: Likewise.
2000         * math/libm-test-nextafter.inc: Likewise.
2001         * math/libm-test-nextdown.inc: Likewise.
2002         * math/libm-test-nexttoward.inc: Likewise.
2003         * math/libm-test-nextup.inc: Likewise.
2004         * math/libm-test-pow.inc: Likewise.
2005         * math/libm-test-remainder.inc: Likewise.
2006         * math/libm-test-remquo.inc: Likewise.
2007         * math/libm-test-rint.inc: Likewise.
2008         * math/libm-test-round.inc: Likewise.
2009         * math/libm-test-roundeven.inc: Likewise.
2010         * math/libm-test-scalb.inc: Likewise.
2011         * math/libm-test-scalbln.inc: Likewise.
2012         * math/libm-test-scalbn.inc: Likewise.
2013         * math/libm-test-setpayload.inc: Likewise.
2014         * math/libm-test-setpayloadsig.inc: Likewise.
2015         * math/libm-test-signbit.inc: Likewise.
2016         * math/libm-test-significand.inc: Likewise.
2017         * math/libm-test-sin.inc: Likewise.
2018         * math/libm-test-sincos.inc: Likewise.
2019         * math/libm-test-sinh.inc: Likewise.
2020         * math/libm-test-sqrt.inc: Likewise.
2021         * math/libm-test-tan.inc: Likewise.
2022         * math/libm-test-tanh.inc: Likewise.
2023         * math/libm-test-tgamma.inc: Likewise.
2024         * math/libm-test-totalorder.inc: Likewise.
2025         * math/libm-test-totalordermag.inc: Likewise.
2026         * math/libm-test-trunc.inc: Likewise.
2027         * math/libm-test-ufromfp.inc: Likewise.
2028         * math/libm-test-ufromfpx.inc: Likewise.
2029         * math/libm-test-y0.inc: Likewise.
2030         * math/libm-test-y1.inc: Likewise.
2031         * math/libm-test-yn.inc: Likewise.
2032         * math/README.libm-test: Update.
2034         * math/gen-auto-libm-tests.c: Update comment about use of program.
2035         (generate_output): Add argument FUNCTION.
2036         (main): Require extra argument.  Pass function name to
2037         generate_output.
2038         * math/Makefile (generated): Add auto-libm-test-out.
2039         (libm-test-funcs-auto): New variable.
2040         (auto-libm-test-out-files): New variable.
2041         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2042         Concatenate those files to form $(objpfx)auto-libm-test-out and
2043         use it as input to gen-libm-test.pl.
2044         * math/README.libm-test: Update.
2045         * math/auto-libm-test-out: Remove.
2046         * math/auto-libm-test-out-acos: New generated file.
2047         * math/auto-libm-test-out-acosh: Likewise.
2048         * math/auto-libm-test-out-asin: Likewise.
2049         * math/auto-libm-test-out-asinh: Likewise.
2050         * math/auto-libm-test-out-atan: Likewise.
2051         * math/auto-libm-test-out-atan2: Likewise.
2052         * math/auto-libm-test-out-atanh: Likewise.
2053         * math/auto-libm-test-out-cabs: Likewise.
2054         * math/auto-libm-test-out-carg: Likewise.
2055         * math/auto-libm-test-out-cbrt: Likewise.
2056         * math/auto-libm-test-out-ccos: Likewise.
2057         * math/auto-libm-test-out-ccosh: Likewise.
2058         * math/auto-libm-test-out-cexp: Likewise.
2059         * math/auto-libm-test-out-clog: Likewise.
2060         * math/auto-libm-test-out-clog10: Likewise.
2061         * math/auto-libm-test-out-cos: Likewise.
2062         * math/auto-libm-test-out-cosh: Likewise.
2063         * math/auto-libm-test-out-cpow: Likewise.
2064         * math/auto-libm-test-out-csin: Likewise.
2065         * math/auto-libm-test-out-csinh: Likewise.
2066         * math/auto-libm-test-out-csqrt: Likewise.
2067         * math/auto-libm-test-out-ctan: Likewise.
2068         * math/auto-libm-test-out-ctanh: Likewise.
2069         * math/auto-libm-test-out-erf: Likewise.
2070         * math/auto-libm-test-out-erfc: Likewise.
2071         * math/auto-libm-test-out-exp: Likewise.
2072         * math/auto-libm-test-out-exp10: Likewise.
2073         * math/auto-libm-test-out-exp2: Likewise.
2074         * math/auto-libm-test-out-expm1: Likewise.
2075         * math/auto-libm-test-out-fma: Likewise.
2076         * math/auto-libm-test-out-hypot: Likewise.
2077         * math/auto-libm-test-out-j0: Likewise.
2078         * math/auto-libm-test-out-j1: Likewise.
2079         * math/auto-libm-test-out-jn: Likewise.
2080         * math/auto-libm-test-out-lgamma: Likewise.
2081         * math/auto-libm-test-out-log: Likewise.
2082         * math/auto-libm-test-out-log10: Likewise.
2083         * math/auto-libm-test-out-log1p: Likewise.
2084         * math/auto-libm-test-out-log2: Likewise.
2085         * math/auto-libm-test-out-pow: Likewise.
2086         * math/auto-libm-test-out-sin: Likewise.
2087         * math/auto-libm-test-out-sincos: Likewise.
2088         * math/auto-libm-test-out-sinh: Likewise.
2089         * math/auto-libm-test-out-sqrt: Likewise.
2090         * math/auto-libm-test-out-tan: Likewise.
2091         * math/auto-libm-test-out-tanh: Likewise.
2092         * math/auto-libm-test-out-tgamma: Likewise.
2093         * math/auto-libm-test-out-y0: Likewise.
2094         * math/auto-libm-test-out-y1: Likewise.
2095         * math/auto-libm-test-out-yn: Likewise.
2097         * math/Makefile (generated): Do not include libm-test.stmp.
2098         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2099         on $(objpfx)libm-test.stmp.
2100         ($(objpfx)libm-test.stmp): Remove rule.
2101         ($(objpfx)libm-test-ulps.h): New rule.
2102         ($(objpfx)libm-test.c): Likewise.
2103         ($(objpfx)libm-have-vector-test.h): Likewise.
2104         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2105         individual generated files, not libm-test.stmp.
2107         * math/gen-libm-test.pl ($output_dir): Remove variable.
2108         ($srcdir): Likewise.
2109         ($opt_a): New variable.
2110         ($opt_c): Likewise.
2111         ($opt_C): Likewise.
2112         ($opt_H): Likewise.
2113         (-n): Make option take argument and use it as NewUlps output.
2114         (-a): New option.  Use its argument for auto-libm-test-out input.
2115         (-c): New option.  Use its argument for libm-test.inc input.
2116         (-C): New option.  Use its argument for libm-test.c output.
2117         (-H): New option.  Use its argument for libm-test-ulps.h output.
2118         (top level): Only process inputs needed to generate outputs
2119         specified by command-line options.  Only generate outputs
2120         specified by command-line options.
2121         * math/README.libm-test: Update example gen-libm-test.pl command.
2122         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2123         commands.
2124         (regen-ulps): Likewise.
2126 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2128         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2129         * include/string.h (index): Remove define.
2130         (rindex): Likewise.
2131         * misc/getttyent.c (__getttyent): Rename index to strchr.
2132         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2133         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2135 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2137         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2138         * math/libm-test.inc: Move all contents, other than tests of
2139         individual functions, to libm-test-driver.c.
2140         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2141         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2142         [!FE_UPWARD] (FE_UPWARD): Likewise.
2143         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2144         (NO_EXCEPTION): Likewise.
2145         (INVALID_EXCEPTION): Likewise.
2146         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2147         (OVERFLOW_EXCEPTION): Likewise.
2148         (UNDERFLOW_EXCEPTION): Likewise.
2149         (INEXACT_EXCEPTION): Likewise.
2150         (INVALID_EXCEPTION_OK): Likewise.
2151         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2152         (OVERFLOW_EXCEPTION_OK): Likewise.
2153         (UNDERFLOW_EXCEPTION_OK): Likewise.
2154         (NO_INEXACT_EXCEPTION): Likewise.
2155         (EXCEPTIONS_OK): Likewise.
2156         (IGNORE_ZERO_INF_SIGN): Likewise.
2157         (TEST_NAN_SIGN): Likewise.
2158         (TEST_NAN_PAYLOAD): Likewise.
2159         (NO_TEST_INLINE): Likewise.
2160         (XFAIL_TEST): Likewise.
2161         (ERRNO_UNCHANGED): Likewise.
2162         (ERRNO_EDOM): Likewise.
2163         (ERRNO_ERANGE): Likewise.
2164         (IGNORE_RESULT): Likewise.
2165         (NON_FINITE): Likewise.
2166         (TEST_SNAN): Likewise.
2167         (NO_TEST_MATHVEC): Likewise.
2168         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2169         (__CONCATX): Likewise.
2170         (TYPE_MIN): Likewise.
2171         (TYPE_TRUE_MIN): Likewise.
2172         (TYPE_MAX): Likewise.
2173         (MIN_EXP): Likewise.
2174         (MAX_EXP): Likewise.
2175         (MANT_DIG): Likewise.
2176         (FSTR_MAX): Likewise.
2177         (ULP_IDX): Likewise.
2178         (QTYPE_STR): Likewise.
2179         (TEST_COND_binary32): Likewise.
2180         (TEST_COND_binary64): Likewise.
2181         (TEST_COND_binary128): Likewise.
2182         (TEST_COND_ibm128): Likewise.
2183         (TEST_COND_intel96): Likewise.
2184         (TEST_COND_m68k96): Likewise.
2185         (TEST_COND_ibm128_libgcc): Likewise.
2186         (XFAIL_IBM128_LIBGCC): Likewise.
2187         (PAYLOAD_DIG): Likewise.
2188         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2189         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2190         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2191         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2192         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2193         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2194         (TEST_COND_long32): Likewise.
2195         (TEST_COND_long64): Likewise.
2196         (TEST_COND_before_rounding): Likewise.
2197         (TEST_COND_after_rounding): Likewise.
2198         (lit_pi_3_m_4_d): Likewise.
2199         (lit_pi_3_m_4_ln10_m_d): Likewise.
2200         (lit_pi_2_ln10_m_d): Likewise.
2201         (lit_pi_4_ln10_m_d): Likewise.
2202         (lit_pi_ln10_d): Likewise.
2203         (lit_pi_2_d): Likewise.
2204         (lit_pi_4_d): Likewise.
2205         (lit_pi): Likewise.
2206         (lit_e): Likewise.
2207         (ulps_file_name): Likewise.
2208         (ulps_file): Likewise.
2209         (output_ulps): Likewise.
2210         (output_dir): Likewise.
2211         (noErrors): Likewise.
2212         (noTests): Likewise.
2213         (noExcTests): Likewise.
2214         (noErrnoTests): Likewise.
2215         (verbose): Likewise.
2216         (output_max_error): Likewise.
2217         (output_points): Likewise.
2218         (ignore_max_ulp): Likewise.
2219         (plus_zero): Likewise.
2220         (minus_zero): Likewise.
2221         (plus_infty): Likewise.
2222         (minus_infty): Likewise.
2223         (qnan_value_pl): Likewise.
2224         (qnan_value): Likewise.
2225         (snan_value_pl): Likewise.
2226         (snan_value): Likewise.
2227         (max_value): Likewise.
2228         (min_value): Likewise.
2229         (min_subnorm_value): Likewise.
2230         (snan_value_ld): Likewise.
2231         (max_error): Likewise.
2232         (real_max_error): Likewise.
2233         (imag_max_error): Likewise.
2234         (prev_max_error): Likewise.
2235         (prev_real_max_error): Likewise.
2236         (prev_imag_max_error): Likewise.
2237         (max_valid_error): Likewise.
2238         (TYPE_DECIMAL_DIG): Likewise.
2239         (TYPE_HEX_DIG): Likewise.
2240         (fmt_ftostr): Likewise.
2241         (compare_ulp_data): Likewise.
2242         (find_ulps): Likewise.
2243         (init_max_error): Likewise.
2244         (set_max_error): Likewise.
2245         (print_float): Likewise.
2246         (print_screen): Likewise.
2247         (print_screen_max_error): Likewise.
2248         (update_stats): Likewise.
2249         (print_function_ulps): Likewise.
2250         (print_complex_function_ulps): Likewise.
2251         (fpstack_test): Likewise.
2252         (print_max_error): Likewise.
2253         (print_complex_max_error): Likewise.
2254         (test_single_exception): Likewise.
2255         (test_exceptions): Likewise.
2256         (test_single_errno): Likewise.
2257         (test_errno): Likewise.
2258         (ULPDIFF): Likewise.
2259         (ulp): Likewise.
2260         (check_float_internal): Likewise.
2261         (check_float): Likewise.
2262         (check_complex): Likewise.
2263         (check_int): Likewise.
2264         (check_long): Likewise.
2265         (check_bool): Likewise.
2266         (check_longlong): Likewise.
2267         (check_intmax_t): Likewise.
2268         (check_uintmax_t): Likewise.
2269         (enable_test): Likewise.
2270         (struct test_f_f_data): Likewise.
2271         (struct test_ff_f_data): Likewise.
2272         (struct test_fj_f_data): Likewise.
2273         (struct test_fi_f_data): Likewise.
2274         (struct test_fl_f_data): Likewise.
2275         (struct test_if_f_data): Likewise.
2276         (struct test_fff_f_data): Likewise.
2277         (struct test_fiu_M_data): Likewise.
2278         (struct test_fiu_U_data): Likewise.
2279         (struct test_c_f_data): Likewise.
2280         (struct test_f_f1_data): Likewise.
2281         (struct test_fF_f1_data): Likewise.
2282         (struct test_ffI_f1_data): Likewise.
2283         (struct test_c_c_data): Likewise.
2284         (struct test_cc_c_data): Likewise.
2285         (struct test_f_i_data): Likewise.
2286         (struct test_ff_i_data): Likewise.
2287         (struct test_f_l_data): Likewise.
2288         (struct test_f_L_data): Likewise.
2289         (struct test_fFF_11_data): Likewise.
2290         (struct test_Ff_b1_data): Likewise.
2291         (IF_ROUND_INIT_): Likewise.
2292         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2293         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2294         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2295         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2296         (ROUND_RESTORE_): Likewise.
2297         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2298         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2299         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2300         (ROUND_RESTORE_FE_UPWARD): Likewise.
2301         (RM_): Likewise.
2302         (RM_FE_DOWNWARD): Likewise.
2303         (RM_FE_TONEAREST): Likewise.
2304         (RM_FE_TOWARDZERO): Likewise.
2305         (RM_FE_UPWARD): Likewise.
2306         (COMMON_TEST_SETUP): Likewise.
2307         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2308         (COMMON_TEST_CLEANUP): Likewise.
2309         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2310         (RUN_TEST_f_f): Likewise.
2311         (RUN_TEST_LOOP_f_f): Likewise.
2312         (RUN_TEST_fp_f): Likewise.
2313         (RUN_TEST_LOOP_fp_f): Likewise.
2314         (RUN_TEST_2_f): Likewise.
2315         (RUN_TEST_LOOP_2_f): Likewise.
2316         (RUN_TEST_ff_f): Likewise.
2317         (RUN_TEST_LOOP_ff_f): Likewise.
2318         (RUN_TEST_LOOP_fj_f): Likewise.
2319         (RUN_TEST_fi_f): Likewise.
2320         (RUN_TEST_LOOP_fi_f): Likewise.
2321         (RUN_TEST_fl_f): Likewise.
2322         (RUN_TEST_LOOP_fl_f): Likewise.
2323         (RUN_TEST_if_f): Likewise.
2324         (RUN_TEST_LOOP_if_f): Likewise.
2325         (RUN_TEST_fff_f): Likewise.
2326         (RUN_TEST_LOOP_fff_f): Likewise.
2327         (RUN_TEST_fiu_M): Likewise.
2328         (RUN_TEST_LOOP_fiu_M): Likewise.
2329         (RUN_TEST_fiu_U): Likewise.
2330         (RUN_TEST_LOOP_fiu_U): Likewise.
2331         (RUN_TEST_c_f): Likewise.
2332         (RUN_TEST_LOOP_c_f): Likewise.
2333         (RUN_TEST_f_f1): Likewise.
2334         (RUN_TEST_LOOP_f_f1): Likewise.
2335         (RUN_TEST_fF_f1): Likewise.
2336         (RUN_TEST_LOOP_fF_f1): Likewise.
2337         (RUN_TEST_fI_f1): Likewise.
2338         (RUN_TEST_LOOP_fI_f1): Likewise.
2339         (RUN_TEST_ffI_f1_mod8): Likewise.
2340         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2341         (RUN_TEST_Ff_b1): Likewise.
2342         (RUN_TEST_LOOP_Ff_b1): Likewise.
2343         (RUN_TEST_Ffp_b1): Likewise.
2344         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2345         (RUN_TEST_c_c): Likewise.
2346         (RUN_TEST_LOOP_c_c): Likewise.
2347         (RUN_TEST_cc_c): Likewise.
2348         (RUN_TEST_LOOP_cc_c): Likewise.
2349         (RUN_TEST_f_i): Likewise.
2350         (RUN_TEST_LOOP_f_i): Likewise.
2351         (RUN_TEST_f_i_tg): Likewise.
2352         (RUN_TEST_LOOP_f_i_tg): Likewise.
2353         (RUN_TEST_ff_b): Likewise.
2354         (RUN_TEST_LOOP_ff_b): Likewise.
2355         (RUN_TEST_ff_i_tg): Likewise.
2356         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2357         (RUN_TEST_f_b): Likewise.
2358         (RUN_TEST_LOOP_f_b): Likewise.
2359         (RUN_TEST_f_b_tg): Likewise.
2360         (RUN_TEST_LOOP_f_b_tg): Likewise.
2361         (RUN_TEST_f_l): Likewise.
2362         (RUN_TEST_LOOP_f_l): Likewise.
2363         (RUN_TEST_f_L): Likewise.
2364         (RUN_TEST_LOOP_f_L): Likewise.
2365         (RUN_TEST_fFF_11): Likewise.
2366         (RUN_TEST_LOOP_fFF_11): Likewise.
2367         (VEC_SUFF): Likewise.
2368         (STR_CONCAT): Likewise.
2369         (STR_CON3): Likewise.
2370         (HAVE_VECTOR): Likewise.
2371         (START): Likewise.
2372         (END): Likewise.
2373         (END_COMPLEX): Likewise.
2374         (ALL_RM_TEST): Likewise.
2375         (matherr): Likewise.
2376         (initialize): Likewise.
2377         (options): Likewise.
2378         (doc): Likewise.
2379         (parse_opt): Likewise.
2380         (argp): Likewise.
2381         (check_ulp): Likewise.
2382         (main): Likewise.
2383         (do_test): New function.  Call tests of individual functions
2384         previously called from main.
2386         * math/libm-test.inc: Remove comment listing functions tested and
2387         not tested.
2389 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2391         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2392         (allocate_stack): Remove COLORING_INCREMENT usage.
2393         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2394         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2396 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2398         * manual/libm-err-tab.pl (@all_functions): Change to
2399         %all_functions.  Initialize as empty.
2400         (parse_ulps): Add to %all_functions based on functions found in
2401         ulps files.  Ignore results for non-default rounding modes and
2402         vector functions.
2403         (print_platforms): Use %all_platforms.
2404         * manual/math.texi (Errors in Math Functions): Document omissions
2405         from the table.
2407         * math/Makefile (before-compile): Remove.
2409 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2411         [BZ #21075]
2412         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2413         unused assignment.
2414         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2416 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2418         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2419         Add __glibc_unlikely hint.
2421 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2423         [BZ #16640]
2424         * sysdeps/i386/i686/strtok.S: Remove file.
2425         * sysdeps/i386/i686/strtok_r.S: Likewise.
2426         * sysdeps/i386/strtok.S: Likewise.
2427         * sysdeps/i386/strtok_r.S: Likewise.
2428         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2429         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2430         * sysdeps/x86_64/strtok.S: Likewise.
2431         * sysdeps/x86_64/strtok_r.S: Likewise.
2433         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2434         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2435         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2436         (__ASSUME_FADVISE64_AS_64_64): Define.
2437         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2438         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2439         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2440         __ALIGNMENT_ARG usage.
2441         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2442         __NR_fadvise64_64 if it is not defined.
2444 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2446         * version.h (RELEASE): Set to "development"
2447         (VERSION): Set to 2.25.90.
2448         * NEWS: Add 2.26 section.
2450         * version.h (RELEASE): Set to "stable"
2451         (VERSION): Set to 2.25.
2452         * include/features.h (__GLIBC_MINOR__): Set to 25.
2454         * manual/contrib.texi: Add more contributors from this release
2455         and past releases.
2457         * NEWS (2.25): Add list of bugs fixed.
2459         * NEWS: Add missing news items.
2461 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2463         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2464         parent if child exited in that manner.  Print WEXITSTATUS
2465         instead of the raw status.
2466         (do_test_prep): Rename to do_test.
2467         (do_test): Return the result of run_executable_sgid.
2468         (TEST_FUNCTION_ARGV): Adjust.
2470 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2471             Florian Weimer  <fweimer@redhat.com>
2472             Carlos O'Donell  <carlos@redhat.com>
2474         [BZ #20915]
2475         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2476         Do not initialize DTV.
2477         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2479 2017-02-03  David S. Miller  <davem@davemloft.net>
2481         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2482         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2489         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2490         (libm-sysdep_routines): Update.
2491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2496         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2497         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2498         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2499         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2501         Likewise.
2502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2504         Likewise.
2505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2507         Likewise.
2508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2510         Likewise.
2511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2513         (libm-sysdep_routines): Update.
2515 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2517         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2518         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2519         against unrelocated shared library.
2520         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2522 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2524         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2525         * elf/tst-env-setuid-tunables.c
2526         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2527         GLIBC_TUNABLES is removed in a setgid process.
2529         [BZ #21073]
2530         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2531         * elf/dl-tunables.c (tunables_strdup): Remove.
2532         (get_next_env): Also return the previous envp.
2533         (parse_tunables): Erase tunables of category
2534         TUNABLES_SECLEVEL_SXID_ERASE.
2535         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2536         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2537         (__tunables_init)[TUNABLES_FRONTEND ==
2538         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2539         after parsing.
2540         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2541         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2542         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2543         to security_level.
2544         * elf/dl-tunables.list: Add security_level annotations for all
2545         tunables.
2546         * scripts/gen-tunables.awk: Recognize and generate enum values
2547         for security_level.
2548         * elf/tst-env-setuid.c: New test case.
2549         * elf/tst-env-setuid-tunables: new test case.
2550         * elf/Makefile (tests-static): Add them.
2552 2017-02-01  Richard Henderson  <rth@twiddle.net>
2554         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2555         adjusting the byte count.
2557 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2559         * conform/Makefile (linknamespace-libs): Define.
2561         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2562         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2563         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2564         operands.
2566 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2568         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2570 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2572         [BZ #21081]
2573         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2574         (L(stosb)): Add VZEROUPPER before ret.
2576 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2577             Alexey Makhalov <amakhalov@vmware.com>
2578             Florian Weimer <fweimer@redhat.com>
2580         [BZ #20116]
2581         * nptl/pthread_create.c: Document concurrency notes.
2582         Enhance thread creation notes.
2583         (create_thread): Use bool *stopped_start.
2584         (START_THREAD_DEFN): Comment ownership of PD.
2585         (__pthread_create_2_1): Add local bool stopped_start and use
2586         that instead of pd->stopped_start where appropriate.
2587         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2588         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2589         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2590         * nptl/tst-create-detached.c: New file.
2591         * nptl/Makefile (tests): Add tst-create-detached.
2592         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2593         Reference the enhanced thread creation notes.
2594         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2595         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2596         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2597         (__pthread_current_priority): Likewise.
2598         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2599         xpthread_attr_init, xpthread_attr_setdetachstate, and
2600         xpthread_attr_setstacksize.
2601         * support/xpthread_attr_destroy.c: New file.
2602         * support/xpthread_attr_init.c: New file.
2603         * support/xpthread_attr_setdetachstate.c: New file.
2604         * support/xpthread_attr_setstacksize.c: New file.
2605         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2606         xpthread_attr_init, xpthread_attr_setdetachstate, and
2607         xpthread_attr_setstacksize.
2609 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2611         * nptl/Makefile (tests): Add tst-robust-fork.
2612         * nptl/tst-robust-fork.c: New file.
2613         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2614         xpthread_mutex_consistent, xpthread_mutex_destroy,
2615         xpthread_mutex_init, xpthread_mutexattr_destroy,
2616         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2617         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2618         xpthread_mutexattr_settype.
2619         * support/xmmap.c: New file.
2620         * support/xmunmap.c: Likewise.
2621         * support/xpthread_mutex_consistent.c: Likewise.
2622         * support/xpthread_mutex_destroy.c: Likewise.
2623         * support/xpthread_mutex_init.c: Likewise.
2624         * support/xpthread_mutexattr_destroy.c: Likewise.
2625         * support/xpthread_mutexattr_init.c: Likewise.
2626         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2627         * support/xpthread_mutexattr_setpshared.c: Likewise.
2628         * support/xpthread_mutexattr_setrobust.c: Likewise.
2629         * support/xpthread_mutexattr_settype.c: Likewise.
2630         * support/xthread.h (xpthread_mutexattr_destroy)
2631         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2632         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2633         (xpthread_mutexattr_settype, xpthread_mutex_init)
2634         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2635         * support/xunistd.h (xmmap, xmunmap): Likewise.
2637 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2639         * string/Makefile (xtests): Add comment.
2640         (LOCALES): Add en_GB.UTF-8.
2641         (tst-strcoll-overflow.out): Depend on generated locales.
2642         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2643         (SIZE, TIMEOUT): Update comments.
2644         (do_test): Define as static.  Fail test if setlocale fails.
2645         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2646         messages.
2647         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2648         TIMEOUT at 300 seconds should be enough to run this test
2649         successfully.
2651 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2653         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2654         /* FALLTHRU */ comments.
2656 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2658         [BZ #21053]
2659         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2660         constants instead of the old R* ones.
2661         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2662         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2663         (NGREG): ... to this, to fit in with other architectures.
2664         (gpregset_t): Use new NGREG macro.
2665         [__USE_GNU]: Remove condition; all architectures other than tile
2666         are unconditional.
2667         (R*): Rename to REG_R*.
2669 2017-01-20  DJ Delorie  <dj@redhat.com>
2671         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2672         (tunable_set_val_if_valid_range_signed) ... this, and ...
2673         (tunable_set_val_if_valid_range_unsigned) ... this.
2674         (tunable_initialize): Call the correct one of the above based on type.
2676 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2678         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2679         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2680         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2681         * sysdeps/microblaze/libm-test-ulps: Likewise.
2682         * sysdeps/sh/libm-test-ulps: Likewise.
2684         * math/README.libm-test: Update list of characters for input and
2685         output types.
2687 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2689         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2690         (__lll_unlock_elision): Fix adapt_count decrement.
2692 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2694         * README.pretty-printers (Known issues): Warn about printers not
2695         always covering everything.
2696         * nptl/nptl-printers.py (MutexPrinter): Change output.
2697         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2699 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2701         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2702         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2703         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2704         (__lll_lock_elision): Do not test futex before starting a
2705         transaction.  Use __glibc_likely instead of __builtin_expect.
2706         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2707         (__lll_trylock_elision): Do not test futex before starting a
2708         transaction.  Use __glibc_likely instead of __builtin_expect.
2710 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2712         * po/Makefile (update-translations): New target.
2714 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2716         [BZ #21061]
2717         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
2719 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2721         * elf/dl-tunables (get_next_env): Always advance envp.
2722         * stdlib/tst-empty-env.c: New test case.
2723         * stdlib/Makefile (tests): Use it.
2725 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2727         [BZ #21047]
2728         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
2729         name for instruction.
2730         [!__SOFTFP__] (_FPU_SETCW): Likewise.
2732 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2734         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
2735         for make install.
2737 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2739         * po/bg.po: Merge from Translation Project.
2740         * po/fr.po: Likewise.
2741         * po/ko.po: Likewise.
2742         * po/nl.po: Likewise.
2743         * po/sv.po: Likewise.
2745 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
2747         * manual/install.texi (Tools for Compilation): Update GCC version
2748         known to work to build glibc.
2749         * INSTALL: Regenerated.
2751 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2753         [BZ #21006]
2754         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
2756 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
2758         [BZ #21045]
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2760         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
2761         to __sigprocmask.
2763 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
2765         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
2766         wrap-around.
2767         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
2769         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
2771 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2773         * NEWS: Fix typo.
2775 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2777         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
2778         barriers and comments.
2779         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
2780         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2781         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2783 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2785         [BZ #19402]
2786         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
2787         mutexes.
2789 2016-01-13  Torvald Riegel  <triegel@redhat.com>
2791         [BZ #20985]
2792         * nptl/Makefile: Adapt.
2793         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2794         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2795         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
2796         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
2797         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
2798         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
2799         lll_robust* functions and adapt.
2800         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2801         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
2802         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2803         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2804         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
2805         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2806         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
2807         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
2808         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
2809         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
2810         __lll_robust_timedlock, __lll_robust_unlock): Remove.
2811         * nptl/lowlevelrobustlock.c: Remove file.
2812         * nptl/lowlevelrobustlock.sym: Likewise.
2813         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
2814         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
2816 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2818         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2820 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2822         * po/cs.po: Merge translations from the Translation Project.
2823         * po/de.po: Likewise.
2824         * po/pl.po: Likewise.
2825         * po/ru.po: Likewise.
2826         * po/tr.po: Likewise.
2827         * po/uk.po: Likewise.
2828         * po/vi.po: Likewise.
2829         * po/zh_CN.po: Likewise.
2831 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
2833         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2835         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
2836         object.
2838 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2840         [BZ #16458]
2841         * bits/uintn-identity.h: New file.
2842         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
2843         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
2844         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
2845         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
2846         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
2847         * string/endian.h: Include <bits/uintn-identity.h>.
2848         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
2849         __uint16_identity.
2850         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
2851         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
2852         __uint32_identity.
2853         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
2854         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
2855         __uint64_identity.
2856         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
2857         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
2858         __uint16_identity.
2859         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
2860         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
2861         __uint32_identity.
2862         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
2863         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
2864         __uint64_identity.
2865         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
2866         * string/Makefile (headers): Add bits/uintn-identity.h.
2867         (tests): Add test-endian-types.
2868         * string/test-endian-types.c: New file.
2869         * inet/Makefile (tests): Add test-hnto-types.
2870         * inet/test-hnto-types.c: New file.
2872 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2874         * po/be.po: Update from Translation Project.
2875         * po/bg.po: Likewise.
2876         * po/ca.po: Likewise.
2877         * po/cs.po: Likewise.
2878         * po/da.po: Likewise.
2879         * po/de.po: Likewise.
2880         * po/el.po: Likewise.
2881         * po/eo.po: Likewise.
2882         * po/es.po: Likewise.
2883         * po/fi.po: Likewise.
2884         * po/fr.po: Likewise.
2885         * po/gl.po: Likewise.
2886         * po/hr.po: Likewise.
2887         * po/hu.po: Likewise.
2888         * po/ia.po: Likewise.
2889         * po/id.po: Likewise.
2890         * po/it.po: Likewise.
2891         * po/ja.po: Likewise.
2892         * po/ko.po: Likewise.
2893         * po/lt.po: Likewise.
2894         * po/nb.po: Likewise.
2895         * po/nl.po: Likewise.
2896         * po/pl.po: Likewise.
2897         * po/pt_BR.po: Likewise.
2898         * po/ru.po: Likewise.
2899         * po/rw.po: Likewise.
2900         * po/sk.po: Likewise.
2901         * po/sl.po: Likewise.
2902         * po/sv.po: Likewise.
2903         * po/tr.po: Likewise.
2904         * po/uk.po: Likewise.
2905         * po/vi.po: Likewise.
2906         * po/zh_CN.po: Likewise.
2907         * po/zh_TW.po: Likewise.
2909 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
2911         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
2912         -Wformat-truncation instead of -Wformat-length.
2913         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
2914         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
2915         GCC 7.
2916         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
2917         (do_test): Ignore -Wformat-truncation for GCC 7.
2919         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
2920         buffer used to print long int value.
2922         * elf/sotruss-lib.c (init): Increase space allocated for pid by
2923         one byte.  Print it with %ld, cast to long int.
2925 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2927         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
2928         (re.fullmatch, subprocess.run): Likewise.
2930 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2932         * po/libc.pot: Regenerate.
2934 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2936         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
2937         (min_strlen): Likewise.
2938         (disable_tunable): Likewise.
2939         (maybe_disable_malloc_check): Rename to
2940         maybe_enable_malloc_check.
2941         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
2942         if /etc/suid-debug file exists.
2943         (__tunables_init): Update caller.
2944         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
2945         secure.
2947 2016-01-10  Torvald Riegel  <triegel@redhat.com>
2949         * nptl/DESIGN-rwlock.txt: Remove.
2950         * nptl/lowlevelrwlock.sym: Remove.
2951         * nptl/Makefile: Add new tests.
2952         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
2953         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
2954         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
2955         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
2956         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
2957         PTHREAD_RWLOCK_FUTEX_USED): New.
2958         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
2959         implementation.
2960         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
2961         (__pthread_rwlock_rdlock): Adapt.
2962         * nptl/pthread_rwlock_timedrdlock.c
2963         (pthread_rwlock_timedrdlock): Adapt.
2964         * nptl/pthread_rwlock_timedwrlock.c
2965         (pthread_rwlock_timedwrlock): Adapt.
2966         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
2967         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
2968         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
2969         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
2970         (__pthread_rwlock_wrlock): Adapt.
2971         * nptl/tst-rwlock10.c: Adapt.
2972         * nptl/tst-rwlock11.c: Adapt.
2973         * nptl/tst-rwlock17.c: New file.
2974         * nptl/tst-rwlock18.c: New file.
2975         * nptl/tst-rwlock19.c: New file.
2976         * nptl/tst-rwlock2b.c: New file.
2977         * nptl/tst-rwlock8.c: Adapt.
2978         * nptl/tst-rwlock9.c: Adapt.
2979         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2980         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2981         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2982         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2983         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2984         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2985         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2986         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2987         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2988         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2989         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2990         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2991         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
2992         (pthread_rwlock_t): Adapt.
2993         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2994         (pthread_rwlock_t): Adapt.
2995         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
2996         * nptl/nptl-printers.py (): Adapt.
2997         * nptl/nptl_lock_constants.pysym: Adapt.
2998         * nptl/test-rwlock-printers.py: Adapt.
2999         * nptl/test-rwlockattr-printers.c: Adapt.
3000         * nptl/test-rwlockattr-printers.py: Adapt.
3002 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3004         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3005         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3006         (fma_test_data): Likewise.
3007         (hypot_test_data): Likewise.
3008         (log1p_test_data): Likewise.
3009         (modf_test_data): Likewise.
3010         (pow_test_data): Likewise.
3011         (remainder_test_data): Likewise.
3012         (remquo_test_data): Likewise.
3013         (scalb_test_data): Likewise.
3014         (scalbn_test_data): Likewise.
3015         (scalbln_test_data): Likewise.
3016         * math/gen-libm-test.pl (parse_args): Transform
3017         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3018         on the rounding mode.
3020 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3022         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3023         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3024         and those that can underflow to zero.
3025         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3026         add others.
3027         * math/auto-libm-test-out: Regenerated.
3029         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3030         supported.
3031         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3032         modes support if not supported.
3034         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3035         Add libc.so PLT entry.
3036         (__tls_get_addr): Make ld.so PLT entry optional.
3038 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3040         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3041         * string/bits/string3.h: ... here.
3043 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3045         [BZ #21028]
3046         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3047         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3048         if EXCEPTION_TESTS returns false.
3050 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3052         [BZ #20558]
3053         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3054         strings_fortified.h.
3055         [__USE_MISC] (bzero): Likewise.
3056         [__USE_MISC] (explicit_bzero): Likewise.
3057         * string/strings.h: Include strings_fortified.h.
3058         * string/Makefile (headers): Add strings_fortified.h.
3059         * string/bits/strings_fortified.h: New file.
3060         * include/bits/strings_fortified.h: Likewise.
3062 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3064         * elf/tst-tls13.c (TIMEOUT): Remove.
3065         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3066         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3067         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3068         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3069         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3071         [BZ #21026]
3072         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3073         (readahead): New syscall entry.
3075 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3077         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3078         around tests of strncat with large sizes.
3080         * malloc/tst-malloc.c: Include <libc-internal.h>.
3081         (do_test): Disable -Walloc-size-larger-than= around tests of
3082         malloc with negative sizes.
3083         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3084         (do_test): Disable -Walloc-size-larger-than= around tests of
3085         malloc and realloc with negative sizes.
3086         * malloc/tst-realloc.c: Include <libc-internal.h>.
3087         (do_test): Disable -Walloc-size-larger-than= around tests of
3088         realloc with negative sizes.
3090         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3091         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3092         allowed to 16 ulps.
3093         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3094         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3095         * math/auto-libm-test-out: Regenerated.
3097 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3099         * math/Makefile (libm-calls): Move wrappers...
3100         (libm-compat-call-auto): Here.
3101         (libm-routines): Add items in libm-compat-calls-auto.
3102         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3103         the filenames of the wrappers that have been renamed.
3104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3107         * math/w_acos.c: Add _compat suffix to filename.
3108         * math/w_acosf.c: Likewise.
3109         * math/w_acosh.c: Likewise.
3110         * math/w_acoshf.c: Likewise.
3111         * math/w_acoshl.c: Likewise.
3112         * math/w_acosl.c: Likewise.
3113         * math/w_asin.c: Likewise.
3114         * math/w_asinf.c: Likewise.
3115         * math/w_asinl.c: Likewise.
3116         * math/w_atan2.c: Likewise.
3117         * math/w_atan2f.c: Likewise.
3118         * math/w_atan2l.c: Likewise.
3119         * math/w_atanh.c: Likewise.
3120         * math/w_atanhf.c: Likewise.
3121         * math/w_atanhl.c: Likewise.
3122         * math/w_cosh.c: Likewise.
3123         * math/w_coshf.c: Likewise.
3124         * math/w_coshl.c: Likewise.
3125         * math/w_exp10.c: Likewise.
3126         * math/w_exp10f.c: Likewise.
3127         * math/w_exp10l.c: Likewise.
3128         * math/w_exp2.c: Likewise.
3129         * math/w_exp2f.c: Likewise.
3130         * math/w_exp2l.c: Likewise.
3131         * math/w_fmod.c: Likewise.
3132         * math/w_fmodf.c: Likewise.
3133         * math/w_fmodl.c: Likewise.
3134         * math/w_hypot.c: Likewise.
3135         * math/w_hypotf.c: Likewise.
3136         * math/w_hypotl.c: Likewise.
3137         * math/w_j0.c: Likewise.
3138         * math/w_j0f.c: Likewise.
3139         * math/w_j0l.c: Likewise.
3140         * math/w_j1.c: Likewise.
3141         * math/w_j1f.c: Likewise.
3142         * math/w_j1l.c: Likewise.
3143         * math/w_jn.c: Likewise.
3144         * math/w_jnf.c: Likewise.
3145         * math/w_jnl.c: Likewise.
3146         * math/w_log10.c: Likewise.
3147         * math/w_log10f.c: Likewise.
3148         * math/w_log10l.c: Likewise.
3149         * math/w_log2.c: Likewise.
3150         * math/w_log2f.c: Likewise.
3151         * math/w_log2l.c: Likewise.
3152         * math/w_log.c: Likewise.
3153         * math/w_logf.c: Likewise.
3154         * math/w_logl.c: Likewise.
3155         * math/w_pow.c: Likewise.
3156         * math/w_powf.c: Likewise.
3157         * math/w_powl.c: Likewise.
3158         * math/w_remainder.c: Likewise.
3159         * math/w_remainderf.c: Likewise.
3160         * math/w_remainderl.c: Likewise.
3161         * math/w_scalb.c: Likewise.
3162         * math/w_scalbf.c: Likewise.
3163         * math/w_scalbl.c: Likewise.
3164         * math/w_sinh.c: Likewise.
3165         * math/w_sinhf.c: Likewise.
3166         * math/w_sinhl.c: Likewise.
3167         * math/w_sqrt.c: Likewise.
3168         * math/w_sqrtf.c: Likewise.
3169         * math/w_sqrtl.c: Likewise.
3170         * math/w_tgamma.c: Likewise.
3171         * math/w_tgammaf.c: Likewise.
3172         * math/w_tgammal.c: Likewise.
3174         * math/w_acos_compat.c: New file copied from above and
3175         adjusted for new #includes path
3176         * math/w_acosf_compat.c: Likewise.
3177         * math/w_acosh_compat.c: Likewise.
3178         * math/w_acoshf_compat.c: Likewise.
3179         * math/w_acoshl_compat.c: Likewise.
3180         * math/w_acosl_compat.c: Likewise.
3181         * math/w_asin_compat.c: Likewise.
3182         * math/w_asinf_compat.c: Likewise.
3183         * math/w_asinl_compat.c: Likewise.
3184         * math/w_atan2_compat.c: Likewise.
3185         * math/w_atan2f_compat.c: Likewise.
3186         * math/w_atan2l_compat.c: Likewise.
3187         * math/w_atanh_compat.c: Likewise.
3188         * math/w_atanhf_compat.c: Likewise.
3189         * math/w_atanhl_compat.c: Likewise.
3190         * math/w_cosh_compat.c: Likewise.
3191         * math/w_coshf_compat.c: Likewise.
3192         * math/w_coshl_compat.c: Likewise.
3193         * math/w_exp10_compat.c: Likewise.
3194         * math/w_exp10f_compat.c: Likewise.
3195         * math/w_exp10l_compat.c: Likewise.
3196         * math/w_exp2_compat.c: Likewise.
3197         * math/w_exp2f_compat.c: Likewise.
3198         * math/w_exp2l_compat.c: Likewise.
3199         * math/w_fmod_compat.c: Likewise.
3200         * math/w_fmodf_compat.c: Likewise.
3201         * math/w_fmodl_compat.c: Likewise.
3202         * math/w_hypot_compat.c: Likewise.
3203         * math/w_hypotf_compat.c: Likewise.
3204         * math/w_hypotl_compat.c: Likewise.
3205         * math/w_j0_compat.c: Likewise.
3206         * math/w_j0f_compat.c: Likewise.
3207         * math/w_j0l_compat.c: Likewise.
3208         * math/w_j1_compat.c: Likewise.
3209         * math/w_j1f_compat.c: Likewise.
3210         * math/w_j1l_compat.c: Likewise.
3211         * math/w_jn_compat.c: Likewise.
3212         * math/w_jnf_compat.c: Likewise.
3213         * math/w_jnl_compat.c: Likewise.
3214         * math/w_log10_compat.c: Likewise.
3215         * math/w_log10f_compat.c: Likewise.
3216         * math/w_log10l_compat.c: Likewise.
3217         * math/w_log2_compat.c: Likewise.
3218         * math/w_log2f_compat.c: Likewise.
3219         * math/w_log2l_compat.c: Likewise.
3220         * math/w_log_compat.c: Likewise.
3221         * math/w_logf_compat.c: Likewise.
3222         * math/w_logl_compat.c: Likewise.
3223         * math/w_pow_compat.c: Likewise.
3224         * math/w_powf_compat.c: Likewise.
3225         * math/w_powl_compat.c: Likewise.
3226         * math/w_remainder_compat.c: Likewise.
3227         * math/w_remainderf_compat.c: Likewise.
3228         * math/w_remainderl_compat.c: Likewise.
3229         * math/w_scalb_compat.c: Likewise.
3230         * math/w_scalbf_compat.c: Likewise.
3231         * math/w_scalbl_compat.c: Likewise.
3232         * math/w_sinh_compat.c: Likewise.
3233         * math/w_sinhf_compat.c: Likewise.
3234         * math/w_sinhl_compat.c: Likewise.
3235         * math/w_sqrt_compat.c: Likewise.
3236         * math/w_sqrtf_compat.c: Likewise.
3237         * math/w_sqrtl_compat.c: Likewise.
3238         * math/w_tgamma_compat.c: Likewise.
3239         * math/w_tgammaf_compat.c: Likewise.
3240         * math/w_tgammal_compat.c: Likewise.
3242         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3243         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3244         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3245         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3246         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3247         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3248         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3249         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3250         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3251         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3252         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3253         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3254         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3255         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3256         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3257         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3258         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3259         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3260         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3261         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3262         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3263         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3264         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3265         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3266         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3267         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3268         * sysdeps/ia64/fpu/w_log.c: Likewise.
3269         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3270         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3271         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3272         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3273         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3274         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3275         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3276         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3277         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3278         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3279         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3280         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3281         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3282         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3283         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3284         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3285         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3286         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3287         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3288         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3289         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3290         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3291         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3292         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3293         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3294         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3295         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3296         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3297         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3298         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3299         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3300         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3301         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3302         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3303         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3304         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3305         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3306         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3307         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3308         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3309         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3310         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3311         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3312         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3313         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3314         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3315         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3316         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3317         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3318         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3319         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3320         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3321         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3322         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3323         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3324         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3325         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3326         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3327         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3328         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3329         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3331         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3333         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3334         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3335         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3337         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3338         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3339         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3340         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3341         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3343         Likewise.
3344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3345         Likewise.
3346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3348         Likewise.
3349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3350         Likewise.
3351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3352         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3354         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3355         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3356         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3357         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3364         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3365         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3367         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3368         and adjusted for new #includes path
3369         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3370         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3371         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3372         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3373         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3374         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3375         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3376         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3377         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3378         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3379         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3380         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3381         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3382         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3383         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3384         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3385         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3386         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3387         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3388         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3389         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3390         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3391         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3392         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3393         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3394         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3395         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3396         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3397         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3398         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3399         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3400         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3401         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3402         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3403         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3404         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3405         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3406         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3407         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3408         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3409         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3410         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3411         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3412         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3413         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3414         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3415         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3416         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3417         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3418         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3419         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3420         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3421         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3422         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3423         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3424         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3425         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3426         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3427         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3428         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3429         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3430         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3431         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3432         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3433         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3434         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3435         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3436         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3437         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3438         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3439         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3440         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3441         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3442         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3443         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3444         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3445         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3446         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3447         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3448         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3449         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3450         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3451         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3452         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3453         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3454         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3455         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3456         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3457         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3458         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3459         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3460         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3461         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3462         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3463         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3464         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3465         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3466         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3467         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3469         Likewise.
3470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3471         Likewise.
3472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3473         Likewise.
3474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3475         Likewise.
3476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3477         Likewise.
3478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3479         Likewise.
3480         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3481         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3482         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3483         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3484         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3485         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3487         Likewise.
3488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3489         Likewise.
3490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3491         Likewise.
3492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3493         Likewise.
3494         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3495         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3496         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3497         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3499 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3501         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3502         __jmp_buf_internal_tag.
3504         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3505         preserve NaN payload if [__mips_nan2008].
3506         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3508         [BZ #21022]
3509         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3511 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3513         * sysdeps/i386/fpu/libm-test-ulps: Update.
3515 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3517         * sysdeps/ia64/strcat.c: Remove file.
3518         * sysdeps/powerpc/strcat.c: Likewise.
3519         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3520         C implementation.
3521         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3522         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3524 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3525             Steven Munroe  <sjmunroe@us.ibm.com>
3526             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3528         [BZ #20822]
3529         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3530         (__lll_lock_elision): Access adapt_count via C11 atomics.
3531         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3532         (__lll_trylock_elision): Likewise.
3533         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3534         (__lll_unlock_elision):  Update adapt_count variable inside the
3535         critical section using C11 atomics.
3537 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3539         * math/test-fenvinline.c (do_test): Disable tests of raised
3540         exceptions if !EXCEPTION_TESTS (FLOAT).
3542 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3544         [BZ #19390]
3545         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3546         maximum string size.
3547         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3548         in pointer addition.
3549         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3550         Likewise.
3552 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3554         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3555         passed to tst-ldconfig-X.sh.
3557 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3559         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3561 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3563         [BZ #21019]
3564         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3565         New syscall entry.
3566         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3567         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3568         lseek.
3570         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3571         power4 glibc for powerpc-linux-gnu.
3573 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3575         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3576         semctl.
3578 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3580         * math/test-nearbyint-except.c: Include <stdbool.h>.
3581         (any_supported): New variable.
3582         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3583         set any_supported.
3584         (do_test): Return 77 if no floating-point type supported
3585         exceptions.
3587         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3588         condition on [__mips_hard_float].
3590 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3592         [BZ #21014]
3593         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3594         in pointer addition.
3595         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3597 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3599         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3600         new condvar.
3602 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3604         * scripts/build-many-glibcs.py (Context.checkout): Default
3605         binutils version to 2.28 branch.
3607 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3609         * support/support_format_netent.c (support_format_netent): Work
3610         around alpha struct netent definition difference.
3612 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3614         * support/xwrite.c (xwrite): Use %td for pointer difference.
3616 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3618         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3619         have-tunables only.
3620         (tests-static): Add tst-malloc-usable-static-tunables for
3621         have-tunables only.
3623 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3625         * scripts/config.guess: Update to version 2017-01-01.
3626         * scripts/config.sub: Update to version 2017-01-01.
3628         * NEWS: Update copyright dates.
3629         * catgets/gencat.c (print_version): Likewise.
3630         * csu/version.c (banner): Likewise.
3631         * debug/catchsegv.sh: Likewise.
3632         * debug/pcprofiledump.c (print_version): Likewise.
3633         * debug/xtrace.sh (do_version): Likewise.
3634         * elf/ldconfig.c (print_version): Likewise.
3635         * elf/ldd.bash.in: Likewise.
3636         * elf/pldd.c (print_version): Likewise.
3637         * elf/sotruss.sh: Likewise.
3638         * elf/sprof.c (print_version): Likewise.
3639         * iconv/iconv_prog.c (print_version): Likewise.
3640         * iconv/iconvconfig.c (print_version): Likewise.
3641         * locale/programs/locale.c (print_version): Likewise.
3642         * locale/programs/localedef.c (print_version): Likewise.
3643         * login/programs/pt_chown.c (print_version): Likewise.
3644         * malloc/memusage.sh (do_version): Likewise.
3645         * malloc/memusagestat.c (print_version): Likewise.
3646         * malloc/mtrace.pl: Likewise.
3647         * manual/libc.texinfo: Likewise.
3648         * nptl/version.c (banner): Likewise.
3649         * nscd/nscd.c (print_version): Likewise.
3650         * nss/getent.c (print_version): Likewise.
3651         * nss/makedb.c (print_version): Likewise.
3652         * posix/getconf.c (main): Likewise.
3653         * scripts/test-installation.pl: Likewise.
3654         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3656         * All files with FSF copyright notices: Update copyright dates
3657         using scripts/update-copyrights.
3658         * intl/plural.c: Regenerated.
3659         * locale/programs/charmap-kw.h: Likewise.
3660         * locale/programs/locfile-kw.h: Likewise.
3662 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3664         [BZ #20593]
3665         Update DNS RR type definitions.
3666         * scripts/gen-rrtypes.py: New file.
3667         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3668         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3669         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3670         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3671         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3672         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3673         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3674         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3675         ns_t_ta, ns_t_dlv.
3676         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3677         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3678         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3679         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3680         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3681         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3682         Define.
3683         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3684         entry for ns_t_zxfr.
3686 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3688         [BZ #18784]
3689         CVE-2015-5180
3690         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3691         T_UNSPEC.  Adjust value.
3692         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3693         * resolv/res_query.c (__libc_res_nquery): Likewise.
3694         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3695         QTYPEs.
3696         * resolv/tst-resolv-qtypes.c: New file.
3697         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3698         (tst-resolv-qtypes): Link against libresolv and libpthread.
3700 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3702         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3704 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3706         * manual/tunables.texi: New chapter.
3707         * manual/Makefile (chapters): Add it.
3708         * manual/probes.texi (@node): Point to the Tunables chapter.
3710         * Makeconfig (have-tunables): Check for non-negative instead
3711         of positive.
3712         * configure.ac: Add 'valstring' as a valid value for
3713         --enable-tunables.
3714         * configure: Regenerate.
3715         * elf/Makefile (have-tunables): Check for non-negative instead
3716         of positive.
3717         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3718         dl-tunables.c.
3719         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
3720         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3721         (tunables_strdup): Likewise.
3722         (disable_tunables): Likewise.
3723         (parse_tunables): Likewise.
3724         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
3725         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
3726         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
3727         (TUNABLES_FRONTEND_yes): New macro, define as
3728         TUNABLES_FRONTEND_valstring by default.
3729         * manual/install.texi: Document new acceptable values for
3730         --enable-tunables.
3731         * INSTALL: Regenerate.
3733         * config.make.in (have-loop-to-function): Define.
3734         * elf/Makefile (CFLAGS-dl-tunables.c): Add
3735         -fno-tree-loop-distribute-patterns.
3736         * elf/dl-tunables.c: Include libc-internals.h.
3737         (GLIBC_TUNABLES): New macro.
3738         (tunables_strdup): New function.
3739         (parse_tunables): New function.
3740         (min_strlen): New function.
3741         (__tunables_init): Use the new functions and macro.
3742         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
3743         * malloc/tst-malloc-usable-tunables.c: New test case.
3744         * malloc/tst-malloc-usable-static-tunables.c: New test case.
3745         * malloc/Makefile (tests, tests-static): Add tests.
3747         * manual/install.texi: Add --enable-tunables option.
3748         * INSTALL: Regenerate.
3749         * README.tunables: New file.
3750         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
3751         (before-compile): Generate dl-tunable-list.h early.
3752         * config.h.in: Add HAVE_TUNABLES.
3753         * config.make.in: Add have-tunables.
3754         * configure.ac: Add --enable-tunables option.
3755         * configure: Regenerate.
3756         * csu/init-first.c (__libc_init_first): Move
3757         __libc_init_secure earlier...
3758         * csu/init-first.c (LIBC_START_MAIN):... to here.
3759         Include dl-tunables.h, libc-internal.h.
3760         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
3761         binaries.
3762         * elf/Makefile (dl-routines): Add dl-tunables.
3763         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
3764         namespace.
3765         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
3766         only when !HAVE_TUNABLES.
3767         * elf/rtld.c (process_envvars): Likewise.
3768         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
3769         (_dl_sysdep_start): Call __tunables_init.
3770         * elf/dl-tunable-types.h: New file.
3771         * elf/dl-tunables.c: New file.
3772         * elf/dl-tunables.h: New file.
3773         * elf/dl-tunables.list: New file.
3774         * malloc/tst-malloc-usable-static.c: New test case.
3775         * malloc/Makefile (tests-static): Add it.
3776         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
3777         Define TUNABLE_NAMESPACE.
3778         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
3779         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
3780         callback functions.
3781         (ptmalloc_init): Set tunable values.
3782         * scripts/gen-tunables.awk: New file.
3783         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
3784         (_dl_sysdep_start): Call __tunables_init.
3786 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3788         * resolv/resolv.h (RES_BLAST): Deprecate.
3789         * resolv/res_debug.c (p_option): Remove RES_BLAST.
3790         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
3791         to RES_BLAST.
3793 2016-12-27  Florian Weimer  <fweimer@redhat.com>
3795         [BZ #19582]
3796         Deprecate RES_USE_INET6.
3797         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
3798         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
3799         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
3800         RES_USE_INET6.
3801         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
3802         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
3803         (_nss_nisplus_gethostbyaddr_r): Likewise.
3804         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
3805         of res_use_inet6.
3806         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
3807         instead of RES_USE_INET6.
3808         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
3809         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
3810         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
3811         Likewise.
3812         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
3813         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
3814         Likewise.
3815         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
3816         (_nss_dns_gethostbyname_r): Likewise.
3817         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
3818         alternate RES_USE_INET6 handling.
3819         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
3820         instead of RES_USE_INET6.
3821         * resolv/res_init.c (res_setoptions): Likewise.
3822         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
3823         * resolv/resolv-internal.h: New file.
3824         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
3825         make the deprecation warning non-fatal.
3826         * resolv/README (Using the resolver in multi-threaded code): Drop
3827         reference to RES_USE_INET6.
3828         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
3829         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
3831 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3833         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
3834         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
3835         tst-resolv-search.
3836         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
3837         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
3838         with libresolv and libpthread.
3839         * resolv/tst-bug18665.c: New file.
3840         * resolv/tst-bug18665-tcp: Likewise.
3841         * resolv/tst-res_use_inet6: Likewise.
3842         * resolv/tst-resolv-basic: Likewise.
3843         * resolv/tst-resolv-network: Likewise.
3844         * resolv/tst-resolv-search: Likewise.
3845         * support/Makefile (libsupport-routines): Add check_addrinfo,
3846         check_dns_packet, check_hostent, check_netent, resolv_test,
3847         support_format_address_family, support_format_addrinfo,
3848         support_format_dns_packet, support_format_herrno,
3849         support_format_hostent, support_format_netent, support_run_diff,
3850         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
3851         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
3852         xstrdup, xwrite.
3853         * support/check_addrinfo.c: New file.
3854         * support/check_dns_packet.c: Likewise.
3855         * support/check_hostent.c: Likewise.
3856         * support/check_netent.c: Likewise.
3857         * support/check_nss.h: Likewise.
3858         * support/format_nss.h: Likewise.
3859         * support/resolv_test.c: Likewise.
3860         * support/resolv_test.h: Likewise.
3861         * support/run_diff.h: Likewise.
3862         * support/support_format_address_family.c: Likewise.
3863         * support/support_format_addrinfo.c: Likewise.
3864         * support/support_format_dns_packet.c: Likewise.
3865         * support/support_format_herrno.c: Likewise.
3866         * support/support_format_hostent.c: Likewise.
3867         * support/support_format_netent.c: Likewise.
3868         * support/support_run_diff.c: Likewise.
3869         * support/xaccept.c: Likewise.
3870         * support/xbind.c: Likewise.
3871         * support/xconnect.c: Likewise.
3872         * support/xfclose.c: Likewise.
3873         * support/xfopen.c: Likewise.
3874         * support/xgetsockname.c: Likewise.
3875         * support/xlisten.c: Likewise.
3876         * support/xmemstream.c: Likewise.
3877         * support/xmemstream.h: Likewise.
3878         * support/xpoll.c: Likewise.
3879         * support/xpthread_once.c: Likewise.
3880         * support/xrecvfrom.c: Likewise.
3881         * support/xsendto.c: Likewise.
3882         * support/xsetsockopt.c: Likewise.
3883         * support/xstdio.h: Likewise.
3884         * support/xstrdup.c: Likewise.
3885         * support/support.h (xstrdup): Declare.
3886         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
3887         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
3888         * support/xthread.h (xpthread_once): Likwise.
3889         * support/xunistd.h (xwrite): Declare.
3891 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3893         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
3894         (test_verbose): Declare.
3895         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
3896         * support/support_test_main.c (default_options): Likewise.
3897         (usage, support_test_main): Handle 'v'.
3898         (test_verbose): Define.
3899         * support/tst-support_record_failure.c (do_test): Use
3900         test_verbose.
3901         * support/tst-support_record_failure-2.sh (different_status): Add
3902         --verbose test.
3904 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3906         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
3907         test failures are recorded.
3908         * support/check.c (support_print_failure_impl): Call
3909         support_record_failure.
3910         (support_exit_failure_impl): Call support_record_failure if status
3911         indicates failure.
3912         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
3913         * support/xasprintf.c (xasprintf): Likewise.
3914         * support/xfork.c (xfork): Likewise.
3915         * support/xpthread_check_return.c (xpthread_check_return):
3916         Likewise.
3917         * support/xsocket.c (xsocket): Likeweise.
3918         * support/xwaitpid.c (xwaitpid): Likewise.
3919         * support/support_record_failure.c (struct test_failures): Adjust
3920         to coding style.
3921         * support/support_test_verify_impl.c (support_test_verify_impl):
3922         Adjust error messages.
3923         * support/tst-support_record_failure-2.sh (different_status):
3924         Adjust error messages.
3926 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3928         * support/namespace.h: New file.
3929         * support/support_become_root.c: Likewise.
3930         * support/support_enter_network_namespace.c: Likewise.
3931         * support/tst-support-namespace.c: Likewise.
3932         * support/xsocket.c: Likewise.
3933         * support/xsocket.h: Likewise.
3934         * support/Makefile (libsupport-routines): Add support_become_root,
3935         support_enter_network_namespace, xsocket.
3936         (tests): Add tst-support-namespace.
3938 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3940         [BZ #17252]
3941         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
3942         __USE_GNU.
3944 2016-12-31  Torvald Riegel  <triegel@redhat.com>
3946         [BZ #13165]
3947         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
3948         use new algorithm.
3949         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3950         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3951         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3952         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3953         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
3954         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
3955         __condvar_cleanup_waiting, __condvar_dec_grefs,
3956         __pthread_cond_wait_common): New.
3957         (__condvar_cleanup): Remove.
3958         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
3959         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
3960         Likewise.
3961         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
3962         Likewise.
3963         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
3964         * nptl/tst-cond1.c: Add comment.
3965         * nptl/tst-cond20.c (do_test): Adapt.
3966         * nptl/tst-cond22.c (do_test): Likewise.
3967         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
3968         structure.
3969         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3970         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3971         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3972         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
3973         Likewise.
3974         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3975         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3976         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3977         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3978         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3979         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
3980         Likewise.
3981         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
3982         Likewise.
3983         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
3984         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
3985         (COND_CLOCK_BITS): Adapt.
3986         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
3987         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
3988         __PTHREAD_COND_SHARED_MASK): New.
3989         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
3990         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
3991         * nptl/nptl_lock_constants.pysym: Adapt.
3992         * nptl/test-cond-printers.py: Adapt.
3993         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
3994         cond_compat_check_and_clear): Adapt.
3995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
3996         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3997         (__pthread_cond_timedwait): ... and move here.
3998         * nptl/DESIGN-condvar.txt: Remove file.
3999         * nptl/lowlevelcond.sym: Likewise.
4000         * nptl/pthread_cond_timedwait.c: Likewise.
4001         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4002         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4004         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4005         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4006         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4007         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4008         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4009         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4010         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4011         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4012         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4014         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4015         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4016         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4018 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4020         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4021         (fromfp): New declaration.
4022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4025         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4030         * math/math.h: Include <bits/types.h>.
4031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4032         constant and macro.
4033         (FP_INT_DOWNWARD): Likewise.
4034         (FP_INT_TOWARDZERO): Likewise.
4035         (FP_INT_TONEARESTFROMZERO): Likewise.
4036         (FP_INT_TONEAREST): Likewise.
4037         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4038         (fromfpf): Likewise.
4039         (fromfpl): Likewise.
4040         (ufromfp): Likewise.
4041         (ufromfpf): Likewise.
4042         (ufromfpl): Likewise.
4043         (fromfpx): Likewise.
4044         (fromfpxf): Likewise.
4045         (fromfpxl): Likewise.
4046         (ufromfpx): Likewise.
4047         (ufromfpxf): Likewise.
4048         (ufromfpxl): Likewise.
4049         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4050         s_fromfpxF and s_ufromfpxF.
4051         * math/gen-fromfp-tests.py: New file.
4052         * math/gen-fromfp-tests-inputs: Likewise.
4053         * math/libm-test.inc: Include <stdint.h>
4054         (check_intmax_t): New function.
4055         (check_uintmax_t): Likewise.
4056         (struct test_fiu_M_data): New type.
4057         (struct test_fiu_U_data): Likewise.
4058         (RUN_TEST_fiu_M): New macro.
4059         (RUN_TEST_LOOP_fiu_M): Likewise.
4060         (RUN_TEST_fiu_U): Likewise.
4061         (RUN_TEST_LOOP_fiu_U): Likewise.
4062         (fromfp_test_data): New array.
4063         (fromfp_test): New function.
4064         (fromfpx_test_data): New array.
4065         (fromfpx_test): New function.
4066         (ufromfp_test_data): New array.
4067         (ufromfp_test): New function.
4068         (ufromfpx_test_data): New array.
4069         (ufromfpx_test): New function.
4070         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4071         ufromfpx_test.
4072         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4073         characters.
4074         * math/test-tgmath-ret.c: Include <stdint.h>.
4075         (rm): New variable.
4076         (width): Likewise.
4077         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4078         called function.
4079         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4080         CHECK_RET_CONST_TYPE.
4081         (CHECK_RET_CONST_DOUBLE): Likewise.
4082         (CHECK_RET_CONST_LDOUBLE): Likewise.
4083         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4084         macros.
4085         (fromfp): New CHECK_RET_CONST call.
4086         (ufromfp): Likewise.
4087         (fromfpx): Likewise.
4088         (ufromfpx): Likewise.
4089         (do_test): Call check_return_fromfp, check_return_ufromfp,
4090         check_return_fromfpx and check_return_ufromfpx.
4091         * math/test-tgmath.c: Include <stdint.h>
4092         (NCALLS): Increase to 138.
4093         (F(compile_test)): Initialize i.  Call fromfp functions.
4094         (F(fromfp)): New function.
4095         (F(fromfpx)): Likewise.
4096         (F(ufromfp)): Likewise.
4097         (F(ufromfpx)): Likewise.
4098         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4099         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4100         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4101         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4102         ufromfpxl.
4103         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4104         ufromfp and ufromfpx.
4105         * math/fromfp.h: New file.
4106         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4107         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4108         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4109         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4110         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4111         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4112         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4113         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4114         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4115         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4116         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4117         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4118         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4119         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4120         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4121         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4122         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4123         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4124         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4125         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4126         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4127         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4128         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4129         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4130         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4131         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4132         ufromfp, fromfpx and ufromfpx.
4133         (CFLAGS-nldbl-fromfp.c): New variable.
4134         (CFLAGS-nldbl-fromfpx.c): Likewise.
4135         (CFLAGS-nldbl-ufromfp.c): Likewise.
4136         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4137         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4138         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4139         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4140         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4141         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4142         * sysdeps/nacl/libm.abilist: Update.
4143         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4144         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4145         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4146         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4147         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4148         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4149         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4150         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4151         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4152         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4153         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4156         Likewise.
4157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4160         Likewise.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4162         Likewise.
4163         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4164         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4165         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4166         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4167         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4169         Likewise.
4170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4171         Likewise.
4172         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4173         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4174         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4176 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4178         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4179         compat-gethnamaddr.
4180         (CPPFLAGS): Remove.
4181         * resolv/gethnamaddr.c: Rename ...
4182         * resolv/compat-gethnamaddr.c: ... to this file.
4183         (_endhtent): Make static.
4184         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4185         symbol.
4186         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4187         compat symbol.
4188         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4189         symbol.
4190         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4191         Turn into compat symbol.
4192         * include/resolv.h (_endhtent): Remove declaration.
4194 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4196         * bits/types.h (__intmax_t): New typedef.
4197         (__uintmax_t): Likewise.
4198         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4199         (intmax_t): Define using __intmax_t.
4200         (uintmax_t): Define using __uintmax_t.
4202         * support/Makefile (tests-special): Make definition conditional on
4203         [$(run-built-tests) = yes].
4204         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4205         on [$(run-built-tests) = yes].
4207 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4209         * Rules (tests): Add tests-printers-programs to tests to be
4210         built.
4212 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4214         * sysvipc/Makefile (tests): Add test-sysvshm.
4215         * sysvipc/test-sysvshm.c: New file.
4217         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4218         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4219         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4220         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4221         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4222         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4223         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4226         Likewise.
4227         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4228         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4229         is defined.
4231         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4232         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4233         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4234         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4235         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4236         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4237         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4238         Likewise.
4239         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4240         Likewise.
4241         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4242         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4243         defined.
4245         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4246         oldshmctl.
4247         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4248         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4249         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4250         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4251         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4252         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4253         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4254         Likewise.
4255         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4256         Likewise.
4257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4258         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4259         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4260         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4261         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4262         implementation.
4263         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4264         if it is defined.
4266         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4267         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4268         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4269         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4270         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4271         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4272         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4273         Likewise.
4274         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4275         Likewise.
4276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4277         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4278         Define to __NR_osf_shmat.
4279         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4280         defined.
4282         * sysvipc/Makefile (tests): Add test-sysvsem.
4283         * sysvipc/test-sysvsem.c: New file.
4285         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4286         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4287         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4288         Likewise.
4289         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4290         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4291         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4292         Likewise.
4293         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4294         Likewise.
4295         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4296         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4297         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4298         add a comment about s390 syscall difference from default one.
4299         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4300         syscall if it is defined.
4302         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4303         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4304         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4305         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4306         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4307         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4308         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4309         Likewise.
4310         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4311         Likewise.
4312         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4313         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4314         defined.
4316         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4317         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4318         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4319         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4320         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4321         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4322         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4323         Likewise.
4324         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4325         Likewise.
4326         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4327         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4328         if it is defined.
4330         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4331         oldsemctl.
4332         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4333         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4334         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4335         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4336         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4337         implementation.
4338         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4339         syscall if it is defined.
4340         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4341         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4342         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4343         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4344         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4345         Likewise.
4346         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4348         * sysvipc/Makefile (tests): Add test-sysvmsg.
4349         * sysvipc/test-sysvmsg.c: New file.
4350         * support/check.h (FAIL_UNSUPPORTED): New define.
4352         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4353         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4354         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4355         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4356         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4357         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4358         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4359         Likewise.
4360         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4361         Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4363         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4364         define.
4366         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4367         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4368         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4369         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4370         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4371         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4372         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4373         Likewise.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4375         Likewise.
4376         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4377         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4378         if defined.
4380         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4381         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4382         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4383         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4384         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4385         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4386         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4387         Likewise.
4388         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4389         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4390         Likewise.
4391         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4392         if defined.
4393         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4395         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4396         oldmsgctl.
4397         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4398         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4399         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4400         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4401         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4402         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4403         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4404         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4405         Likewise.
4406         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4407         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4408         implementation.
4409         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4410         if defined.
4412         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4413         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4414         definition and define its own.
4415         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4416         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4417         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4418         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4419         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4420         definitions to common header.
4421         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4422         operation from ipc_ops.h.
4424         * sysdeps/unix/sysv/linux/kernel-features.h
4425         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4426         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4427         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4428         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4429         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4430         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4431         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4432         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4433         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4434         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4435         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4436         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4437         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4438         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4439         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4441 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4443         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4444         overflow in pointer addition.
4446 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4448         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4449         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4451         (strchr): Add __strchr_power8 to list of strchr functions.
4452         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4453         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4454         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4455         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4456         (strchr): Add __strchr_power8 to ifunc list.
4457         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4458         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4459         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4460         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4462 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4464         * support/Makefile (libsupport-routines): Add
4465         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4466         (tests): Add tst-support_record_failure.
4467         (tests-special): tst-support_record_failure-2.
4468         (tst-support_record_failure-2.out): Depend on
4469         tst-support_record_failure-2.sh and tst-support_record_failure.
4470         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4471         (support_test_verify_impl, support_record_failure)
4472         (support_report_failure, support_report_failure_reset): Declare.
4473         * support/support_test_main.c (adjust_exit_status): New function.
4474         (support_test_main): Call it to incorporate record test failures.
4475         * support/support_test_verify_impl.c: New file.
4476         * support/support_record_failure.c: Likewise.
4477         * support/tst-support_record_failure.c: Likewise.
4478         * support/tst-support_record_failure-2.sh: Likewise.
4479         * support/xunistd.h: Likewise.
4480         * support/xfork.c: Likewise.
4481         * support/xwaitpid.c: Likewise.
4483 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4485         * scripts/check-c++-types.sh: Add comments.
4487 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4489         [BZ #19514]
4490         * resolv/res_send.c: Fix typo in comment.
4491         * sysdeps/i386/i386-mcount.S: Likewise.
4492         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4493         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4494         * sysdeps/sparc/sparc-mcount.S: Likewise.
4496 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4498         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4499         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4500         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4501         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4502         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4503         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4504         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4505         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4507 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4509         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4511 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4513         [BZ #17252]
4514         * posix/unistd.h (getentropy): Declare.
4516 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4518         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4519         Remove.
4520         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4521         (cmd): Remove spoof, nospoof, spoofalert.
4522         (parse_line): Ignore spoof-related lines.
4523         (do_init): Do not process RESOLV_SPOOF_CHECK.
4525 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4527         [BZ #20964]
4528         sunrpc: Always obtain AF_INET addresses from NSS.
4529         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4530         * sunrpc/rpc_gethostbyname.c: New file.
4531         * sunrpc/Makefile (routines): Add it.
4532         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4533         * sunrpc/clnt_simp.c (callrpc): Likewise.
4534         * sunrpc/getrpcport.c (getrpcport): Likewise.
4536 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4538         * sunrpc/rpcinfo.c: Remove.
4539         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4541 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4543         [BZ# 19387]
4544         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4545         addition.
4546         * string/test-memchr.c (do_test): Remove alignment limitation.
4547         (test_main): Add test that trigger BZ# 19387.
4549 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4551         [BZ #7065]
4552         Enable stack protectore if requested by ./configure.
4553         * Makeconfig (+stack-protector): New variable.
4554         (+cflags): Use it.
4556 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4558         [BZ #7065]
4559         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4560         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4561         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4563         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4565 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4567         [BZ #7065]
4568         * login/Makefile (pt_chown-cflags): Remove.
4569         * nscd/Makefile (CFLAGS-nscd): Likewise.
4570         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4572 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4574         [BZ #7065]
4575         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4576         non-libc-linking testcase.
4578 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4579             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4580             Florian Weimer  <fweimer@redhat.com>
4582         [BZ #7065]
4583         PLT avoidance for __stack_chk_fail*.
4584         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4585         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4586         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4587         __stack_chk_fail_local alias.
4588         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4589         (__stack_chk_fail): Turn into hidden reference to
4590         __stack_chk_fail_local.
4592 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4594         [BZ #7065]
4595         * configure.ac: Add check for unsupported stack-protection level.
4596         (libc_cv_predef_stack_protector): Remove.
4597         (no_ssp): New variable.
4598         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4599         (stack_protector): Set to -fno-stack-protector similarly.
4600         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4601         (libc_cv_asm_set_directive): Likewise.
4602         (libc_cv_protected_data): Likewise.
4603         (libc_cv_z_combreloc): Likewise.
4604         (libc_cv_hashstyle): Likewise.
4605         (libc_cv_has_glob_dat): Likewise.
4606         (libc_cv_output_format): Likewise.
4607         (libc_cv_output_format): Likewise.
4608         (libc_cv_ehdr_start): Likewise.
4609         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4610         (LIBC_LINKER_FEATURE): Likewise.
4611         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4613 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4615         [BZ #7065]
4616         * elf/Makefile (dummy-stack-chk-fail): New.
4617         (librtld.map): Use it.
4619 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4621         [BZ #7065]
4622         Compile the dynamic linker without stack protection.
4623         * elf/Makefile (elide-stack-protector): New.
4624         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4625         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4626         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4627         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4629 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4631         [BZ #7065]
4632         * config.make.in (have-ssp, no-stack-protector): New.
4633         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4634         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4635         (CFLAGS-sbrk.op): Likewise.
4636         (CFLAGS-brk.o): Likewise.
4637         (CFLAGS-brk.op): Likewise.
4638         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4639         (CFLAGS-wordcopy.c): Likewise.
4641 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4643         [BZ #7065]
4644         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4645         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4646         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4647         (__ifunc_resolver): Use it.
4648         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4649         inhibit_stack_protector.
4650         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4651         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4652         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4653         (foo_protected_ifunc): Likewise.
4654         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4655         (foo_protected_ifunc): Likewise.
4656         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4657         * sysdeps/nacl/nacl_interface_query.c
4658         (nacl_interface_query_ifunc): Likewise.
4659         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4661         Likewise.
4662         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4663         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4664         the generated vDSO syscall resolver.
4666 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4667             Florian Weimer  <fweimer@redhat.com>
4669         [BZ #7065]
4670         Initialize the stack guard earlier when linking statically.
4671         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4672         (__pthread_initialize_minimal): Declare.
4673         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4674         declaration.
4675         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4676         stack canary and apply_irel initialization up.  Call
4677         __pthread_initialize_minimal only if linked in.
4678         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4679         constant values.
4680         (__pthread_initialize_minimal): Remove.
4681         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4682         (__pthread_initialize_minimal_internal): Do not call
4683         __libc_setup_tls.
4685 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4687         [BZ #7065]
4688         * configure.ac (libc_cv_ssp): Move up.
4689         (libc_cv_ssp_strong): Likewise.
4690         (libc_cv_ssp_all): New.
4691         (stack_protector): Augment, adding -fstack-protector-all.
4692         (no_stack_protector): New.
4693         (STACK_PROTECTOR_LEVEL): New.
4694         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4695         * manual/install.texi (--enable-stack-protector): Document it.
4696         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4698 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4700         * README.pretty-printers: Must specify CPPFLAGS-* also.
4701         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4702         (CPPFLAGS-test-mutex-printers.c): Define.
4703         (CPPFLAGS-test-condattr-printers.c): Define.
4704         (CPPFLAGS-test-cond-printers.c): Define.
4705         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4706         (CPPFLAGS-test-rwlock-printers.c): Define.
4708         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4709         (tests): Add tst-cancel-getpwuid_r.
4710         * nss/tst-cancel-getpwuid_r.c: New file.
4712         [BZ #11941]
4713         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4714         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4715         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4716         tst-nodelete-dlclose.
4717         (modules-names): Add tst-nodelete-dlclose-dso and
4718         tst-nodelete-dlclose-plugin.
4719         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
4720         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
4721         ($(objpfx)tst-nodelete-dlclose): Define.
4722         ($(objpfx)tst-nodelete-dlclose.out): Define.
4724 2016-12-23  Florian Weimer  <fweimer@redhat.com>
4726         * scripts/test_printers_common.py: Log GDB output in case of
4727         Python detection failure.
4729 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4731         * configure.ac: Check for python3 or python.
4732         * configure: Regenerated.
4733         * config.make.in (PYTHON): New variable.
4734         * benchtests/Makefile: Don't define PYTHON.
4735         (bench): Define target only if PYTHON was defined.
4736         * Rules: Don't define PYTHON.
4737         Define pretty printer targets only if PYTHON was defined.
4738         (tests-printers): Add to tests-unsupported if PYTHON is not
4739         found.
4740         (python-flags, python-invoke): Remove.
4741         (tests-printers-out): Use PYTHON instead of python-invoke.
4743 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4745         [BZ #20978]
4746         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4747         Compare name == NULL, not name != NULL.
4749         * manual/texinfo.tex: Update to version 2016-09-18.18 with
4750         trailing whitespace removed.
4751         * scripts/config.guess: Update to version 2016-10-02.
4752         * scripts/config.sub: Update to version 2016-11-19.
4753         * scripts/install-sh: Update to version 2016-01-11.22.
4754         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
4755         * scripts/move-if-change: Update to version 2016-01-11 22:04.
4757 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
4759         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
4760         (do_one_test) Restore original string so iteration works.
4761         * string/string-inlines.c (do_test): Create better input strings.
4762         (test_main) Reduce number of testruns.
4763         * string/string-inlines.c (__old_strsep_1c): New function.
4764         (__old_strsep_2c): Likewise.
4765         (__old_strsep_3c): Likewise.
4766         * string/strsep.c (__strsep): Remove case of small delim string.
4767         Call strcspn directly rather than strpbrk.
4768         * string/bits/string2.h (__strsep): Remove define.
4769         (__strsep_1c): Remove.
4770         (__strsep_2c): Remove.
4771         (__strsep_3c): Remove.
4772         (strsep): Remove.
4773         * sysdeps/unix/sysv/linux/internal_statvfs.c
4774         (__statvfs_getflags): Rename to __strsep.
4776 2016-12-21  Florian Weimer  <fweimer@redhat.com>
4778         * csu/libc-tls.c (_dl_tls_setup): Remove.
4779         * elf/dl-tls.c (_dl_tls_setup): Likewise.
4780         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
4781         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
4783 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4785         [BZ #7065]
4786         * sysdeps/x86_64/Makefile [$(subdir) = elf]
4787         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
4789 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
4790             Florian Weimer  <fweimer@redhat.com>
4792         [BZ #7065]
4793         * csu/Makefile (tests): Empty assignment and document it.
4794         (tests-static): Remove.
4795         * csu/tst-empty.c: Move to...
4796         * misc/tst-empty.c: ... here.  Switch to new test driver.
4797         * csu/tst-atomic.c: Move to...
4798         * misc/tst-atomic.c: ... here.  Switch to new test driver.
4799         * csu/tst-atomic-long.c: Move to...
4800         * misc/tst-atomic-long.c: ... here.
4801         * misc/Makefile (tests): Add tst-empty, tst-atomic,
4802         tst-atomic-long.
4803         (tests-static): Add tst-empty.
4805 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
4807         * manual/nss.texi: Change incorrect @vtable to @table.
4808         * manual/arith.texi: Convert @tables of variables to @vtables
4809         and remove unnecessary indexing.
4810         * manual/filesys.texi: Likewise.
4811         * manual/llio.texi: Likewise.
4812         * manual/memory.texi: Likewise.
4813         * manual/process.texi: Likewise.
4814         * manual/resource.texi: Likewise.
4815         * manual/search.texi: Likewise.
4816         * manual/signal.texi: Likewise.
4817         * manual/socket.texi: Likewise.
4818         * manual/stdio.texi: Likewise.
4819         * manual/sysinfo.texi: Likewise.
4820         * manual/syslog.texi: Likewise.
4821         * manual/terminal.texi: Likewise.
4822         * manual/time.texi: Likewise.
4823         * manual/users.texi: Likewise.
4825 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
4827         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4828         (roundeven): New declaration.
4829         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
4830         macro.
4831         * math/Versions (roundeven): New libm symbol at version
4832         GLIBC_2.25.
4833         (roundevenf): Likewise.
4834         (roundevenl): Likewise.
4835         * math/Makefile (libm-calls): Add s_roundevenF.
4836         * math/libm-test.inc (roundeven_test_data): New array.
4837         (roundeven_test): New function.
4838         (main): Call roundeven_test.
4839         * math/test-tgmath.c (NCALLS): Increase to 134.
4840         (F(compile_test)): Call roundeven.
4841         (F(roundeven)): New function.
4842         * manual/arith.texi (Rounding Functions): Document roundeven,
4843         roundevenf and roundevenl.
4844         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
4845         * include/math.h (roundeven): Use libm_hidden_proto.
4846         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
4847         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
4848         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
4849         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
4851         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
4852         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4853         roundeven.
4854         (CFLAGS-nldbl-roundeven.c): New variable.
4855         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
4856         * sysdeps/nacl/libm.abilist: Update.
4857         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4863         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4864         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4865         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4868         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4870         Likewise.
4871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4872         Likewise.
4873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4874         Likewise.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4876         Likewise.
4877         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4883         Likewise.
4884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4885         Likewise.
4886         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4890 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4892         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
4893         preprocessor indentation inside #if.
4895 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4897         * math/libm-test.inc (fmt_ftostr): New function.
4898         (print_float, check_float_internal): Replace some uses of
4899         FTOSTR with uses of fmt_ftostr.
4900         (print_max_error, print_complex_max_error, print_function_ulps)
4901         (print_complex_function_ulps): Remove uses of the macros
4902         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
4903         * math/test-double.h (FTOSTR): Define to strfromd.
4904         (PRINTF_EXPR): Delete.
4905         (PRINTF_XEXPR): Likewise.
4906         (PRINTF_NEXPR): Likewise.
4907         * math/test-float.h (FTOSTR): Define to strfromf.
4908         (PRINTF_EXPR): Delete.
4909         (PRINTF_XEXPR): Likewise.
4910         (PRINTF_NEXPR): Likewise.
4911         * math/test-ldouble.h (FTOSTR): Define to strfroml.
4912         (PRINTF_EXPR): Delete.
4913         (PRINTF_XEXPR): Likewise.
4914         (PRINTF_NEXPR): Likewise.
4916 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4918         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4919         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
4920         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4921         (__lll_lock_elision): Decrement adapt_count while unlocking
4922         instead of before locking.
4923         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4924         (__lll_trylock_elision): Likewise.
4925         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
4926         (__lll_unlock_elision): Likewise.
4928 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4930         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
4931         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
4932         Use __libc_tbegin_retry macro.
4934 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4936         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
4937         Add -msoft-float.
4938         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
4939         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
4940         Use __libc_t* transaction macros instead of __builtin_t*.
4941         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4942         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4944 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4946         * sysdeps/unix/sysv/linux/s390/elision-lock.c
4947         (__lll_lock_elision): Use atomics to load / store adapt_count.
4948         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
4949         (__lll_trylock_elision): Likewise.
4951 2016-12-20  Florian Weimer  <fweimer@redhat.com>
4953         Do not require memset elimination in explicit_bzero test.
4954         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
4955         (enum test_expectation): Add NO_EXPECTATIONS.
4956         (subtests): NO_EXPECTATIONS for ordinary clear.
4957         (check_test_buffer): Handle NO_EXPECTATIONS.
4958         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
4960 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
4962         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4963         (fmaxmag): New declaration.
4964         (fminmag): Likewise.
4965         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
4966         macro.
4967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
4968         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
4969         (fmaxmagf): Likewise.
4970         (fmaxmagl): Likewise.
4971         (fminmag): Likewise.
4972         (fminmagf): Likewise.
4973         (fminmagl): Likewise.
4974         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
4975         * math/s_fmaxmag_template.c: New file.
4976         * math/s_fminmag_template.c: Likewise.
4977         * math/libm-test.inc (fmaxmag_test_data): New array.
4978         (fmaxmag_test): New function.
4979         (fminmag_test_data): New array.
4980         (fminmag_test): New function.
4981         (main): Call fmaxmag_test and fminmag_test.
4982         * math/test-tgmath.c (NCALLS): Increase to 132.
4983         (F(compile_test)): Call fmaxmag and fminmag.
4984         (F(fminmag)): New function.
4985         (F(fmaxmag)): Likewise.
4986         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
4987         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
4988         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
4989         fminmag.
4990         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
4991         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
4992         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4993         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4994         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
4995         and fminmag.
4996         (CFLAGS-nldbl-fmaxmag.c): New variable.
4997         (CFLAGS-nldbl-fminmag.c): Likewise.
4998         * sysdeps/nacl/libm.abilist: Update.
4999         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5000         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5001         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5002         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5003         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5004         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5005         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5006         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5007         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5009         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5012         Likewise.
5013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5014         Likewise.
5015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5016         Likewise.
5017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5018         Likewise.
5019         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5020         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5021         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5022         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5023         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5025         Likewise.
5026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5027         Likewise.
5028         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5029         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5030         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5032 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5034         [BZ #20973]
5035         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5036         wake-up in robust mutexes.
5037         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5039 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5041         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5042         (CFLAGS-bench-fmaxf.c): New rule.
5043         (CFLAGS-bench-fminf.c): Likewise.
5044         * benchtests/fmaxf-inputs: New file.
5045         * benchtests/fminf-inputs: Likewise.
5047         * benchtests/Makefile (bench-math): Add fmin and fmax.
5048         (CFLAGS-bench-fmax.c): New rule.
5049         (CFLAGS-bench-fmin.c): Likewise.
5050         * benchtests/fmax-inputs: New file.
5051         * benchtests/fmin-inputs: Likewise.
5053         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5054         parenthesis.
5055         (CMDLINE_PROCESS): Define using function instead of macro.
5056         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5057         of test-skeleton.
5058         * benchtests/bench-memchr.c: Likewise.
5059         * benchtests/bench-memcmp.c: Likewise.
5060         * benchtests/bench-memcpy-large.c: Likewise.
5061         * benchtests/bench-memcpy.c: Likewise.
5062         * benchtests/bench-memmem.c: Likewise.
5063         * benchtests/bench-memmove-large.c: Likewise.
5064         * benchtests/bench-memmove.c: Likewise.
5065         * benchtests/bench-memset-large.c: Likewise.
5066         * benchtests/bench-memset.c: Likewise.
5067         * benchtests/bench-rawmemchr.c: Likewise.
5068         * benchtests/bench-strcasecmp.c: Likewise.
5069         * benchtests/bench-strcasestr.c: Likewise.
5070         * benchtests/bench-strcat.c: Likewise.
5071         * benchtests/bench-strchr.c: Likewise.
5072         * benchtests/bench-strcmp.c: Likewise.
5073         * benchtests/bench-strcpy.c: Likewise.
5074         * benchtests/bench-strcpy_chk.c: Likewise.
5075         * benchtests/bench-strlen.c: Likewise.
5076         * benchtests/bench-strncasecmp.c: Likewise.
5077         * benchtests/bench-strncmp.c: Likewise.
5078         * benchtests/bench-strncpy.c: Likewise.
5079         * benchtests/bench-strnlen.c: Likewise.
5080         * benchtests/bench-strpbrk.c: Likewise.
5081         * benchtests/bench-strrchr.c: Likewise.
5082         * benchtests/bench-strsep.c: Likewise.
5083         * benchtests/bench-strspn.c: Likewise.
5084         * benchtests/bench-strstr.c: Likewise.
5085         * benchtests/bench-strtok.c: Likewise.
5087 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5089         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5090         stepping identification.
5091         (init_cpu_features): Add handle of Haswell.
5093 2016-11-25  Jim Meyering  <meyering@fb.com>
5095         [BZ #20386]
5096         Let gcc detect assert(a = 1) errors.
5097         * assert/assert.h (assert): Rewrite, retaining the old definintion
5098         when required, but otherwise putting the expression as-is in an "if"
5099         expression (hence, with no added parentheses) within a statement
5100         expression.
5102 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5104         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5105         DSO.
5107 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5109         * Rules (python-flags, python-invoke): New.
5110         ($(test-printers-out)): Use $(python-flags).
5112 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5114         * manual/arith.texi (Math Error Reporting): Document that sNaN
5115         arguments are not considered domain errors.
5117 2016-12-16  Zack Weinberg <zackw@panix.com>
5118             Florian Weimer <fweimer@redhat.com>
5119             Nick Mathewson <nickm@torproject.org>
5121         * string/explicit_bzero.c: New routine.
5122         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5123         * string/Makefile (routines, strop-tests, tests): Add them.
5124         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5125         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5127         * debug/explicit_bzero_chk.c: New routine.
5128         * debug/Makefile (routines): Add it.
5129         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5130         * string/bits/string3.h: Fortify explicit_bzero.
5132         * manual/string.texi: Document explicit_bzero.
5133         * NEWS: Mention addition of explicit_bzero.
5135         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5136         data before returning, using explicit_bzero.
5137         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5138         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5139         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5141         * include/string.h: Redirect internal uses of explicit_bzero
5142         to __explicit_bzero_chk[_internal].
5143         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5144         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5145         * sysdeps/arm/nacl/libc.abilist
5146         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5147         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5148         * sysdeps/unix/sysv/linux/arm/libc.abilist
5149         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5150         * sysdeps/unix/sysv/linux/i386/libc.abilist
5151         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5152         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5153         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5154         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5155         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5156         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5158         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5159         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5164         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5165         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5166         * sysdeps/unix/sysv/linux/sh/libc.abilist
5167         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5168         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5171         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5172         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5173         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5174         Add entries for explicit_bzero and __explicit_bzero_chk.
5176 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5178         * math/fenv.h
5179         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5180         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5181         * math/test-fe-snans-always-signal.c: New file.
5182         * math/Makefile (tests): Add test-fe-snans-always-signal.
5183         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5184         * manual/arith.texi (Infinity and NaN): Document
5185         FE_SNANS_ALWAYS_SIGNAL.
5187 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5189         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5190         bracket.
5192 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5194         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5195         before calling execv.
5197 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5199         [BZ# 20971]
5200         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5201         overflow in pointer addition.
5202         * string/test-memchr.c (do_test): Add an argument to pass as
5203         the size on memchr.
5204         (test_main): Add check for SIZE_MAX.
5206 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5208         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5209         (libm-calls): Add w_scalblnF.
5210         * math/w_scalbln.c: Remove.
5211         * math/w_scalblnf.c: Likewise.
5212         * math/w_scalblnl.c: Likewise.
5213         * math/w_scalbln_template.c: New file with type-generic
5214         implementation based on math/w_scalbln.c.
5215         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5216         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5218 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5220         [BZ #20947]
5221         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5222         either is a signaling NaN.
5223         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5224         follow fmaxl more closely.
5225         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5226         when either is a signaling NaN.
5227         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5228         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5229         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5230         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5231         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5232         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5233         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5234         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5235         (fmin_test_data): Likewise.
5237 2016-12-15  Andreas Schwab  <schwab@suse.de>
5239         * support/support_test_main.c (support_test_main): Don't shadow
5240         file-local variable test_pid.
5242 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5244         [BZ #20947]
5245         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5246         either is a signaling NaN.
5247         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5249 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5251         [BZ #20947]
5252         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5253         when either is a signaling NaN.
5254         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5256         * bits/long-double.h: New file.
5257         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5258         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5259         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5260         * sysdeps/mips/bits/long-double.h: Likewise.
5261         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5262         * math/Makefile (headers): Add bits/long-double.h.
5263         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5264         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5265         <bits/wordsize.h>.
5266         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5267         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5268         * math/math.h: Do not include <bits/mathdef.h>.
5269         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5270         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5271         inclusion.
5272         * sysdeps/ia64/bits/mathdef.h: Remove file.
5273         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5274         * sysdeps/mips/bits/mathdef.h: Likewise.
5275         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5276         * sysdeps/s390/bits/mathdef.h: Likewise.
5277         * sysdeps/sparc/bits/mathdef.h: Likewise.
5278         * sysdeps/x86/bits/mathdef.h: Likewise.
5279         * sysdeps/s390/s390-32/bits/wordsize.h
5280         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5281         conditional code.
5282         * sysdeps/s390/s390-64/bits/wordsize.h
5283         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5284         Likewise.
5285         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5286         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5287         Likewise.
5288         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5289         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5290         Likewise.
5291         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5292         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5293         Likewise.
5295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5296         <linux/falloc.h>.
5297         (FALLOC_FL_KEEP_SIZE): Remove.
5298         (FALLOC_FL_PUNCH_HOLE): Likewise.
5299         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5300         (FALLOC_FL_ZERO_RANGE): Likewise.
5302 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5304         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5306 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5308         * sysdeps/unix/sysv/linux/renameat.c: New file.
5309         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5311         * sysdeps/unix/sysv/linux/rename.c: New file.
5312         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5314 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5316         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5317         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5318         * string/strtok_r.c (__strtok_r): Optimize for performance.
5319         * string/string-inlines.c (__old_strtok_r_1c): New function.
5320         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5322 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5324         * math/Makefile (gen-libm-calls): Add w_log1pF.
5325         (libm-calls): Remove w_log1pF.
5326         * math/w_log1p.c: Remove.
5327         * math/w_log1pf.c: Likewise.
5328         * math/w_log1pl.c: Likewise.
5329         * math/w_log1p_template.c: New file with type-generic
5330         implementation based on math/w_log1p.c.
5331         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5332         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5334 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5336         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5338 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5340         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5341         kernel version to 4.9.
5343 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5345         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5346         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5348 2016-12-13  Andreas Schwab  <schwab@suse.de>
5350         * sysdeps/powerpc/dl-procinfo.c: Don't define
5351         _dl_powerpc_platforms.
5352         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5353         constants instead of referencing _dl_powerpc_platforms.
5354         (_dl_platform_string): Remove.
5356 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5358         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5360 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5362         * Rules (binaries-shared-tests, binaries-pie-tests)
5363         (binaries-static-tests): Link with $(link-extra-libs-tests).
5364         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5365         Remove $(link-extra-libs-tests).
5367 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5369         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5370         (sysdep_routines): Add strncmp_power9.
5371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5372         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5373         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5374         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5375         (strncmp): Add __strncmp_power9 to ifunc list.
5376         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5378 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5380         [BZ #17252]
5381         Add getentropy, getrandom.
5382         * stdlib/sys/random.h: New file.
5383         (headers): Add it.
5384         * stdlib/Makefile (routines): Add getentropy, getrandom.
5385         (tests): Add tst-getrandom.
5386         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5387         * stdlib/getentropy.c: New file.
5388         * stdlib/getrandom.c: Likewise.
5389         * stdlib/tst-getrandom.c: Likewise.
5390         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5391         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5392         * manual/crypt.texi (Unpredictable Bytes): New section.
5393         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5394         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5395         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5396         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5397         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5398         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5399         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5400         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5401         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5402         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5403         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5404         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5405         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5406         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5407         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5408         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5410         Likewise.
5411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5412         Likewise.
5413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5415         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5419         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5422         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5423         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5424         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5426 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5428         [BZ #20956]
5429         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5430         as additional compiler barriers.
5431         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5432         (fn2, do_test): Declare with external linkage.
5433         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5434         (do_test): Declare with external linkage.
5435         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5436         (do_test): Declare with external linkage.
5437         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5438         (do_test): Declare with external linkage.
5440 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5442         * support/support_test_main.c (support_test_main): Use correct
5443         timeout.
5445 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5446             Florian Weimer  <fweimer@redhat.com>
5448         [BZ #16421]
5449         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5450         and __u6_addr32 members.
5451         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5452         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5453         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5454         Use __u6_addr32.
5455         * inet/tst-checks.c: Use <support/test-driver.c>
5456         * inet/tst-checks-posix.c: New file.
5457         * inet/Makefile (tests): Add it.
5458         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5460 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5462         New subdirectory support for build and test infrastructure.
5463         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5464         setting install-lib.
5465         * Makeconfig (link-extra-libs-tests): Define.
5466         (+link-pie-tests, +link-static-tests, +link-tests): Use
5467         link-extra-libs-tests.
5468         (rpath-dirs, all-subdirs): Add support.
5469         (built-modules): Add libsupport.
5470         (libsupport): Define.
5471         * support: New directory.
5472         * support/Makefile: New file.
5473         * support/check.c: Likewise.
5474         * support/check.h: Likewise.
5475         * support/delayed_exit.c: Likewise.
5476         * support/ignore_stderr.c: Likewise.
5477         * support/oom_error.c: Likewise.
5478         * support/set_fortify_handler.c: Likewise.
5479         * support/support.h: Likewise.
5480         * support/temp_file-internal.h: Likewise.
5481         * support/temp_file.c: Likewise.
5482         * support/test-driver.c: Likewise.
5483         * support/test-driver.h: Likewise.
5484         * support/test_main.c: Likewise.
5485         * support/write_message.c: Likewise.
5486         * support/xasprintf.c: Likewise.
5487         * support/xcalloc.c: Likewise.
5488         * support/xmalloc.c: Likewise.
5489         * support/xpthread_barrier_destroy.c: Likewise.
5490         * support/xpthread_barrier_init.c: Likewise.
5491         * support/xpthread_barrier_wait.c: Likewise.
5492         * support/xpthread_cancel.c: Likewise.
5493         * support/xpthread_check_return.c: Likewise.
5494         * support/xpthread_cond_wait.c: Likewise.
5495         * support/xpthread_create.c: Likewise.
5496         * support/xpthread_detach.c: Likewise.
5497         * support/xpthread_join.c: Likewise.
5498         * support/xpthread_mutex_lock.c: Likewise.
5499         * support/xpthread_mutex_unlock.c: Likewise.
5500         * support/xpthread_sigmask.c: Likewise.
5501         * support/xpthread_spin_lock.c: Likewise.
5502         * support/xpthread_spin_unlock.c: Likewise.
5503         * support/xrealloc.c: Likewise.
5504         * support/xsignal.h: Likewise.
5505         * support/xthread.h: Likewise.
5506         * support_tempfile.h: Likewise.
5507         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5508         (TEST_DATA_LIMIT): Remove unused macro.
5509         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5510         <support/check.h>.
5511         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5512         (ignore_stderr, set_fortify_handler): Remove.  Now in
5513         <support/support.h>.
5514         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5515         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5516         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5517         (xpthread_join): Remove.  Now in <support/xthread.h>.
5518         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5519         Introduce legacy wrappers.
5520         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5521         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5522         (write_message): Remove.
5523         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5524         test-skeleton.c.
5525         * io/test-open-tmpfile: Likewise.
5526         * io/tst-posix_fallocate-common.c: Likewise.
5527         * libio/tst-fseek.c: Likewise.
5528         * malloc/tst-malloc-backtrace.c: Likewise.
5529         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5530         * malloc/tst-malloc-thread-exit.c: Likewise.
5531         * nptl/tst-cancel7.c: Likewise.
5532         * nptl/tst-cleanup0.c: Likewise.
5533         * posix/tst-posix_fadvise-common.c: Likewise.
5534         * rt/tst-shm.c: Likewise.
5535         * time/bug-getdate1.c: Likewise.
5536         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5537         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5538         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5540 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5542         * Rules [$(run-built-tests) != no] (tests-expected): Add
5543         $(tests-printers).
5544         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5546 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5548         [BZ #20539]
5549         * math/Makefile (install-lib-ldscripts): Add libm.a.
5550         (install_subdir): Remove.
5551         (install-others): Add.
5552         ($(inst_libdir)/libm.a): Add rule for installation as
5553         linker script.
5554         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5556 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5558         * INSTALL: Regenerated.
5559         * Makeconfig: Add comments and whitespace to make the control flow
5560         clearer.
5561         (+link-printers-tests, +link-pie-printers-tests,
5562         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5563         built-rtld-LDFLAGS, link-libc-rpath,
5564         link-libc-tests-after-rpath-link,
5565         link-libc-printers-tests): New.
5566         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5567         link-libc-tests): Use the new variables as required.
5568         * Makerules ($(py-const)): New rule.
5569         generated: Add $(py-const).
5570         * README.pretty-printers: New file.
5571         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5572         (others): Depend on $(py-const).
5573         (tests): Depend on $(tests-printers-programs) or
5574         $(tests-printers-out),
5575         as required.  Pass $(tests-printers) to merge-test-results.sh.
5576         * manual/install.texi: Add requirements for testing the pretty
5577         printers.
5578         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5579         tests-printers, CFLAGS-test-mutexattr-printers.c
5580         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5581         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5582         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5583         * nptl/nptl-printers.py: New file.
5584         * nptl/nptl_lock_constants.pysym: Likewise.
5585         * nptl/test-cond-printers.c: Likewise.
5586         * nptl/test-cond-printers.py: Likewise.
5587         * nptl/test-condattr-printers.c: Likewise.
5588         * nptl/test-condattr-printers.py: Likewise.
5589         * nptl/test-mutex-printers.c: Likewise.
5590         * nptl/test-mutex-printers.py: Likewise.
5591         * nptl/test-mutexattr-printers.c: Likewise.
5592         * nptl/test-mutexattr-printers.py: Likewise.
5593         * nptl/test-rwlock-printers.c: Likewise.
5594         * nptl/test-rwlock-printers.py: Likewise.
5595         * nptl/test-rwlockattr-printers.c: Likewise.
5596         * nptl/test-rwlockattr-printers.py: Likewise.
5597         * scripts/gen-py-const.awk: Likewise.
5598         * scripts/test_printers_common.py: Likewise.
5599         * scripts/test_printers_exceptions.py: Likewise.
5601 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5603         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5604         argument.
5605         (Glibc.build_glibc): Strip installed shared libraries if
5606         requested.
5607         (get_parser): Add --strip option.
5608         (main): Update Context call.
5610 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5611             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5613         [BZ #20847]
5614         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5615         array bounds for else branch.
5616         (__execvpe): Style fixes.
5617         * posix/tst-vfork3.c (run_script): New function.
5618         (create_script): Likewise.
5619         (do_test): Use run_script internal function.
5620         (do_prepare): Use create_script internal function.
5622 2016-12-07  Andreas Schwab  <schwab@suse.de>
5624         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5625         (__elision_available): Don't declare.
5626         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5627         (__elision_available): Don't define.
5628         (elision_init): Don't set __elision_available.
5630 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #20940]
5633         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5634         return Inf for arguments Inf and sNaN.
5635         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5636         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5637         Likewise.
5638         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5639         Likewise.
5640         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5641         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5642         for arguments Inf and sNaN.  When returning a NaN, compute it by
5643         arithmetic on the arguments.
5644         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5645         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5646         arguments.
5648 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5650         [BZ #20916]
5651         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5652         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5653         to compute result.
5654         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5655         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5657 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5659         * include/atomic.h (__atomic_check_size_ls): New.
5660         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5661         atomic_store_release): Use it.
5662         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5663         (elision_adapt, ELIDE_LOCK): Use atomics.
5664         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5665         atomics and improve code comments.
5666         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5667         (__lll_trylock_elision): Likewise.
5669 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5671         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5672         programs.
5674 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5676         [BZ #20916]
5677         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5678         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5679         arguments to compute result.
5680         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5681         1 for arguments (sNaN, 0) or (1, sNaN).
5682         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5685         [BZ #20919]
5686         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5687         NaN first argument when raised to power 0.
5688         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5689         raising to power zero.
5690         * math/w_powf.c (__powf): Likewise.
5691         * math/w_powl.c (__powl): Likewise.
5692         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5693         pow (0, 0) or pow (NaN, 0).
5695 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5697         [BZ #20918]
5698         * configure.ac: Test for static NSS cryptographic libraries and set
5699         libc_cv_static_nss_crypt.
5700         * configure: Regenerate.
5701         * config.make.in (static-nss-crypt): Define.
5702         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5703         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5704         (CFLAGS-tst-linkall-static.c): Define.
5705         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5706         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5707         ($(objpfx)tst-linkall-static): Define.
5708         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5709         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5711 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5713         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5714         (one-hundred, tst-tls-many-dynamic-modules): Define.
5715         (modules-names): Add $(tst-tls-many-dynamic-modules).
5716         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5717         macros.
5718         (tst-tls-manydynamic): Link against libdl, libpthread.
5719         (tst-tls-manydynamic.out): The test needs the test modules at run
5720         time.
5721         * elf/tst-tls-manydynamic.c: New file.
5722         * elf/tst-tls-manydynamic.h: Likewise.
5723         * elf/tst-tls-manydynamicmod.c: Likewise.
5725 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5727         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
5728         (TLS_DTV_UNALLOCATED): Add.
5729         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
5730         offsets.
5732 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5734         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5736 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
5738         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
5739         Add -fno-optimize-sibling-calls.
5741 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5743         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
5744         New declaration.
5745         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
5746         macro.
5747         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
5748         New macro.
5749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
5750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
5751         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
5752         (llogbf): Likewise.
5753         (llogbl): Likewise.
5754         * math/Makefile (gen-libm-calls): Add w_llogbF.
5755         (tests): Add test-fp-llogb-constants.
5756         * math/w_llogb_template.c: New file.  Based on
5757         math/w_ilogb_template.c.
5758         * math/libm-test.inc (llogb_test_data): New array.
5759         (llogb_test): New function.
5760         (main): Call llogb_test.
5761         * math/test-fp-llogb-constants.c: New file.  Based on
5762         math/test-fp-ilogb-constants.c.
5763         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
5764         (do_test): Call check_return_llogb.
5765         * math/test-tgmath.c (NCALLS): Increase to 126.
5766         (F(compile_test)): Call llogb.
5767         (F(llogb)): New function.
5768         * manual/math.texi (Exponents and Logarithms): Document llogb,
5769         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
5770         * manual/libm-err-tab.pl (@all_functions): Add llogb.
5771         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
5772         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
5773         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
5774         (CFLAGS-nldbl-llogb.c): New variable.
5775         * sysdeps/nacl/libm.abilist: Update.
5776         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5777         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5778         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5779         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5780         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5781         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5782         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5783         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5784         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5785         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5786         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5787         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5789         Likewise.
5790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5791         Likewise.
5792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5793         Likewise.
5794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5795         Likewise.
5796         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5799         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5800         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5802         Likewise.
5803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5804         Likewise.
5805         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5806         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5809 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5811         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
5812         _Float128 instead of long double.
5813         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
5815         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
5816         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
5817         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
5818         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
5819         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
5820         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
5821         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
5822         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
5823         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
5824         Likewise.
5826 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5828         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
5829         Remove redirection to __strrchr_ppc.
5831 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5833         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5834         (sysdep_routines): Add strcmp_power9.
5835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5836         (strcmp): Add __strcmp_power9 to list of strcmp functions.
5837         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
5838         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
5839         (strcmp): Add __strcmp_power9 to ifunc list.
5840         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
5842 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
5844         * bits/fp-logb.h: New file.
5845         * sysdeps/ia64/bits/fp-logb.h: Likewise.
5846         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
5847         * sysdeps/x86/bits/fp-logb.h: Likewise.
5848         * math/Makefile (headers): Add bits/fp-logb.h.
5849         * math/math.h: Include <bits/fp-logb.h>.
5850         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
5851         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
5852         * bits/mathdef.h (FP_ILOGB0): Remove.
5853         (FP_ILOGBNAN): Likewise.
5854         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
5855         (FP_ILOGBNAN): Likewise.
5856         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
5857         (FP_ILOGBNAN): Likewise.
5858         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
5859         (FP_ILOGBNAN): Likewise.
5860         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
5861         (FP_ILOGBNAN): Likewise.
5862         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
5863         (FP_ILOGBNAN): Likewise.
5864         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
5865         (FP_ILOGBNAN): Likewise.
5866         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
5867         (FP_ILOGBNAN): Likewise.
5868         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
5869         (FP_ILOGBNAN): Likewise.
5870         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
5871         (FP_ILOGBNAN): Likewise.
5873         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
5874         time module.
5875         (Context.__init__): Initialize self.logsdir_old.
5876         (Context.run_builds): Handle bot action.
5877         (Context.bot_cycle): Copy logs directory before running builds.
5878         (Context.bot_run_self): Take argument for whether to check
5879         subprocess result.  Flush stdout before running subprocess.
5880         (Context.bot): New function.
5881         (get_parser): Allow bot action.
5883 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
5885         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
5886         Import email.mime.text, email.utils and smtplib modules.
5887         (Context.__init__): Initialize self.bot_config_json.
5888         (Context.run_builds): Handle bot-cycle action.
5889         (Context.load_bot_config_json): New function.
5890         (Context.part_build_old): Likewise.
5891         (Context.bot_cycle): Likewise.
5892         (Context.bot_build_mail): Likewise.
5893         (Context.bot_run_self): Likewise.
5894         (get_parser): Allow bot-cycle action.
5896 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5898         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
5899         Remove redirection to __stpcpy_ppc.
5901 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5903         Remove __libc_memalign from ld.so because it is unused.
5904         * elf/dl-minimal.c: Update comment on the malloc implementation.
5905         (malloc): Renamed from __libc_memalign, replacing the original
5906         malloc implementation.  Replace the align parameter with
5907         MALLOC_ALIGNMENT.
5908         * elf/Versions (ld): Update comment and remove __libc_memalign.
5909         * sysdeps/nacl/ld.abilist: Likewise.
5910         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
5911         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
5912         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
5914         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
5915         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
5916         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
5924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
5925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
5927         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
5928         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
5929         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
5930         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
5931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
5933         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
5934         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
5935         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
5936         * sysdeps/generic/localplt.data (ld.so): Likewise.
5937         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
5938         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
5939         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
5940         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
5941         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
5942         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
5943         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
5944         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
5945         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
5946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
5947         (ld.so): Likewise.
5948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
5949         (ld.so): Likewise.
5950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
5951         Likewise.
5952         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
5953         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
5954         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
5955         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
5956         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
5958 2016-11-30  Florian Weimer  <fweimer@redhat.com>
5960         [BZ #16628]
5961         Implement _dl_catch_error, _dl_signal_error in libc.so.
5962         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
5963         (catch_hook): Define as thread-local or regular variable,
5964         depending on DL_ERROR_BOOTSTRAP.
5965         (CATCH_HOOK): Remove.
5966         (dl_signal_error, _dl_catch_error): Use
5967         catch_hook.  Add hidden definition for libc.
5968         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
5969         for DL_ERROR_BOOTSTRAP only.
5970         * elf/dl-error.c: New file.
5971         * elf/dl-error-minimal.c: Likewise.
5972         * elf/tst-latepthread.c: Likewise.
5973         * elf/tst-latepthreadmod.c: Likewise.
5974         * elf/Makefile (routines): Add dl-error.
5975         (dl-routines): Remove dl-error.
5976         (rtld-routines): Add dl-error-minimal.
5977         [build-shared] (tests): Add tst-latepthread.
5978         (module-names): Add tst-latepthreadmod.
5979         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
5980         symbol.
5981         (tst-latepthreadmod.so): Link against libpthread.
5982         (tst-latepthread): Link against libdbl.
5983         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
5984         _dl_catch_error.
5985         [ld] (GLIBC_PRIVATE): Likewise.
5986         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
5987         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
5988         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
5989         directly.
5990         * elf/dl-tsd.c: Remove file.
5991         * elf/rtld.c (_rtld_global_ro): Remove initializers for
5992         _dl_catch_error, _dl_signal_error.
5993         (_dl_initial_error_catch_tsd): Remove definition.
5994         (do_preload): Remove initialization of dl_error_catch_tsd.
5995         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
5996         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
5997         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5998         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5999         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6000         set dl_error_catch_tsd.
6001         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6002         _dl_error_catch_tsd member.
6003         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6004         members.
6005         (_dl_initial_error_catch_tsd): Remove declaration.
6006         (_dl_dprintf): Provide definition for use outside of ld.so.
6007         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6008         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6009         prototype for libc.
6010         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6011         _dl_catch_error.
6012         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6013         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6014         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6015         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6016         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6017         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6018         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6019         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6020         Likewise.
6021         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6023         (ld.so): Likewise.
6024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6025         (ld.so): Likewise.
6026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6027         Likewise.
6028         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6029         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6030         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6033         Likewise.
6034         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6036 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6038         [BZ #4099]
6039         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6040         _IO_BUFSIZ (8192).
6042 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6044         * PROJECTS: Remove file.
6046 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6048         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6050 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6051             Steve Ellcey  <sellcey@caviumnetworks.com>
6053         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6054         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6055         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6056         fxstatat.
6057         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6058         lxstat.
6059         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6060         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6061         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6062         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6063         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6064         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6065         __xstat.
6067 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6069         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6070         Define.
6071         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6072         definition.
6074 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6076         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6077         version and turn into strong alias.  Remove compat symbol.
6079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6080         (__longjmp): Remove.
6082 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6084         * bits/fp-fast.h: New file.
6085         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6086         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6087         * math/Makefile (headers): Add bits/fp-fast.h.
6088         * math/math.h: Include <bits/fp-fast.h>.
6089         * bits/mathdef.h (FP_FAST_FMA): Remove.
6090         (FP_FAST_FMAF): Likewise.
6091         (FP_FAST_FMAL): Likewise.
6092         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6093         (FP_FAST_FMAF): Likewise.
6094         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6095         (FP_FAST_FMAF): Likewise.
6096         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6097         (FP_FAST_FMAF): Likewise.
6098         (FP_FAST_FMAL): Likewise.
6099         * sysdeps/arm/bits/mathdef.h: Remove file.
6100         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6101         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6102         * sysdeps/tile/bits/mathdef.h: Likewise.
6104 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6106         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6107         * math/w_ilogb.c: Remove.
6108         * math/w_ilogbf.c: Likewise.
6109         * math/w_ilogbl.c: Likewise.
6110         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6111         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6112         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6113         (libm-calls): Remove w_ilogbF.
6114         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6115         (LDOUBLE_ilogbl_libm_version): New macro.
6117         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6119         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6120         [!__STRICT_ANSI__ && !__cplusplus].
6122 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6124         [BZ #20750]
6125         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6126         of PIC.
6128 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6129             Yury Norov  <ynorov@caviumnetworks.com>
6130             Steve Ellcey  <sellcey@caviumnetworks.com>
6132         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6133         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6134         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6135         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6136         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6137         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6138         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6139         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6140         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6141         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6142         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6143         to get correct reg name for ILP32.
6144         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6145         (RELA_SIZE): New Macro.
6146         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6147         to support ILP32.
6148         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6149         cast for ILP32 mode.
6150         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6151         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6152         * sysdeps/aarch64/memset.S (__memset): Ditto.
6153         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6154         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6155         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6156         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6157         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6158         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6159         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6160         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6161         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6162         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6163         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6164         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6165         change PTR_MANGLE call to use register numbers instead of names.
6166         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6167         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6168         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6169         * sysdeps/aarch64/start.S (_start): Ditto.
6170         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6171         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6172         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6173         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6174         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6175         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6176         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6177         Make defined values dependent on __ILP32__.
6178         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6179         (sem_t): Change __align type.
6180         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6181         PTR_SIZE): New Macros.
6182         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6183         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6184         Set when in ILP32 mode.
6185         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6186         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6187         Set elf flags for ILP32.
6188         (add_system_dir): Set ILP32 library directories.
6189         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6190         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6191         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6192         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6193         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6194         New Macros.
6195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6197 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6199         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6200         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6201         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6203 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6205         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6206         <asm/cachectl.h>.
6208 2016-11-27  Zack Weinberg  <zackw@panix.com>
6210         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6211         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6213 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6215         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6216         error_t to fix usage in C++ programs.
6218 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6220         * scripts/build-many-glibcs.py: Import datetime module.
6221         (Context.__init__): Load JSON build state.  Initialize list of
6222         status logs.
6223         (Context.run_builds): Update saved build state.
6224         (Context.add_makefile_cmdlist): Update list of status logs.
6225         (Context.load_build_state_json): New function.
6226         (Context.store_build_state_json): Likewise.
6227         (Context.clear_last_build_state): Likewise.
6228         (Context.update_build_state): Likewise.
6229         (CommandList.status_logs): Likewise.
6231 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6233         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6234         script being executed.
6235         (Context.get_script_text): New function.
6236         (Context.exec_self): Likewise.
6237         (Context.checkout): Re-exec script if changed by checkout process.
6239 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6241         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6242         (setpayloadsig): New declaration.
6243         * math/Versions (setpayloadsig): New libm symbol at version
6244         GLIBC_2.25.
6245         (setpayloadsigf): Likewise.
6246         (setpayloadsigl): Likewise.
6247         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6248         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6249         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6250         (setpayloadsig_test_data): New array.
6251         (setpayloadsig_test): New function.
6252         (main): Call setpayloadsig_test.
6253         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6254         setpayloadsigf and setpayloadsigl.
6255         * manual/libm-err-tab.pl: Update comment on interfaces without
6256         ulps tabulated.
6257         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6258         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6259         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6260         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6261         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6262         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6264         setpayloadsig.
6265         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6266         * sysdeps/nacl/libm.abilist: Update.
6267         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6268         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6269         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6270         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6271         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6272         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6273         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6274         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6275         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6276         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6277         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6278         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6280         Likewise.
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6282         Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6284         Likewise.
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6286         Likewise.
6287         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6288         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6289         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6293         Likewise.
6294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6295         Likewise.
6296         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6297         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6298         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6300         * scripts/build-many-glibcs.py: Import json module.
6301         (Context.__init__): Take replace_sources argument.  Load
6302         versions.json.
6303         (Context.load_versions_json): New function.
6304         (Context.store_json): Likewise.
6305         (Context.store_versions_json): Likewise.
6306         (Context.set_component_version): Likewise.
6307         (Context.checkout): Update versions.json.  Check for and handle
6308         changes of version.  Prefer previously explicitly specified
6309         version to default version.
6310         (Context.checkout_vcs): Return a revision identifier.
6311         (Context.git_checkout): Likewise.
6312         (Context.gcc_checkout): Likewise.
6313         (get_parser): Add --replace-sources option.
6314         (main): Pass replace_sources argument to Context call.
6316 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6318         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6319         * nptl/allocatestack.c (allocate_stack): Likewise.
6320         (__reclaim_stacks): Likewise.
6321         (setxid_signal_thread): Obtain pid through syscall.
6322         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6323         (sighandle_setxid): Likewise.
6324         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6325         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6326         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6327         Likewise.
6328         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6329         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6330         comment.
6331         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6332         * nptl/descr.h (struct pthread): Change comment about pid value.
6333         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6334         pid assert.
6335         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6336         Do not set pid value.
6337         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6338         pid cache check.
6339         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6340         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6341         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6342         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6343         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6344         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6345         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6346         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6347         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6348         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6349         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6350         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6351         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6352         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6353         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6354         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6355         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6356         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6357         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6358         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6359         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6360         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6361         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6362         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6363         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6366         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6367         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6368         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6369         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6370         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6371         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6372         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6373         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6374         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6375         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6376         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6377         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6378         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6379         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6380         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6381         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6384         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6385         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6386         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6387         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6388         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6389         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6390         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6391         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6392         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6393         struct access.
6394         (clone_test): Remove function.
6395         (do_test): Rewrite to take in consideration pid is not cached anymore.
6397 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6399         * bits/flt-eval-method.h: New file.
6400         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6401         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6402         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6403         * math/Makefile (headers): Add bits/flt-eval-method.h.
6404         * math/math.h: Include <bits/flt-eval-method.h>.
6405         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6406         [__USE_ISOC99] (double_t): Likewise.
6407         * bits/mathdef.h (float_t): Remove.
6408         (double_t): Likewise.
6409         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6410         (double_t): Likewise.
6411         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6412         (double_t): Likewise.
6413         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6414         (double_t): Likewise.
6415         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6416         (double_t): Likewise.
6417         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6418         (double_t): Likewise.
6419         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6420         (double_t): Likewise.
6421         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6422         (double_t): Likewise.
6423         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6424         (double_t): Likewise.
6425         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6426         (double_t): Likewise.
6427         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6428         (double_t): Likewise.
6429         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6430         (double_t): Likewise.
6431         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6432         (double_t): Likewise.
6433         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6434         (double_t): Likewise.
6436 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6438         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6439         instead of PIC.
6441 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6443         [BZ #20859]
6444         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6445         (-0x7fffffff) instead of 0x80000001.
6446         * math/test-fp-ilogb-constants.c: New file.
6447         * math/Makefile (tests): Add test-fp-ilogb-constants.
6449 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6451         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6452         (_init): Use it in place of hardcoded R_MIPS_JALR.
6453         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6454         (_init): Use it in place of hardcoded R_MIPS_JALR.
6455         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6456         (_init): Use it in place of hardcoded R_MIPS_JALR.
6458 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6460         [BZ #20787]
6461         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6462         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6463         (double_t): Do not define to double if [__x86_64__] when
6464         __FLT_EVAL_METHOD__ is nonzero.
6465         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6466         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6467         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6468         test-flt-eval-method-387 and test-flt-eval-method-sse.
6469         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6470         variable.
6471         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6473 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6475         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6476         use of -fno-isolate-erroneous-paths options for tilepro.
6478 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6480         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6481         structure initialization is no longer needed.
6483 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6485         [BZ #20855]
6486         * bits/mathdef.h (float_t): Define to float.
6487         * math/test-flt-eval-method.c: New file.
6488         * math/Makefile (tests): Add test-flt-eval-method.
6489         (CFLAGS-test-flt-eval-method.c): New variable.
6491 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6493         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6494         and __fstatfs.  Make them aliases of __fstatfs64 if
6495         STATFS_IS_STATFS64 is set to non-zero.
6496         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6497         and __statfs64.
6498         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6499         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6500         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6501         for __statfs and statfs.
6502         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6503         to 0.
6504         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6505         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6506         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6507         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6508         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6509         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6512         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6513         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6514         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6515         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6517 2016-11-22  Andreas Schwab  <schwab@suse.de>
6519         * misc/mkstemp.c: Include <fcntl.h>.
6520         * misc/mkstemps.c: Likewise.
6521         * misc/mkostemp.c: Likewise.
6522         * misc/mkostemps.c: Likewise.
6524 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6526         [BZ #20847]
6527         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6528         array bounds.
6529         (__execvpe): Likewise.
6531 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6533         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6534         -fno-isolate-erroneous-paths options for tilepro.
6536 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6538         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6539         to 0 when in 32 bit mode.
6540         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6541         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6542         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6543         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6545         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6546         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6547         XSTAT_IS_XSTAT64 test.
6548         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6549         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6550         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6551         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6552         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6553         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6554         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6555         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6556         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6557         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6558         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6560 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6562         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6563         (setpayload): New declaration.
6564         * math/Versions (setpayload): New libm symbol at version
6565         GLIBC_2.25.
6566         (setpayloadf): Likewise.
6567         (setpayloadl): Likewise.
6568         * math/Makefile (libm-calls): Add s_setpayloadF.
6569         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6570         test_Ff_b1_data.
6571         (RUN_TEST_Ff_b1): New macro.
6572         (RUN_TEST_LOOP_Ff_b1): Likewise.
6573         (canonicalize_test_data): Update type.
6574         (setpayload_test_data): New array.
6575         (setpayload_test): New function.
6576         (main): Call setpayload_test.
6577         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6578         setpayloadf and setpayloadl.
6579         * manual/libm-err-tab.pl: Update comment on interfaces without
6580         ulps tabulated.
6581         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6582         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6583         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6584         Likewise.
6585         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6586         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6587         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6588         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6589         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6590         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6591         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6592         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6593         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6594         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6595         setpayload.
6596         (CFLAGS-nldbl-setpayload.c): New variable.
6597         * sysdeps/nacl/libm.abilist: Update.
6598         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6599         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6600         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6601         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6602         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6603         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6608         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6611         Likewise.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6613         Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6615         Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6617         Likewise.
6618         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6619         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6620         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6621         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6622         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6624         Likewise.
6625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6626         Likewise.
6627         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6628         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6629         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6631 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6633         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6634         * include/unistd.h: Extend comment about __access_noerrno return
6635         semantics.
6636         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6637         (access_common): Correct typo for EACCES.
6639 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6641         * sysdeps/tile/math-tests.h: New file.
6643         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6644         (__old_set_dataplane): Rename from set_dataplane and make a
6645         compatibility symbol.
6646         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6647         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6648         sys/dataplane.h.
6650 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6652         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6653         script quote words in command output to log suitably for input to
6654         the shell.
6656 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6657             Maciej W. Rozycki  <macro@imgtec.com>
6659         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6660         `.Lno_weak_fn' label.
6661         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6662         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6664 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6665             Yury Norov  <ynorov@caviumnetworks.com>
6667         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6668         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6669         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6670         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6671         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6672         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6673         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6674         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6675         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6676         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6677         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6678         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6679         (sysdep_routines): Remove oldgetrlimit64.
6680         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6681         (sysdep_routines): Likewise.
6682         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6683         (sysdep_routines): Likewise.
6684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6685         [$(subdir) = resource] (sysdep_routines): Likewise.
6686         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6687         [$(subdir) = resource] (sysdep_routines): Likewise.
6688         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6689         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6690         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6691         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6692         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6693         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6694         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6695         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6696         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6697         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6698         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6699         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6700         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6701         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6702         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6703         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6704         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6705         setrlimit and getrlimit.
6706         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6707         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6708         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6711         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6712         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6713         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6715         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6716         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6717         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6718         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
6719         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
6720         (__old_getrlimit64): Add compatibility symbol.
6721         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
6723 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
6725         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
6726         newly built gmp, mpfr and mpc.
6728         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
6730 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6732         * conform/Makefile (linknamespace-libs): Rename to
6733         linknamespace-libs-thr.
6734         (linknamespace-libs-posix): New variable.
6735         (linknamespace-libs-xsi): Likewise.
6736         (linknamespace-libs-XPG3): Include libcrypt.a.
6737         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
6738         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
6739         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
6740         (linknamespace-libs-XOPEN2K): Likewise.
6741         (linknamespace-libs-XOPEN2K8): Likewise.
6742         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
6744         [BZ #20829]
6745         * stdio-common/Versions (__snprintf): Add to version
6746         GLIBC_PRIVATE.
6747         * include/stdio.h (__snprintf): Use libc_hidden_proto.
6748         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
6749         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
6750         of snprintf.
6751         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6753 2016-11-16  Zack Weinberg  <zackw@panix.com>
6755         * string/string.h: Remove obsolete comment stating that
6756         strcoll_l and strxfrm_l have not yet been standardized.
6758 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6760         * hurd/hurd.h (__hurd_fail_noerrno): New function.
6761         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
6762         __access_noerrno.
6763         * io/access.c (__access_noerrno): New function.
6764         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
6765         (hurd_fail_seterrno): Likewise.
6766         (access_common): Likewise.
6767         (__access_noerrno): Likewise.
6768         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
6769         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
6770         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
6771         macro.
6773 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
6775         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
6776         Only declare fpregs if [__SH_FPU_ANY__].
6778 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
6780         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
6781         Make code unconditional.
6782         [!(__SH4__ || __SH4A__)]: Remove conditional code.
6784 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
6786         * manual/sysinfo.texi (S_APPEND): Delete.
6787         (S_IMMUTABLE): Likewise.
6789 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
6790             Magnus Granberg  <zorry@gentoo.org>
6791             Mike Frysinger  <vapier@gentoo.org>
6793         [BZ #20662]
6794         * configure.ac (libc_cv_predef_stack_protector): Also check for
6795         __stack_chk_fail_local symbols.
6796         * configure: Regenerated.
6798 2016-11-15  Florian Weimer  <fweimer@redhat.com>
6800         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6801         (libc_hidden_def): Remove redefinition.
6802         (__sigsetjmp): Add hidden definition.
6803         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
6804         (libc_hidden_def): Remove redefinition.
6805         (__sigsetjmp): Add hidden definition.
6807 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
6809         * scripts/build-many-glibcs.py (os.path): Do not import.
6810         (Context): Inherit explicitly from object.  Remove blank line
6811         between class and docstring.
6812         (Config): Likewise.
6813         (Glibc): Likewise.
6814         (Command): Likewise.
6815         (CommandList): Likewise.
6816         (Context.write_files): Store chmod mode in a variable.
6818         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
6819         LIBC_SLIBDIR_RTLDDIR for tilegx32.
6820         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
6822 2016-11-14  Zack Weinberg  <zackw@panix.com>
6824         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
6825         creating or re-creating it.
6827         * string/bits/string2.h: Fix typo in comment.
6829 2016-11-14  Zack Weinberg  <zackw@panix.com>
6831         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
6832         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
6833         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
6834         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
6835         of redirected function names.
6837         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
6838         as well.  Document that MESSAGE must be a single string literal.
6840 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
6842         * scripts/build-many-glibcs.py: New file.
6844         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
6845         (do_test): Disable -Wmaybe-uninitialized around uses of
6846         except_mask.
6848         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
6850 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
6852         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
6853         (atomic_store_release): Provide tilepro-specific implementations.
6855 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
6857         * math/math.h (__MATH_TG): New macro.
6858         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
6859         [__USE_ISOC99] (signbit): Likewise.
6860         [__USE_ISOC99] (isfinite): Likewise.
6861         [__USE_ISOC99] (isnan): Likewise.
6862         [__USE_ISOC99] (isinf): Likewise.
6863         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
6864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
6865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
6866         __MATH_TG and __MATH_EVAL_FMT2.
6867         * sysdeps/generic/math_private.h (fabs_tg): Define using
6868         __MATH_TG.
6869         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6870         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
6871         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
6872         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
6873         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
6874         macro.
6875         (__iscanonical): Likewise.
6876         (iscanonical): Define using __MATH_TG.
6878 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6880         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
6881         guards.
6883         * sysdeps/unix/sysv/linux/access.c: New file.
6884         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
6886 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
6888         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
6889         and __WORDSIZE32_PTRDIFF_LONG.
6891 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6893         * sysdeps/aarch64/libm-test-ulps: Regenerated.
6895 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6897         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
6898         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
6899         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
6900         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
6901         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
6902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
6903         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
6904         * sysdeps/unix/sysv/linux/truncate.c: New file.
6905         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
6906         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6907         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
6908         Remove.
6909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
6910         Likewise.
6912         * posix/tst-truncate-common.c: New file.
6913         * posix/tst-truncate.c: Use tst-truncate-common.c.
6914         * posix/tst-truncate64.c: Likewise and add LFS tests.
6915         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
6916         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
6917         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
6918         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
6919         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
6920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
6921         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
6922         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
6923         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
6924         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
6925         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
6926         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
6927         Remove.
6928         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
6929         Likewise.
6931 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
6933         [BZ #20790]
6934         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
6935         to MAXLINESIZE.
6936         * sunrpc/bug20790.x: New file.
6937         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
6938         variable.
6939         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
6940         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
6942         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
6944         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
6946         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
6947         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
6948         calloc, realloc, free, memalign and __libc_memalign rather than
6949         making them optional.
6951         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
6952         for libc.so.
6954 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6956         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
6957         ptw-lseek64.
6958         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
6959         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
6962         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
6963         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
6964         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
6965         * sysdeps/unix/sysv/linux/lseek.c: New file.
6966         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
6967         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
6968         __libc_lseek64 from auto-generation.
6969         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6970         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
6972 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6974         * nptl/tst-basic1.c (tf, do_test): Use write_message.
6975         * nptl/tst-cleanup1.c (do_test): Likewise.
6976         * nptl/tst-cleanup3.c (do_test): Likewise.
6977         * nptl/tst-key1.c (do_test): Likewise.
6978         * nptl/tst-key2.c (tf, do_test): Likewise.
6979         * nptl/tst-key3.c (tf, do_test): Likewise.
6980         * nptl/tst-stdio1.c (do_test): Likewise.
6981         * nptl/tst-stdio2.c (do_test): Likewise.
6983         * nptl/tst-kill3.c (handler): Use write_message in place of write.
6984         * nptl/tst-kill6.c (handler): Likewise.
6985         * nptl/tst-tls2.c (CB): Likewise.
6986         * nptl/tst-tls3.c (CB): Likewise.
6988 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
6990         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
6992 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
6993             Steve Ellcey  <sellcey@caviumnetworks.com>
6995         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
6996           __ASSUME_ST_INO_64_BIT as 0
6997         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
6998         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
6999           over the code where __ASSUME_ST_INO_64_BIT is used.
7000         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7001         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7002         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7004 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7006         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7007         Document ABI exposure of the __kind offset.
7008         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7009         Mention reason for the __kind offset exposure in the ABI.
7010         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7011         Likewise.
7012         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7013         Likewise.
7014         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7015         Likewise.
7016         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7017         (struct __pthread_mutex_s): Likewise.
7018         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7019         Likewise.
7020         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7021         Likewise.
7022         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7023         Likewise.
7024         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7025         Likewise.
7026         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7027         Likewise.
7028         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7031         (struct __pthread_mutex_s): Likewise.
7032         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7033         (struct __pthread_mutex_s): Likewise.
7034         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7035         Likewise.
7037 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7039         * test-skeleton.c: Document do_test usage.
7041 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7043         * iconv/gconv.h (__gconv_info): Define __data element using a
7044         zero-length array.
7046 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7048         * math/test-tgmath2.c: Split up test function.
7050 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7052         * Rules (tests-expected): New variable, depending on
7053         $(run-built-tests).
7054         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7055         $(tests).
7057         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7058         $(tests-unsupported).
7060 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7062         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7063         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7065 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7067         [BZ #20768]
7068         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7069         __fegetenv instead of fegetenv.
7071         [BZ #14139]
7072         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7073         (find_files): Obtain platform name from libm-test-ulps-name and
7074         store in %pplatforms.
7075         (canonicalize_platform): Remove.
7076         (print_platforms): Use $pplatforms directly.
7077         (by_platforms): Do not allow for platforms missing from
7078         %pplatforms.
7079         * sysdeps/aarch64/libm-test-ulps-name: New file.
7080         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7081         * sysdeps/arm/libm-test-ulps-name: Likewise.
7082         * sysdeps/generic/libm-test-ulps-name: Likewise.
7083         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7084         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7085         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7086         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7087         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7088         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7089         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7090         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7091         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7092         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7093         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7094         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7095         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7096         * sysdeps/sh/libm-test-ulps-name: Likewise.
7097         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7098         * sysdeps/tile/libm-test-ulps-name: Likewise.
7099         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7101         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7103         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7104         (test-xfail-check-execstack): New variable.
7106         * sysdeps/mips/localplt.data: New file.
7108 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7109             Steve Ellcey  <sellcey@caviumnetworks.com>
7111         * bits/wordsize.h: Add documentation.
7112         * sysdeps/aarch64/bits/wordsize.h : New file
7113         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7114         definitions.
7115         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7116         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7117         with #if instead of #ifdef.
7118         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7119         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7120         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7121         Add or change defines.
7122         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7123         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7124         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7125         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7126         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7127         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7128         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7129         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7130         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7131         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7132         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7133         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7134         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7135         * sysdeps/x86/bits/wordsize.h: Likewise.
7137 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7138             Kevin Petit  <kevin.petit@arm.com>
7140         * sysdeps/aarch64/memchr.S (__memchr): New file.
7142 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7144         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7146 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7148         [BZ #19398]
7149         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7150         $(linknamespace-symlists-tests).
7152 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7154         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7156 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7157             Carlos O'Donell  <carlos@redhat.com>
7159         [Bug #20729]
7160         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7161         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7162         for -Os related change.
7164 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7166         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7168 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7170         [BZ #19673]
7171         * manual/math.texi (Exponents and Logarithms): Correct description
7172         of clog10.
7174 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7176         [Bz #20729]
7177         * locale/weight.h: Include libc-internal.h.
7178         * locale/weightwc.h: Likewise.
7179         * nptl/nptl_dbP.h: Likewise.
7181 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7183         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7184         when it is MACH_PORT_NULL.
7186 2016-10-31  Andreas Schwab  <schwab@suse.de>
7188         [BZ #20707]
7189         * posix/glob.c (glob): Initialize pglob before checking for
7190         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7191         valid brace expression despite GLOB_BRACE.
7192         * posix/globtest.sh: Test it.
7194 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7196         [BZ #20729]
7197         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7198         Define.
7199         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7200         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7201         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7202         for seq2.back_us and seq1.back_us only for -Os compiles.
7203         * locale/weightwc.h (findix): Likewise.
7204         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7205         DB_GET_FIELD_ADDRESS only for -Os compiles.
7206         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7207         for slen only for -Os compiles.
7208         * string/strcoll_l.c (get_next_seq): Ignore
7209         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7210         for -Os compiles.
7212         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7213         * include/crypt.h: New file.
7215 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7217         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7218         from test-skeleton.c.
7219         (statclass): Replace calls to write with calls to write_message.
7221 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7223         * math/math.h
7224         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7225         New macro.
7226         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7227         Likewise.
7228         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7229         Likewise.
7230         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7231         SNANL.
7232         * math/test-double.h (snan_value_MACRO): New macro.
7233         * math/test-float.h (snan_value_MACRO): Likewise.
7234         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7235         * math/libm-test.inc (issignaling_test_data): Add tests of
7236         snan_value_MACRO.
7238 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7240         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7241         behavior when eliding a lock not held by the current thread.
7242         * sysdeps/powerpc/nptl/elide.h: Likewise.
7244 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7246         [BZ #20728]
7247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7248         branch to _exit() by a function call.
7250 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7252         * malloc/malloc.c: Update chunk layout comments.
7253         (chunk_main_arena): Update comment.
7255 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7257         * crypt/sha256.c, crypt/sha256-block.c,
7258         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7259         sha256_process_block to __sha256_process_block.
7260         * crypt/sha512.c, crypt/sha512-block.c,
7261         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7262         sha512_process_block to __sha512_process_block.
7264 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7266         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7268         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7270 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7272         [BZ #20019]
7273         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7274         definition in unrelocated shared library.
7275         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7277 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7279         [BZ #20729]
7280         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7281         * sysdeps/unix/sysv/linux/i386/Makefile
7282         (uses-6-syscall-arguments): Define.
7283         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7284         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7285         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7286         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7287         Likewise.
7288         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7289         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7290         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7291         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7292         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7293         (CFLAGS-fallocate64.os): Likewise.
7294         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7295         (CFLAGS-pthread_rwlock_timedrdlock.os)
7296         (CFLAGS-pthread_rwlock_timedwrlock.o)
7297         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7298         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7299         (CFLAGS-sem_timedwait.os): Likewise.
7301 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7303         * elf/tst-linkall-static.c: New file.
7304         * elf/Makefile (tests-static): Add tst-linkall-static.
7305         (tst-linkall-static): Link against static libraries.
7307 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7309         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7310         mmaped chunks.
7312 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7314         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7315         members to mchunk_prev_size, mchunk_size.
7316         (chunk_main_arena): Reverse sense and rename from
7317         chunk_non_main_arena.
7318         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7319         mchunk_size instead of size.
7320         (set_non_main_arena): Define.
7321         (chunksize): Use chunksize_nomask instead of direct member access.
7322         (chunksize_nomask): Define.
7323         (next_chunk): Use chunksize instead of direct member access.
7324         (prev_size, set_prev_size): Define.
7325         (prev_chunk): Use prev_size instead of direct member access.
7326         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7327         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7328         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7329         (mchunk_prev_size, mchunk_size): Poison tokens.
7330         (unlink): Use chunksize_nomask, prev_size accessors.
7331         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7332         (do_check_free_chunk): Use prev_size accessor.
7333         (sysmalloc): Use set_prev_size, set_head accessors.
7334         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7335         (__libc_free): Use chunksize_nomask accessor.
7336         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7337         chunk_main_arena accessors.
7338         (_int_free): Use chunksize_nomask, prev_size accessors.
7339         (malloc_consolidate): Use chunksize, prev_size accessors.
7340         (_int_realloc): Use chunksize_nomask accessor.
7341         (_int_memalign): Use set_prev_size accessor.
7342         (__malloc_info): Use chunksize_nomask accessor.
7343         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7344         accessors.
7345         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7346         (heap_trim): Use chunksize_nomask, prev_size accessors.
7348 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7350         [BZ #19380]
7351         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7352         for inexact results.
7353         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7354         of inexact result where mpfr_subnormalize is the only inexact
7355         step.
7356         * stdlib/tst-strtod-round-data.h: Regenerated.
7357         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7358         Define to 0.
7359         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7361 2016-10-27  David S. Miller  <davem@davemloft.net>
7363         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7365 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7367         * malloc/malloc.c (do_set_mallopt_check): New function.
7368         (do_set_mmap_threshold): Likewise.
7369         (do_set_mmaps_max): Likewise.
7370         (do_set_top_pad): Likewise.
7371         (do_set_perturb_byte): Likewise.
7372         (do_set_trim_threshold): Likewise.
7373         (do_set_arena_max): Likewise.
7374         (do_set_arena_test): Likewise.
7375         (__libc_mallopt): Use them.
7377 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7379         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7380         (canonicalize): New declaration.
7381         * math/Versions (canonicalize): New libm symbol at version
7382         GLIBC_2.25.
7383         (canonicalizef): Likewise.
7384         (canonicalizel): Likewise.
7385         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7386         * math/s_canonicalize_template.c: New file.
7387         * math/libm-test.inc: Update comment on functions tested and
7388         testing of NaN payloads.
7389         (TEST_NAN_PAYLOAD): New macro.
7390         (NO_TEST_INLINE): Update value.
7391         (XFAIL_TEST): Likewise.
7392         (ERRNO_UNCHANGED): Likewise.
7393         (ERRNO_EDOM): Likewise.
7394         (ERRNO_ERANGE): Likewise.
7395         (IGNORE_RESULT): Likewise.
7396         (NON_FINITE): Likewise.
7397         (TEST_SNAN): Likewise.
7398         (NO_TEST_MATHVEC): Likewise.
7399         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7400         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7401         (struct test_Ffp_b1_data): New type.
7402         (RUN_TEST_Ffp_b1): New macro.
7403         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7404         (canonicalize_test_data): New array.
7405         (canonicalize_test): New function.
7406         (main): Call canonicalize_test.
7407         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7408         canonicalizef and canonicalizel.
7409         * manual/libm-err-tab.pl: Update comment on interfaces without
7410         ulps tabulated.
7411         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7412         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7413         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7414         canonicalize.
7415         (CFLAGS-nldbl-canonicalize.c): New variable.
7416         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7417         to ...
7418         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7419         ... here.
7420         (do_test): Also test canonicalizel.
7421         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7422         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7423         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7424         file.
7425         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7426         Use libm_hidden_def.
7427         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7428         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7429         (do_test): Also test canonicalizel.
7430         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7431         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7432         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7433         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7434         libm_hidden_def.
7435         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7436         macro.
7437         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7438         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7439         * sysdeps/nacl/libm.abilist: Update.
7440         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7445         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7446         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7447         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7448         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7451         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7453         Likewise.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7455         Likewise.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7457         Likewise.
7458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7459         Likewise.
7460         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7466         Likewise.
7467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7468         Likewise.
7469         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7470         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7471         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7473         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7474         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7475         getpayload.
7476         (CFLAGS-nldbl-getpayload.c): New variable.
7478 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7480         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7481         integer from the format string.
7483 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7485         [BZ #19473]
7486         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7487         declarations.
7488         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7489         weak aliases.
7490         * malloc/hooks.c (__malloc_get_state): Remove definition.
7491         (malloc_get_state): New stub implementation as
7492         compatibility symbol.
7493         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7494         compat symbol.
7495         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7496         malloc_set_state.
7497         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7499 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7501         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7502         (names): Turn into concatenation of strings.
7503         (gconv_init): Adapt iteration over names.
7505 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7507         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7508         make const.
7509         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7510         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7511         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7512         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7513         character in sbconv.
7514         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7515         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7516         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7518 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7520         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7522         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7523         (M_TRIM_THRESHOLD): Likewise.
7525         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7526         (M_ARENA_MAX): Likewise.
7527         * malloc/malloc.c: Remove obsolete comment.
7529         * manual/memory.texi: Add environment variable alternatives to
7530         setting mallopt parameters.
7532 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7534         * include/atomic.h
7535         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7536         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7538 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7540         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7541         * stdlib/tst-strfrom.h: New file.
7542         * stdlib/tst-strfrom.c: New file.
7543         * stdlib/tst-strfrom-locale.c: New file.
7545         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7546         * stdlib/bug-strtod2.c: Likewise.
7547         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7548         * stdlib/tst-strtod6.c: Likewise.
7549         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7551 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7553         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7554         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7555         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7556         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7557         * stdlib/stdlib.h (strfromd): New declaration.
7558         (strfromf): Likewise.
7559         (strfroml): Likewise.
7560         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7561         strfrom.
7562         * stdlib/strfromd.c: New file.
7563         * stdlib/strfromf.c: Likewise.
7564         * stdlib/strfroml.c: Likewise.
7565         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7566         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7567         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7568         * sysdeps/arm/nacl/libc.abilist: Update.
7569         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7573         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7574         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7579         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7580         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7581         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7582         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7587         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7588         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7589         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7590         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7591         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7594         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7595         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7596         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7598 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7600         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7601         instead of cmpli.
7602         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7603         instead of cmpli.
7605 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7607         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7608         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7609         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7610         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7611         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7612         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7614 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7616         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7617         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7618         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7619         SYSCALL_LL64_PRW.
7620         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7621         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7622         __ASSUME_PRW_DUMMY_ARG.
7623         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7624         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7625         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7626         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7627         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7628         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7630 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7632         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7634 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7636         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7637         "C++", to override a potential extern "C" directive around the
7638         header file inclusion.
7640 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7642         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7644 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7646         * sysdeps/powerpc/fpu/fenv_private.h:
7647         (_FPU_MASK_ALL): Rename to...
7648         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7649         XE FPSCR bits.
7651         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7653         (_FPU_MASK_ROUNDING): Rename to...
7654         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7655         NI bits.
7657         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7658         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7659         bits and rounding bits.
7661         (__libc_feholdbits_ppc): New inline function to mask, set,
7662         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7663         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7664         (libc_feholdexcept_setround_ppc): Likewise.
7666         (__libc_femergeenv_ppc): New function to dynamically mask both
7667         old and new FP environments and merge.
7668         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7669         (libc_feresetround_ppc): Likewise.
7670         (libc_feupdateenv_test_ppc): Likewise.
7671         (libc_feupdateenv_ppc): Likewise.
7673         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7674         of ISA RN bits, and update macro names.
7675         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7676         effectively the same as the previously mentioned function.
7678         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7679         usage with fe_resetround_ppc.
7681         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7682         to be used.
7683         (libc_feholdexcept_setround_ctxf): Likewise.
7684         (libc_feholdexcept_setround_ctxl): Likewise.
7686 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7688         [BZ #20715]
7689         * math/math.h [__cplusplus] (iszero): Define as function template.
7690         * math/Makefile [CXX] (tests): Add test-math-iszero.
7691         (CFLAGS-test-math-iszero.cc): Set.
7692         * math/test-math-iszero.cc: New file.
7694 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7696         [BZ #20660]
7697         * sysdeps/arm/e_sqrt.c: New file.
7698         * sysdeps/arm/e_sqrtf.c: Likewise.
7700 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7702         [BZ #20718]
7703         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7704         not use floating-point comparisons to test sign.
7705         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7706         Likewise.
7708         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7709         (getpayload): New declaration.
7710         * math/Versions (getpayload): New libm symbol at version
7711         GLIBC_2.25.
7712         (getpayloadf): Likewise.
7713         (getpayloadl): Likewise.
7714         * math/Makefile (libm-calls): Add s_getpayloadF.
7715         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7716         (struct test_f_f_data): Add comment.
7717         (RUN_TEST_fp_f): New macro.
7718         (RUN_TEST_LOOP_fp_f): Likewise.
7719         (getpayload_test_data): New array.
7720         (getpayload_test): New function.
7721         (main): Call getpayload_test.
7722         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
7723         descriptor.
7724         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
7725         getpayloadf and getpayloadl.
7726         * manual/libm-err-tab.pl: Update comment on interfaces without
7727         ulps tabulated.
7728         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
7729         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
7730         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
7731         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
7732         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
7733         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
7734         * sysdeps/nacl/libm.abilist: Update.
7735         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7736         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7737         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7738         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7739         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7740         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7741         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7748         Likewise.
7749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7750         Likewise.
7751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7752         Likewise.
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7754         Likewise.
7755         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7756         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7757         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7758         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7759         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7761         Likewise.
7762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7763         Likewise.
7764         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7765         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7766         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7768 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7770         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
7771         tst-fallocate{64}.
7772         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
7773         on syscall return.
7775 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
7777         [BZ #20689]
7778         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
7779         usable.
7781 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
7783         * sysdeps/generic/nan-high-order-bit.h: New file.
7784         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
7785         * sysdeps/mips/nan-high-order-bit.h: Likewise.
7786         * sysdeps/hppa/math_private.h: Remove file.
7787         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
7788         not define here.
7789         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
7790         <nan-high-order-bit.h>.
7791         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7792         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
7793         <nan-high-order-bit.h>.
7794         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7795         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
7796         <nan-high-order-bit.h>.
7797         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7798         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
7799         <nan-high-order-bit.h>.
7800         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7801         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
7802         <nan-high-order-bit.h>.
7803         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7804         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
7805         <nan-high-order-bit.h>.
7806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7807         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
7808         <nan-high-order-bit.h>.
7809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7810         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
7811         <nan-high-order-bit.h>.
7812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7813         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
7814         <nan-high-order-bit.h>.
7815         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7816         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
7817         <nan-high-order-bit.h>.
7818         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7819         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
7820         <nan-high-order-bit.h>.
7821         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7822         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
7823         <nan-high-order-bit.h>.
7824         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7825         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
7826         <nan-high-order-bit.h>.
7827         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7828         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
7829         <nan-high-order-bit.h>.
7830         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7831         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
7832         <nan-high-order-bit.h>.
7833         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7834         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
7835         <nan-high-order-bit.h>.
7836         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7837         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
7838         <nan-high-order-bit.h>.
7839         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7840         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
7841         <nan-high-order-bit.h>.
7842         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
7844 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7846         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
7848 2016-09-22  John David Anglin  <dave.anglin@bell.net>
7850         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
7851         abort-instr.h.
7852         (EFAULT): Remove conditional define.
7853         (ENOSYS): Likewise.
7854         (atomic_compare_and_exchange_val_acq): Use instruction nullification
7855         instead of conditional branch instructions.
7857 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
7859         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7860         (totalordermag): New declaration.
7861         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
7862         New macro.
7863         * math/Versions (totalordermag): New libm symbol at version
7864         GLIBC_2.25.
7865         (totalordermagf): Likewise.
7866         (totalordermagl): Likewise.
7867         * math/Makefile (libm-calls): Add s_totalordermagF.
7868         * math/libm-test.inc (totalordermag_test_data): New array.
7869         (totalordermag_test): New function.
7870         (main): Call totalordermag_test.
7871         * math/test-tgmath.c (NCALLS): Increase to 125.
7872         (F(compile_test)): Call totalordermag.
7873         (F(totalordermag)): New function.
7874         * manual/arith.texi (FP Comparison Functions): Document
7875         totalordermag, totalordermagf and totalordermagl.
7876         * manual/libm-err-tab.pl: Update comment on interfaces without
7877         ulps tabulated.
7878         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
7879         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
7880         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
7881         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
7882         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
7883         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
7884         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
7885         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7886         totalordermag.
7887         (CFLAGS-nldbl-totalordermag.c): New variable.
7888         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
7889         (do_test): Also test totalordermagl.
7890         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
7891         Likewise.
7892         * sysdeps/nacl/libm.abilist: Update.
7893         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7894         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7895         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7896         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7897         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7898         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7908         Likewise.
7909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7912         Likewise.
7913         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7919         Likewise.
7920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7921         Likewise.
7922         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7923         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7924         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7926 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
7928         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
7929         boolean.
7931 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
7933         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
7934         raising FE_INVALID with feraisexcept in case where part of
7935         argument is infinite, subtract that part of argument from itself.
7936         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
7937         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
7938         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
7940 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7942         * math/libm-test.inc (totalorder_test_data): Add more tests.
7944 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7946         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
7947         Undefine weak_alias and add a comment why mips64 require
7948         versioning.
7950 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
7952         [BZ #20647]
7953         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
7954         maximum CPUID level is less than 2.
7956 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
7958         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7959         (totalorder): New declaration.
7960         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
7961         New macro.
7962         * math/Versions (totalorder): New libm symbol at version
7963         GLIBC_2.25.
7964         (totalorderf): Likewise.
7965         (totalorderl): Likewise.
7966         * math/Makefile (libm-calls): Add s_totalorderF.
7967         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
7968         string.
7969         * math/libm-test.inc (PAYLOAD_DIG): New macro.
7970         (qnan_value_pl): Likewise.
7971         (snan_value_pl): Likewise.
7972         (qnan_value): Define using qnan_value_pl.
7973         (snan_value): Define using snan_value_pl.
7974         (struct test_ff_i_data): Add comment about which tests use this
7975         structure.
7976         (RUN_TEST_ff_b): New macro.
7977         (RUN_TEST_LOOP_ff_b): Likewise.
7978         (totalorder_test_data): New array.
7979         (totalorder_test): New function.
7980         (main): Call totalorder_test.
7981         * math/test-tgmath.c (NCALLS): Increase to 122.
7982         (F(compile_test)): Call totalorder.
7983         (F(totalorder)): New function.
7984         * manual/arith.texi (FP Comparison Functions): Document
7985         totalorder, totalorderf and totalorderl.
7986         * manual/libm-err-tab.pl: Update comment on interfaces without
7987         ulps tabulated.
7988         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
7989         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
7990         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
7991         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
7992         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
7993         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
7994         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
7995         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7996         totalorder.
7997         (CFLAGS-nldbl-totalorder.c): New variable.
7998         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
7999         file.
8000         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8001         Add test-totalorderl-ldbl-128ibm.
8002         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8003         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8004         test-totalorderl-ldbl-96.
8005         * sysdeps/nacl/libm.abilist: Update.
8006         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8007         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8009         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8010         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8012         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8013         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8014         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8016         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8017         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8019         Likewise.
8020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8021         Likewise.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8023         Likewise.
8024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8025         Likewise.
8026         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8028         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8029         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8032         Likewise.
8033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8034         Likewise.
8035         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8036         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8037         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8039 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8041         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8042         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8043         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8044         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8045         remove ENOSYS implementation.
8046         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8047         Consolidate all Linux implementations.
8049 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8051         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8052         * resolv/herror.c (herror): Cast away const-ness.
8053         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8054         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8056 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8058         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8059         instead of M_NAN + M_NAN.
8060         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8062 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8064         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8065         unused variable 'p'.
8067 2016-10-09  Alan Modra  <amodra@gmail.com>
8068             Andreas Schwab  <schwab@linux-m68k.org>
8070         [BZ #20554]
8071         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8072         [PIC && !SHARED]: Set up PIC register for PLT call.
8074 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8076         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8077         conditional on value of [__FLT_EVAL_METHOD__].
8078         * math/test-iseqsig-excess-precision.c: New file.
8079         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8081 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8083         * math/s_iseqsig_template.c: Include math-private.h.
8085         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8086         * posix/tst-posix_fadvise.c: New file.
8087         * posix/tst-posix_fadvise64.c: Likewise.
8088         * posix/tst-posix_fadvise-common.c: Likewise.
8089         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8090         (__ASSUME_FADVISE64_64_6ARG): Define.
8091         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8092         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8093         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8094         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8095         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8096         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8097         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8098         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8099         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8100         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8101         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8102         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8105         Likewise.
8106         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8107         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8109         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8110         Alias to __posix_fadvise64_l32.
8111         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8112         Add compat definition to posix_fadvise64.
8113         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8114         Add versioned definition to posix_fadvise64.
8115         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8116         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8117         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8118         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8119         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8121         * io/Makefile (tests): Add tst-posix_fallocate and
8122         tst-posix_fallocate64.
8123         * io/tst-posix_fallocate-common.c: New file.
8124         * io/tst-posix_fallocate.c: Likewise.
8125         * io/tst-posix_fallocate64.c: Likewise.
8126         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8127         file.
8128         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8129         Likewise.
8130         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8131         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8132         Likewise.
8133         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8134         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8135         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8136         SYSCALL_LL to pass both offset and len arguments.
8137         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8140         __libc_pwrite64 alias used by posix_fallocate64.
8142         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8143         tst-fallocate64.
8144         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8145         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8146         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8147         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8148         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8149         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8150         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8151         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8152         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8153         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8154         macro on offset argument.
8155         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8156         SYSCALL_LL64 on offset argument.
8158         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8159         tst-fallocate64.
8160         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8161         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8162         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8163         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8164         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8165         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8166         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8167         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8168         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8169         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8170         macro on offset argument.
8171         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8172         SYSCALL_LL64 on offset argument.
8173         * test-skeleton.c (FAIL_RET): Add macro.
8174         (FAIL_EXIT): Likewise.
8175         (FAIL_EXIT1): Likewise.
8176         (_FAIL): Likewise.
8178 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8180         [BZ #20629]
8181         resolv: Remove RES_USEBSTRING and its implementation.
8182         * resolv/resolv.h (RES_USEBSTRING): Remove.
8183         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8184         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8185         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8186         (labellen): Remove extended label types support.
8187         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8188         * resolv/res_init.c (res_setoptions): Likewise.
8189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8191 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8193         resolv: Remove RES_NOIP6DOTINT and its implementation.
8194         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8195         (RES_NOIP6DOTINT): Remove.
8196         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8197         handling.
8198         * resolv/res_debug.c (p_option): Likewise.
8199         * resolv/res_init.c (res_setoptions): Likewise.
8200         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8202 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8204         resolv: Deprecate unimplemented flags.
8205         * misc/sys/cdefs.h (__glibc_macro_warning1)
8206         (__glibc_macro_warning): Define.
8207         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8208         (RES_KEEPTSIG): Mark as deprecated.
8209         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8210         RES_NOCHECKNAME, RES_KEEPTSIG.
8211         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8213 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8215         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8216         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8217         Use strong_alias to create symbols for glibc verison 2.19.
8219 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8221         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8223 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8225         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8227 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8229         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8231 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8233         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8234         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8235         in header for using it as type for ifunc function because __GI_* symbols
8236         for ppc32 do not target the ifunc symbols.
8237         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8241         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8242         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8243         libc_ifunc_hidden_def.
8244         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8245         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8246         Redirect ifunced function in header for using it as type of ifunc'ed
8247         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8248         function for __GI_* symbol.
8249         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8250         * include/libc-symbols.h
8251         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8253 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8255         [BZ #20478]
8256         * sysdeps/s390/multiarch/ifunc-resolve.h
8257         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8258         to create ifunc symbols.
8259         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8260         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8261         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8262         for using it as type for ifunc function.
8263         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8264         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8265         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8266         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8267         * sysdeps/s390/multiarch/strcat.c: Likewise.
8268         * sysdeps/s390/multiarch/strchr.c: Likewise.
8269         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8270         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8271         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8272         * sysdeps/s390/multiarch/strlen.c: Likewise.
8273         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8274         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8275         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8276         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8277         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8278         * sysdeps/s390/multiarch/strspn.c: Likewise.
8279         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8280         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8281         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8282         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8283         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8284         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8285         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8286         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8287         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8288         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8289         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8290         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8292 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8294         * include/libc-symbols.h (__ifunc_resolver):
8295         New macro is used by __ifunc* macros.
8296         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8297         depending on HAVE_GCC_IFUNC.
8298         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8299         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8301         Redirect ifunced function in header for using as type for ifunc function.
8302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8309         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8311         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8312         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8313         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8321         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8322         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8323         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8324         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8325         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8326         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8327         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8328         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8329         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8330         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8331         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8332         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8333         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8334         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8336         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8337         instead of libc_ifunc() macro.
8338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8341 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8343         * config.h.in (HAVE_GCC_IFUNC): New undef.
8344         * configure.ac: Add check if gcc supports attribute ifunc feature.
8345         * configure: Regenerated.
8346         * manual/install.texi: Add recommendation for gcc with
8347         indirect-function support.
8348         * INSTALL: Regenerated.
8350 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8352         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8353         macro.
8354         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8355         (__iseqsig): New declaration.
8356         * math/s_iseqsig_template.c: New file.
8357         * math/Versions (__iseqsigf): New libm symbol at version
8358         GLIBC_2.25.
8359         (__iseqsig): Likewise.
8360         (__iseqsigl): Likewise.
8361         * math/libm-test.inc (iseqsig_test_data): New array.
8362         (iseqsig_test): New function.
8363         (main): Call iseqsig_test.
8364         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8365         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8366         * manual/libm-err-tab.pl: Update comment on interfaces without
8367         ulps tabulated.
8368         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8369         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8370         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8371         * sysdeps/nacl/libm.abilist: Update.
8372         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8373         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8374         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8375         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8376         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8377         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8378         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8379         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8380         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8381         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8382         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8383         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8385         Likewise.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8387         Likewise.
8388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8389         Likewise.
8390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8391         Likewise.
8392         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8393         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8394         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8395         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8396         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8398         Likewise.
8399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8400         Likewise.
8401         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8402         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8403         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8405 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8407         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8408         do_sincos_2, sloww, sloww1): Update comments.
8410         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8411         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8413         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8414         K boolean and rename it.
8415         (__sin): Adjust.
8416         (__cos): Adjust.
8418 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8419             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8421         * manual/nss.texi: Fix typos in the manual.
8423 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8425         * manual/contrib.texi: Fix typos in the manual.
8427         * manual/maint.texi: Fix typos in the manual.
8429         * manual/install.texi: Fix typos in the manual.
8430         * INSTALL: Regenerated.
8432         * manual/lang.texi: Fix typos in the manual.
8434         * manual/probes.texi: Fix typos in the manual.
8436         * manual/threads.texi: Fix typos in the manual.
8438         * manual/debug.texi: Fix typos in the manual.
8440         * manual/crypt.texi: Fix typos in the manual.
8442         * manual/conf.texi: Fix typos in the manual.
8444         * manual/sysinfo.texi: Fix typos in the manual.
8446         * manual/users.texi: Fix typos in the manual.
8448         * manual/job.texi: Fix typos in the manual.
8450         * manual/process.texi: Fix typos in the manual.
8452         * manual/argp.texi: Fix typos in the manual.
8453         * manual/getopt.texi: Likewise.
8454         * manual/startup.texi: Likewise.
8456         * manual/signal.texi: Fix typos in the manual.
8458         * manual/setjmp.texi: Fix typos in the manual.
8460         * manual/resource.texi: Fix typos in the manual.
8462         * manual/time.texi: Fix typos in the manual.
8464         * manual/arith.texi: Fix typos in the manual.
8466         * manual/math.texi: Fix typos in the manual.
8468         * manual/syslog.texi: Fix typos in the manual.
8470         * manual/terminal.texi: Fix typos in the manual.
8472         * manual/socket.texi: Fix typos in the manual.
8474         * manual/filesys.texi: Fix typos in the manual.
8476         * manual/llio.texi: Fix typos in the manual.
8478         * manual/stdio.text: Fix typos in the manual.
8480 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8482         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8483         instead of K1.
8485         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8486         SHIFT_QUADRANT and make it bool.
8487         (do_sincos_2): Likewise.
8488         (sloww): Likewise.
8489         (sloww1): Likewise.
8490         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8491         (__cos): Likewise.
8493 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8495         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8497 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8499         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8500         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8501         0x7fffffffL].
8502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8504 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8506         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8507         inline by __inline__.
8508         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8509         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8510         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8511         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8512         sigset_t from signal.h.
8513         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8514         which is already required.
8516 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8518         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8520 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8522         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8523         (struct tcp_repair_window): New type.
8525 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8527         * libio/tst-memstream3.c: Include string.h.
8529 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8531         [BZ #18241]
8532         [BZ #20181]
8533         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8534         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8535         write position is at the end the buffer.
8536         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8537         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8538         (_IO_str_seekoff): Set correct offset from negative displacement and
8539         set EINVAL for invalid ones.
8540         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8541         buffer length.
8542         (_IO_wstr_switch_to_get_mode): New function.
8543         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8544         set EINVAL for invalid ones.
8545         * libio/tst-memstream3.c: New file.
8546         * libio/tst-wmemstream3.c: Likewise.
8547         * manual/examples/memstrm.c: Remove warning when priting size_t.
8549 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8551         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8552         macro to use __builtin_fma.
8553         * sysdeps/x86_64/fpu/dla.h: Remove file.
8555         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8556         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8557         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8559 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8561         [BZ #20292]
8562         * elf/Makefile (routines): Add dl-addr-obj.
8563         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8564         tst-_dl_addr_inside_object.
8565         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8566         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8567         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8568         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8569         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8570         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8571         * elf/dl-open.c: Likewise.
8572         * elf/dl-addr-obj.c: New file.
8573         * elf/tst-_dl_addr_inside_object.c: New file.
8575 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8577         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8578         <bits/iscanonical.h>.
8579         * bits/iscanonical.h: New file.
8580         * math/s_iscanonicall.c: Likewise.
8581         * math/Versions (__iscanonicall): New libm symbol at version
8582         GLIBC_2.25.
8583         * math/libm-test.inc (iscanonical_test_data): New array.
8584         (iscanonical_test): New function.
8585         (main): Call iscanonical_test.
8586         * math/Makefile (headers): Add bits/iscanonical.h.
8587         (type-ldouble-routines): Add s_iscanonicall.
8588         * manual/arith.texi (Floating Point Classes): Document
8589         iscanonical.
8590         * manual/libm-err-tab.pl: Update comment on interfaces without
8591         ulps tabulated.
8592         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8593         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8594         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8595         Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8597         test-iscanonical-ldbl-128ibm.
8598         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8599         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8600         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8601         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8602         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8603         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8604         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8606         Likewise.
8607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8608         Likewise.
8609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8610         Likewise.
8611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8612         Likewise.
8613         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8616 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8618         * string/bits/string3.h: Remove C++ style comments.
8620 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8622         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8623         instead of ternary condition.
8624         (do_sincos_2): Likewise.
8625         (__sin): Likewise.
8626         (__cos): Likewise.
8627         (slow): Likewise.
8628         (sloww): Likewise.
8629         (sloww1): Likewise.
8630         (bsloww): Likewise.
8631         (bsloww1): Likewise.
8633         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8634         instead of ternary condition.
8635         (do_sin_slow): Likewise.
8636         (do_sincos_1): Likewise.
8637         (do_sincos_2): Likewise.
8638         (__cos): Likewise.
8639         (sloww): Likewise.
8640         (sloww1): Likewise.
8641         (sloww2): Likewise.
8642         (bsloww): Likewise.
8643         (bsloww1): Likewise.
8644         (bsloww2): Likewise.
8646         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8647         check from here...
8648         (slow2): ... and here...
8649         (__sin): ... to here.
8651 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8653         * math/math.h
8654         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8655         Cast argument to its own type.
8656         * math/test-iszero-excess-precision.c: New file.
8657         * math/Makefile (tests): Add test-iszero-excess-precision.
8658         (CFLAGS-test-iszero-excess-precision.c): New variable.
8660 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8662         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8663         field, add err field.
8664         (__spawni_child): Report error through err member instead of pipe.
8665         (__spawnix): Likewise.
8667 2016-09-28  Zack Weinberg  <zackw@panix.com>
8669         * scripts/check-installed-headers.sh: Generalize treatment of
8670         sys/elf.h to all target architectures.
8672         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8673         deleted typedef ucontext_t.
8675 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8677         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8678         (__INTERNAL_SYSCALL1): Likewise.
8679         (__INTERNAL_SYSCALL2): Likewise.
8680         (__INTERNAL_SYSCALL3): Likewise.
8681         (__INTERNAL_SYSCALL4): Likewise.
8682         (__INTERNAL_SYSCALL5): Likewise.
8683         (__INTERNAL_SYSCALL6): Likewise.
8684         (__INTERNAL_SYSCALL7): Likewise.
8685         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8686         (__INTERNAL_SYSCALL_NARGS): Likewise.
8687         (__INTERNAL_SYSCALL_DISP): Likewise.
8688         (INTERNAL_SYSCALL_CALL): Likewise.
8689         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8690         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8691         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8692         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8693         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8694         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8695         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8696         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8697         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8698         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8699         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8700         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8701         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8703 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8705         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8706         macro.
8707         * math/libm-test.inc (iszero_test_data): New array.
8708         (iszero_test): New function.
8709         (main): Call iszero_test.
8710         * manual/arith.texi (Floating Point Classes): Document iszero.
8711         * manual/libm-err-tab.pl: Update comment on interfaces without
8712         ulps tabulated.
8714 2016-09-23  Zack Weinberg  <zackw@panix.com>
8716         * scripts/check-installed-headers.sh: New script.
8717         * Rules: In each directory that defines header files to be installed,
8718         run check-installed-headers.sh on them as a special test.
8719         * Makefile: Likewise for the headers installed at top level.
8721         * include/aliases.h, include/alloca.h, include/argz.h
8722         * include/arpa/nameser.h, include/arpa/nameser_compat.h
8723         * include/elf.h, include/envz.h, include/err.h
8724         * include/execinfo.h, include/fpu_control.h, include/getopt.h
8725         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
8726         * include/link.h, include/malloc.h, include/mcheck.h
8727         * include/mntent.h, include/netinet/ether.h
8728         * include/nss.h, include/obstack.h, include/printf.h
8729         * include/pty.h, include/resolv.h, include/rpc/auth.h
8730         * include/rpc/auth_des.h, include/rpc/auth_unix.h
8731         * include/rpc/clnt.h, include/rpc/des_crypt.h
8732         * include/rpc/key_prot.h, include/rpc/netdb.h
8733         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
8734         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
8735         * include/rpc/rpc_msg.h, include/rpc/svc.h
8736         * include/rpc/svc_auth.h, include/rpc/xdr.h
8737         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
8738         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
8739         * include/rpcsvc/ypupd.h, include/shadow.h
8740         * include/stdio_ext.h, include/sys/epoll.h
8741         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
8742         * include/sys/prctl.h, include/sys/profil.h
8743         * include/sys/statfs.h, include/sys/sysctl.h
8744         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
8745         * sysdeps/arm/nacl/include/bits/setjmp.h
8746         * sysdeps/mips/include/sys/asm.h
8747         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
8748         * sysdeps/unix/sysv/linux/include/sys/timex.h
8749         * sysdeps/x86/fpu/include/bits/fenv.h:
8750         Add #ifndef _ISOMAC guard around internal declarations.
8751         Add multiple-inclusion guard if not already present.
8753 2016-09-23  Zack Weinberg  <zackw@panix.com>
8755         * sysdeps/generic/sys/ucontext.h
8756         * sysdeps/arm/sys/ucontext.h
8757         * sysdeps/i386/sys/ucontext.h
8758         * sysdeps/m68k/sys/ucontext.h
8759         * sysdeps/mips/sys/ucontext.h
8760         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
8761         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
8762         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
8763         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
8764         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
8765         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
8766         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
8767         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
8768         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
8769         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
8770         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
8771         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
8772         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
8773         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
8774         Include both bits/sigcontext.h and bits/sigstack.h.
8775         Fix grammar error in comment, if present.
8777         * bits/sigstack.h
8778         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
8779         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
8780         * sysdeps/unix/sysv/linux/bits/sigstack.h
8781         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
8782         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
8783         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
8784         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
8785         * bits/sigcontext.h
8786         * sysdeps/mach/hurd/i386/bits/sigcontext.h
8787         * sysdeps/unix/sysv/linux/bits/sigcontext.h
8788         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
8789         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
8790         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
8791         as well as signal.h, if this was not already allowed.  Request
8792         definition of size_t if necessary.  Minimize semantically-null
8793         differences across files.
8795 2016-09-23  Zack Weinberg  <zackw@panix.com>
8797         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
8798         Remove all logic conditional on __need macros.  Move all the
8799         conditionally defined types to their own headers...
8800         * time/bits/types/clock_t.h: Define clock_t here.
8801         * time/bits/types/clockid_t.h: Define clockid_t here.
8802         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
8803         * time/bits/types/struct_timespec.h: Define struct timespec here.
8804         * time/bits/types/struct_timeval.h: Define struct timeval here.
8805         * time/bits/types/struct_tm.h: Define struct tm here.
8806         * time/bits/types/time_t.h: Define time_t here.
8807         * time/bits/types/timer_t.h: Define timer_t here.
8808         * time/Makefile: Install the new headers.
8810         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
8811         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
8812         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
8813         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
8814         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
8815         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
8816         * sysdeps/unix/sysv/linux/bits/resource.h
8817         * sysdeps/unix/sysv/linux/bits/timex.h
8818         * sysdeps/unix/sysv/linux/mips/bits/resource.h
8819         * sysdeps/unix/sysv/linux/net/ppp_defs.h
8820         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
8821         * sysdeps/unix/sysv/linux/sys/acct.h
8822         * sysdeps/unix/sysv/linux/sys/timerfd.h
8823         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
8824         * time/sys/time.h, time/sys/timeb.h
8825         Use the new bits/types headers.
8827         * include/time.h: Remove __need logic.
8828         * include/bits/time.h
8829         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
8830         * include/bits/types/time_t.h, include/bits/types/timer_t.h
8831         * include/bits/types/struct_itimerspec.h
8832         * include/bits/types/struct_timespec.h
8833         * include/bits/types/struct_timeval.h
8834         * include/bits/types/struct_tm.h:
8835         New wrapper headers.
8837 2016-09-23  Zack Weinberg  <zackw@panix.com>
8839         * sysdeps/mach/hurd/net/if_ppp.h
8840         * sysdeps/unix/sysv/linux/net/if_ppp.h:
8841         Only define struct ifpppstatsreq and struct ifpppcstatsreq
8842         if __USE_MISC is defined, to ensure struct ifreq is declared.
8844         * inet/netinet/ether.h: Condition all function prototypes
8845         on __USE_MISC, to ensure struct ether_addr is declared.
8847         * socket/bits/types/struct_osockaddr.h: New header.
8848         * include/bits/types/struct_osockaddr.h: New wrapper.
8849         * socket/Makefile: Install the new header.
8850         * socket/sys/socket.h, inet/protocols/talkd.h:
8851         Refer to bits/types/struct_osockaddr.h for the definition of
8852         struct osockaddr.
8854 2016-09-23  Zack Weinberg  <zackw@panix.com>
8856         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
8857         * inet/protocols/routed.h, inet/protocols/talkd.h
8858         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
8859         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
8860         * sysdeps/generic/netinet/if_ether.h
8861         * sysdeps/generic/netinet/in_systm.h
8862         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
8863         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8864         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
8865         * sysdeps/mach/hurd/net/if_arp.h
8866         * sysdeps/mach/hurd/net/if_ppp.h
8867         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
8868         * sysdeps/unix/sysv/linux/bits/in.h
8869         * sysdeps/unix/sysv/linux/net/ethernet.h
8870         * sysdeps/unix/sysv/linux/net/if_arp.h
8871         * sysdeps/unix/sysv/linux/net/if_ppp.h
8872         * sysdeps/unix/sysv/linux/net/if_shaper.h
8873         * sysdeps/unix/sysv/linux/net/route.h
8874         * sysdeps/unix/sysv/linux/netinet/if_ether.h
8875         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8876         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8877         * sysdeps/unix/sysv/linux/netipx/ipx.h
8878         * sysdeps/unix/sysv/linux/sys/acct.h
8879         * include/arpa/nameser.h, include/resolv.h:
8880         Change all uses of u_char to unsigned char,
8881         u_short and ushort to unsigned short, u_int and uint to unsigned int,
8882         u_long and ulong to unsigned long, u_int8_t to uint8_t,
8883         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
8884         and u_int64_t and u_quad_t to uint64_t.
8886         * mach/sys/reboot.h: Remove two casts of integer literals
8887         to the types they already have.
8889         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
8890         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
8891         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
8892         from referring to 'unsigned char' to 'uint8_t' for consistency with
8893         the macro definition below.
8895         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
8896         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
8897         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
8898         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
8899         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
8900         * sysdeps/unix/sysv/linux/sys/acct.h
8901         * include/arpa/nameser.h, include/resolv.h:
8902         Fix indentation disrupted by mechanical edits.
8904         * inet/protocols/talkd.h, resolv/arpa/nameser.h
8905         * sysdeps/generic/netinet/in_systm.h
8906         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
8907         * sysdeps/gnu/netinet/udp.h
8908         * sysdeps/unix/sysv/linux/net/ethernet.h
8909         * sysdeps/unix/sysv/linux/net/if_arp.h
8910         * sysdeps/unix/sysv/linux/net/if_ppp.h
8911         * sysdeps/unix/sysv/linux/net/if_shaper.h
8912         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
8913         * sysdeps/unix/sysv/linux/netinet/if_tr.h
8914         * sysdeps/unix/sysv/linux/netipx/ipx.h
8915         * sysdeps/unix/sysv/linux/sys/acct.h
8916         Include stdint.h for uintNN_t definitions.
8917         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
8919 2016-09-23  Zack Weinberg  <zackw@panix.com>
8921         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
8922         * sysdeps/unix/sysv/linux/netrose/rose.h:
8923         Include sys/socket.h and netax25/ax25.h.
8925         * inet/netinet/icmp6.h, inet/netinet/ip6.h
8926         * resolv/arpa/nameser_compat.h:
8927         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
8929         * sysdeps/unix/sysv/linux/sys/quota.h:
8930         Use __caddr_t instead of caddr_t.
8931         * sysdeps/unix/sysv/linux/sys/timerfd.h:
8932         Use __clockid_t instead of clockid_t.
8934         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
8936         * argp/argp.h: Check whether _LIBC is defined before expanding it.
8937         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
8938         expanding it.
8940         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
8941         Define __glibc_c99_flexarr_available to 1 when the compiler
8942         supports C99-compatible flexible array members, 0 otherwise.
8943         * sysdeps/unix/sysv/linux/bits/socket.h
8944         * sysdeps/mach/hurd/bits/socket.h
8945         * bits/socket.h: Use __glibc_c99_flexarr_available in
8946         definitions of struct cmsghdr and CMSG_DATA.
8948 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8950         * manual/nss.texi (NSS Modules Interface): Adjust function return
8951         type to enum nss_status.  Document errnop argument.  Clarify
8952         h_errnop semantics.  Fix cross-reference formatting.
8953         (NSS Module Function Internals): Mention that *errnop needs to be
8954         set on failure, but not to zero.
8956 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8958         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
8959         (get_random_name): New functions.
8960         (check_wrapper_flags_mode): Use linkat to give the new file a name
8961         determined by get_random_name.
8962         (do_test): Add calls to test open64 and openat64.
8964 2016-09-23  Florian Weimer  <fweimer@redhat.com>
8966         * test-skeleton.c: Remove #include <stdarg.h>.
8968 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
8970         [BZ #19826]
8971         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
8972         initialization of static TLS entries.
8973         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
8974         * nptl/allocatestack.c (init_one_static_tls): Likewise.
8976 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8978         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
8979         _hurd_malloc_fork_prepare.
8980         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
8981         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
8982         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
8983         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
8984         (_hurd_fork_child_hook): Drop malloc_fork_child.
8985         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
8986         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
8987         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
8988         after locking locks (notably hurd_dtable_lock). Call
8989         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
8990         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
8991         __malloc_fork_unlock_child.
8992         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
8994 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
8996         * soft-fp/extendhftf2.c: New.
8997         * soft-fp/fixhfti.c: Likewise.
8998         * soft-fp/fixunshfti.c: Likewise.
8999         * soft-fp/floattihf.c: Likewise.
9000         * soft-fp/floatuntihf.c: Likewise.
9001         * soft-fp/half.h: Likewise.
9002         * soft-fp/trunctfhf2.c: Likewise.
9004 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9006         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9007         macro.
9008         * math/libm-test.inc (issubnormal_test_data): New array.
9009         (issubnormal_test): New function.
9010         * manual/arith.texi (Floating Point Classes): Document
9011         issubnormal.
9012         * manual/libm-err-tab.pl: Update comment on interfaces without
9013         ulps tabulated.
9015         * sysdeps/generic/stdint.h: Define
9016         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9017         <bits/libc-header-start.h> instead of including <features.h>.
9018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9032         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9033         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9034         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9035         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9036         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9037         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9038         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9039         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9040         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9042         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9044         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9045         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9047         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9048         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9050         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9051         * manual/arith.texi (Integers): Document these macros for types
9052         specified by width properties.
9053         * manual/lang.texi (Width of Type): Document these macros for
9054         other standard typedefs.
9055         * stdlib/tst-width-stdint.c: New file.
9056         * stdlib/Makefile (tests): Add tst-width-stdint.
9058 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9060         [BZ #20016]
9061         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9062         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9063         Move ...
9064         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9065         ... here, as compatibility symbols in a new file.
9066         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9067         * resolv/res_init.c (__res_vinit): Adjust member names.
9068         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9069         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9070         (res_send_rhook): Remove.
9071         (struct __res_state): Rename qhook, rhook members.
9073 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9075         malloc: Use __libc_lock wrappers.
9076         * malloc/arena.c (list_lock, free_list_lock): Define using
9077         __libc_lock_define_initialized.
9078         (arena_lock): Adjust formatting.
9079         * malloc/malloc.c (struct malloc_state): Define mutex using
9080         __libc_lock_define.
9081         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9082         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9083         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9084         (mutex_unlock, mutex_trylock): Remove.
9085         (__pthread_initialize): Remove unused macro.
9086         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9087         (mutex_unlock, mutex_trylock): Remove.
9089 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9091         [BZ #20592]
9092         Remove RR type classification macros.
9093         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9094         (ns_t_udp_p, ns_t_xfr_p): Remove.
9096 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9098         Remove misleading version information.
9099         * resolv/arpa/nameser.h (__NAMESER): Remove.
9100         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9102 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9104         Remove the always-defined BIND_4_COMPAT macro.
9105         * resolv/arpa/nameser.h: Unconditionally include
9106         <arpa/nameser_compat.h>.
9107         (BIND_4_COMPAT): Remove.
9108         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9110 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9112         [BZ #20591]
9113         Remove obsolete DNSSEC support.
9114         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9115         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9116         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9117         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9118         (ns_cert_types): Add comment.
9119         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9120         separately.
9121         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9122         (dst_s_dns_key_id): Remove.
9123         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9124         variables.
9126 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9128         [BZ #20524]
9129         * manual/string.texi (String/Array Comparison): Clarify the
9130         strverscmp behavior.
9132 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9134         * test-skeleton.c (xasprintf): Add function.
9135         * io/tst-open-tmpfile.c: New test.
9136         * io/Makefile (tests): Add it.
9138 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9140         Avoid running $(CXX) during build to obtain header file paths.
9141         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9142         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9143         * Makerules (cstdlib, cmath): Remove variables.  Use
9144         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9145         * configure: Regenerate.
9147 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9149         * Makeconfig (all-object-suffixes): Include .op only if
9150         $(build-profile).
9152 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9154         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9155         conditionals.  Do not define PATH_MAX.
9157 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9159         * posix/Makefile (tests): Add tst-spawn3.
9160         * posix/tst-spawn3.c: New file.
9161         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9162         if it is already opened for open action.
9164         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9165         all signals when executing the clone vfork child.
9166         (SIGALL_SET): Remove macro.
9168         * nptl/Makefile (tests): Add tst-exec5.
9169         * nptl/tst-exec5.c: New file.
9170         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9171         asynchronous cancellation.
9173 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9175         * hurd/exc2signal.c: #include <hurd/signal.h>
9176         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9177         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9178         accordingly.
9179         * mach/mach_error.c (mach_error): Fix old-style function definition.
9180         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9182 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9184         * math/Makefile (libm-calls): Remove s_nanF.
9185         (gen-libm-calls): Add s_nanF.
9187         * math/s_nan.c: Refactor into ...
9188         * math/s_nan_template.c: New file.
9190         * math/s_nanf.c: Removed.
9191         * math/s_nanl.c: Removed.
9192         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9193         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9195         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9196         (LDOUBLE_nanl_libm_version): New macro.
9198         * sysdeps/generic/math-type-macros-double.h:
9199         (M_STRTO_NAN): New macro.
9200         * sysdeps/generic/math-type-macros-float.h: Likewise.
9201         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9203         * sysdeps/generic/math-type-macros.h: Document
9204         M_STRTO_NAN.
9206 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9208         * math/s_nanf.c: Remove __nanf undef.
9209         * math/s_nan.c: Remove __nan undef.
9210         * math/s_nanl.c: Remove __nanl undef.
9212         * sysdeps/generic/math_private.h (__nan): Remove macro
9213         override.
9214         (__nanf): Likewise.
9215         (__nanl): Likewise.
9217 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9219         * math/Makefile (gen-all-calls): New variable.
9220         (generated): Replace gen-libm-calls with gen-all-calls.
9221         (gen-libm-templates.stmp): Likewise.  Also, ensure
9222         the output directory exists or is created and add
9223         dependency on the Makefile.
9224         (calls): Move s_ldexpF into gen-calls.
9225         (gen-calls): New variable.
9227         * math/s_ldexpf.c: Removed.
9228         * math/s_ldexpl.c: Removed.
9229         * math/s_ldexp.c: Refactored into ...
9230         * math/s_ldexp_template.c: New file.
9232         * sysdeps/generic/math-type-macros-double.h: Remove
9233         redundant fall-through definition of declare_mgen_alias.
9234         (declare_mgen_alias_2): New macro.
9236         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9237         New macro for function aliased to two exported symbols.
9239         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9240         new template file.
9241         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9243 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9245         * Makeconfig (all-object-suffixes): Remove .og.
9246         * Makerules (elide-routines.og): Remove.
9247         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9248         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9249         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9251 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9253         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9254         .os objects.
9256 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9258         [BZ #20615]
9259         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9260         fpu directory by non-fpu.
9261         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9262         on non-fpu directory from a fpu directory.
9264 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9266         * include/limits.h: Define
9267         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9268         <bits/libc-header-start.h> instead of including <features.h>.
9269         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9270         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9271         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9272         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9273         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9274         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9275         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9277         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9278         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9280         * manual/lang.texi (Width of Type): Document these macros.
9281         * stdlib/tst-width.c: New file.
9282         * stdlib/Makefile (tests): Add tst-width.
9284 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9286         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9287         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9289 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9291         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9292         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9293         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9295 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9297         [BZ #18243]
9298         * rt/Makefile (test): Add tst-shm-cancel.
9299         * rt/tst-shm-cancel.c: New file.
9300         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9302         [BZ #18243]
9303         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9304         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9305         definition.
9306         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9307         uncontended case.
9308         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9309         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9310         (tf): Fix check for uncontended case.
9311         (do_test): Likewise.
9312         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9313         (tf): Fix check for uncontended case.
9314         (do_test): Likewise.
9315         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9316         (tf): Fix check for uncontended case.
9317         (do_test): Likewise.
9318         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9319         (tf): Fix check for uncontended case.
9320         (do_test): Likewise.
9322         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9323         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9325         [BZ #15765]
9326         * nptl/Makefile (tests): Add tst-sem16.
9327         * nptl/tst-sem16.c: New file.
9328         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9330         * nptl/sem_open.c (sem_open): Init pad value to 0.
9331         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9332         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9334 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9336         [BZ #20611]
9337         * inet/Makefile (routines): Add inet6_scopeid_pton.
9338         (tests): Add tst-inet6_scopeid_pton.
9339         * inet/inet6_scopeid_pton.c: New file.
9340         * inet/net-internal.h: Likewise.
9341         * inet/tst-inet6_scopeid_pton.c: New test.
9342         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9343         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9344         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9346 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9348         Remove support for compiling wrappers with PTW.
9349         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9350         * nptl/Makefile (pthread-compat-wrappers): Define.
9351         (libpthread-routines): Use pthread-compat-wrappers.
9352         * sysdeps/unix/sysv/linux/alpha/Makefile
9353         (libpthread-routines, libpthread-shared-only-routines): Remove
9354         ptw- prefix.
9355         * sysdeps/s390/nptl/Makefile
9356         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9357         * sysdeps/ia64/nptl/Makefile
9358         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9359         * sysdeps/nacl/Makefile (libpthread-routines): Use
9360         pthread-compat-wrappers to filter the routines list instead of the
9361         ptw- prefix.
9363 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9365         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9366         with L() and remove explicit suffix, convert real literals
9367         which can be equivalentally substituted with integers, and
9368         transform -L(x) to L(-x).
9370         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9371         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9372         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9373         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9374         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9375         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9377         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9378         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9379         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9380         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9381         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9382         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9383         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9384         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9385         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9386         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9387         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9388         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9389         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9390         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9391         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9392         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9393         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9394         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9395         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9396         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9397         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9398         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9399         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9400         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9401         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9402         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9403         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9404         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9405         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9406         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9407         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9408         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9409         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9410         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9411         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9412         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9413         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9414         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9415         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9416         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9417         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9418         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9419         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9421 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9423         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9425 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9427         * malloc/Makefile (tests): Remove individual static test names
9428         and just add all of tests-static.
9430         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9432 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9434         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9435         file.
9437         * sysdeps/sparc/fpu/fegetmode.c: New file.
9438         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9440         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9441         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9443         * sysdeps/s390/fpu/fegetmode.c: New file.
9444         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9446         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9447         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9448         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9449         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9450         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9451         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9453         * sysdeps/mips/fpu/fegetmode.c: New file.
9454         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9456         * sysdeps/m68k/fpu/fegetmode.c: New file.
9457         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9459         * sysdeps/ia64/fpu/fegetmode.c: New file.
9460         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9462         * sysdeps/hppa/fpu/fegetmode.c: New file.
9463         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9465         * sysdeps/arm/fegetmode.c: New file.
9466         * sysdeps/arm/fesetmode.c: Likewise.
9468         * sysdeps/alpha/fpu/fegetmode.c: New file.
9469         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9471         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9472         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9474         * math/fegetmode.c: New file.
9475         * math/fesetmode.c: Likewise.
9476         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9477         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9478         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9479         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9480         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9482         declaration.
9483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9484         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9485         typedef.
9486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9487         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9488         (femode_t): New typedef.
9489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9490         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9491         (femode_t): New typedef.
9492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9493         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9494         (femode_t): New typedef.
9495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9496         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9497         (femode_t): New typedef.
9498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9499         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9500         (femode_t): New typedef.
9501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9502         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9503         (femode_t): New typedef.
9504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9505         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9506         (femode_t): New typedef.
9507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9508         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9509         (femode_t): New typedef.
9510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9511         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9512         (femode_t): New typedef.
9513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9514         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9515         (femode_t): New typedef.
9516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9517         declaration.
9518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9519         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9520         (femode_t): New typedef.
9521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9522         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9523         (femode_t): New typedef.
9524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9525         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9526         (femode_t): New typedef.
9527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9528         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9529         (femode_t): New typedef.
9530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9531         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9532         (femode_t): New typedef.
9533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9534         * manual/arith.texi (FE_DFL_MODE): Document macro.
9535         (fegetmode): Document function.
9536         (fesetmode): Likewise.
9537         * math/Versions (fegetmode): New libm symbol at version
9538         GLIBC_2.25.
9539         (fesetmode): Likewise.
9540         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9541         (tests): Add test-femode and test-femode-traps.
9542         * math/test-femode-traps.c: New file.
9543         * math/test-femode.c: Likewise.
9544         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9545         alias for __fe_dfl_env.
9546         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9547         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9548         (__fe_dfl_mode): Likewise.
9549         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9550         version GLIBC_2.25.
9551         * sysdeps/nacl/libm.abilist: Update.
9552         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9553         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9554         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9555         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9556         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9561         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9562         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9563         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9565         Likewise.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9567         Likewise.
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9569         Likewise.
9570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9571         Likewise.
9572         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9573         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9574         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9575         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9576         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9578         Likewise.
9579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9580         Likewise.
9581         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9582         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9583         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9585 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9587         [BZ #20495]
9588         [BZ #20508]
9589         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9590         processors, set Use_dl_runtime_resolve_slow and set
9591         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9592         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9593         New.
9594         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9595         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9596         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9597         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9598         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9599         if Use_dl_runtime_resolve_opt is set.  Use
9600         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9601         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9602         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9603         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9604         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9605         New.
9606         (_dl_runtime_resolve_opt): Likewise.
9607         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9608         defined.
9610 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9612         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9613         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9615 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9617         Convert malloc to __libc_lock.  Automated part, using this Perl
9618         s/// command:
9619           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9620             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9621         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9622         conversion.
9624 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9626         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9627         (linknamespace-symlists-tests): Likewise.
9628         (linknamespace-header-tests): Likewise.
9630 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9632         [BZ #19810]
9633         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9634         * elf/tst-noload.c: New test case.
9635         * elf/Makefile (tests): Add tst-noload.
9637 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9639         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9641         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9642         not any more.
9644         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9646 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9648         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9649         (do_cos_slow): Likewise.
9650         (do_sin): Likewise.
9651         (do_sin_slow): Likewise.
9652         (slow): Likewise.
9653         (slow1): Likewise.
9654         (slow2): Likewise.
9655         (sloww): Likewise.
9656         (sloww1): Likewise.
9657         (sloww2): Likewise.
9658         (bsloww): Likewise.
9659         (bsloww1): Likewise.
9660         (bsloww2): Likewise.
9661         (cslow2): Likewise.
9663         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9665         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9666         arguments.  Consolidate input partitioning from callers here.
9667         (do_cos_slow): Likewise.
9668         (do_sin): Likewise.
9669         (do_sin_slow): Likewise.
9670         (do_sincos_1): Remove the no longer necessary input partitioning.
9671         (do_sincos_2): Likewise.
9672         (__sin): Likewise.
9673         (__cos): Likewise.
9674         (slow1): Likewise.
9675         (slow2): Likewise.
9676         (sloww1): Likewise.
9677         (sloww2): Likewise.
9678         (bsloww1): Likewise.
9679         (bsloww2): Likewise.
9680         (cslow2): Likewise.
9682 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9684         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9685         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9686         outside of allocated array.
9688 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9690         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9691         instead of MB_CUR_MAX to avoid variable-length array.
9693 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9695         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9696         (type-double-routines): Add k_rem_pio2.
9697         (type-float-routines): Add k_rem_pio2f.
9699         * sysdeps/generic/math_private.h:
9700         (__kernel_rem_pio2l): Removed.
9702         * math/k_rem_pio2l.c: Removed.
9703         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9704         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9705         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9706         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9708 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9710         * math/Makefile (gen-libm-calls): Add s_fmin
9711         (libm-calls): Remove above.
9713         * math/s_fmin.c: Refactor into ...
9714         * math/s_fmin_template.c: New file.
9716         * math/s_fminf.c: Removed.
9717         * math/s_fminl.c: Removed.
9718         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9719         (LDOUBLE_fmin_libm_version): New macro.
9721         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
9722         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
9724 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9726         * math/Makefile: (gen-libm-calls): Add s_fmax.
9727         (libm-calls): Remove above.
9729         * math/s_fmax.c: Refactor into ...
9730         * math/s_fmax_template.c: New file.
9731         * math/s_fmaxf.c: Removed.
9732         * math/s_fmaxl.c: Removed.
9734         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9735         (LDOUBLE_fmaxl_libm_version): New macro.
9737         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
9738         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
9740         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
9741         s_fmin.c to pick the aarch64 version of the file.
9742         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
9743         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
9745 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9747         * math/Makefile: (gen-libm-calls): Add s_nextdown.
9748         (libm-calls): Remove above.
9750         * math/s_nextdown.c: Refactor into ...
9751         * math/s_nextdown_template.c: New file.
9752         * math/s_nextdownf.c: Removed.
9753         * math/s_nextdownl.c: Removed.
9755         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
9757 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9759         * math/Makefile (gen-libm-calls): Add s_fdim.
9760         (libm-calls): Move to above.
9762         * math/s_fdim.c: Renamed and refactored into to ...
9763         * math/s_fdim_template.c: New file.
9764         * math/s_fdiml.c: Removed.
9765         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
9766         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
9768         * sysdeps/generic/math-type-macros-double.h:
9769         (declare_mgen_alias): Don't declare if already declared.
9770         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
9771         Likewise.
9773         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9774         (declare_mgen_alias): Don't declare if already declared.
9775         (M_LIBM_NEED_COMPAT): Likewise.
9776         (declare_mgen_libm_compat): Likewise.
9777         (LDOUBLE_fdiml_libm_version): New macro.
9779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
9780         Include math/s_fdim.c now that ldbl-opt version is not needed.
9781         (declare_mgen_alias): New macro to disable aliasing.
9783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
9784         (declare_mgen_alias): Likewise.
9785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
9786         (declare_mgen_alias): Likewise.
9787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
9788         (declare_mgen_alias): Likewise.
9789         (M_LIBM_NEED_COMPAT): Likewise.
9791 2016-09-01  Florian Weimer  <fweimer@redhat.com>
9793         [BZ #20525]
9794         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
9795         Include <linux/quota.h>.
9796         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
9797         and btodb.
9798         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
9799         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
9800         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
9801         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
9802         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
9803         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
9804         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
9805         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
9806         types.
9807         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
9808         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
9810 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
9813         (gammal_positive): Fix spacing.
9814         (__ieee754_gammal_r): Likewise.
9816 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9818         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
9819         (_Float128): Define as long double, always.
9820         (L): Apply long double type suffix, always.
9822         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
9823         _Float128, excepting comments.
9825         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9826         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9827         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9828         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9829         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9830         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9831         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9832         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9833         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9834         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
9835         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9836         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9837         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9839         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9840         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9841         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9842         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9843         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9844         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9845         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9846         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9847         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9848         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9849         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9851         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9852         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
9853         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9854         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9855         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9856         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9857         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9858         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9859         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9860         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9861         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9862         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9863         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9864         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9865         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9866         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9867         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9868         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9869         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9872         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9873         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9876         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9878         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9879         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9880         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9881         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9882         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9883         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9884         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9885         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9886         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9887         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9888         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9889         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9890         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9891         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9894         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
9895         _Float128, and include math_private.h.
9896         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9898         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
9899         long double semantics.
9900         (_Float128): Likewise.
9901         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
9902         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9903         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
9904         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
9906 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9908         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
9909         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
9910         * sysdeps/s390/configure: Regenerated.
9911         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
9912         instruction for raising over-/underflow if z196 zarch is supported
9913         by default.
9914         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
9916 2016-08-30  Svante Signell  <svante.signell@gmail.com>
9918         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
9919         it point to a dumb buffer for RPC to fill it.
9921 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9923         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
9924         instead of if/else.
9925         (do_sin_slow): Likewise.
9926         (do_sincos_1): Use fabs instead of if/else.
9927         (do_sincos_2): Likewise.
9928         (__sin): Likewise.
9929         (__cos): Likewise.
9930         (slow2): Likewise.
9931         (sloww): Likewise.
9932         (sloww1): Likewise.  Drop argument M.
9933         (sloww2): Use fabs instead of if/else.
9934         (bsloww): Likewise.
9935         (bsloww1): Likewise.
9936         (bsloww2): Likewise.
9938         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
9939         fall through comment.
9940         (do_sincos_1): Likewise.
9942         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
9943         Consolidate switch cases 0 and 2.
9945 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9947         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
9948         (libm-calls): Remove the above.
9950         * math/s_cexp_template.c: Update using type-generic macros.
9951         * math/s_clog10_template.c: Likewise.
9952         * math/s_cpow_template.c: Likewise.
9953         * math/s_clog_template.c: Likewise.
9954         * math/s_cproj_template.c: Likewise.
9955         * math/s_csqrt_template.c: Likewise.
9957         * math/s_cexp.c: Removed.
9958         * math/s_cexpf.c: Removed.
9959         * math/s_cexpl.c: Removed.
9960         * math/s_clog10.c: Removed.
9961         * math/s_clog10f.c: Removed.
9962         * math/s_clog10l.c: Removed.
9963         * math/s_cpow.c: Removed.
9964         * math/s_cpowf.c: Removed.
9965         * math/s_cpowl.c: Removed.
9966         * math/s_clog.c: Removed.
9967         * math/s_clogf.c: Removed.
9968         * math/s_clogl.c: Removed.
9969         * math/s_cproj.c: Removed.
9970         * math/s_cprojf.c: Removed.
9971         * math/s_cprojl.c: Removed.
9972         * math/s_csqrt.c: Removed.
9973         * math/s_csqrtf.c: Removed.
9974         * math/s_csqrtl.c: Removed.
9976         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
9977         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
9978         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
9979         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
9980         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
9981         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
9983         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
9984         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
9985         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
9986         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
9987         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
9988         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
9989         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
9990         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
9991         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
9992         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
9993         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
9995         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
9996         version.
9998         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
9999         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10000         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10001         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10003 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10005         * s_cexp_template.c: Copy of s_cexp.c.
10006         * s_clog_template.c: Copy of s_clog.c.
10007         * s_clog10_template.c: Copy of s_clog10.c.
10008         * s_cpow_template.c: Copy of s_cpow.c.
10009         * s_cproj_template.c: Copy of s_cproj.c.
10010         * s_csqrt_template.c: Copy of s_csqrt.c.
10012 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10014         [BZ #20517]
10015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10016         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10017         exported.
10019 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10021         * math/fetestexceptflag.c: New file.
10022         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10023         Stefan Liebler.
10024         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10025         (fetestexceptflag): New function declaration.
10026         * manual/arith.texi (fetestexceptflag): Document function.
10027         * math/Versions (fetestexceptflag): New libm symbol at version
10028         GLIBC_2.25.
10029         * math/Makefile (libm-support): Add fetestexceptflag.
10030         (tests): Add test-fetestexceptflag.
10031         * math/test-fetestexceptflag.c: New file.
10032         * sysdeps/nacl/libm.abilist: Update.
10033         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10034         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10035         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10040         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10041         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10042         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10043         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10044         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10046         Likewise.
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10048         Likewise.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10050         Likewise.
10051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10052         Likewise.
10053         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10054         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10055         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10056         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10057         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10059         Likewise.
10060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10061         Likewise.
10062         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10063         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10066 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10068         [BZ #20432]
10069         Avoid strong references to malloc-internal symbols when linking
10070         statically, to support statically interposed mallocs.
10071         * include/libc-symbols.h (call_function_static_weak): New macro.
10072         * malloc/Makefile (tests): Add tst-interpose-nothread,
10073         tst-interpose-thread, tst-interpose-static-nothread,
10074         tst-interpose-static-thread.
10075         (tests-static): Add tst-interpose-static-nothread,
10076         tst-interpose-static-thread.
10077         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10078         tst-interpose-aux-thread.o.
10079         (test-extras): Add tst-interpose-aux-nothread,
10080         tst-interpose-aux-thread.
10081         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10082         tst-interpose-aux-nothread.o.
10083         (tst-interpose-thread, tst-interpose-static-thread): Link with
10084         tst-interpose-aux-thread.o and libthread.
10085         * malloc/tst-interpose-aux-nothread.c: New file.
10086         * malloc/tst-interpose-aux-thread.c: Likewise.
10087         * malloc/tst-interpose-aux.c: Likewise.
10088         * malloc/tst-interpose-aux.h: Likewise.
10089         * malloc/tst-interpose-nothread.c: Likewise.
10090         * malloc/tst-interpose-skeleton.c: Likewise.
10091         * malloc/tst-interpose-static-nothread.c: Likewise.
10092         * malloc/tst-interpose-static-thread.c: Likewise.
10093         * malloc/tst-interpose-thread.c: Likewise.
10094         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10095         * sysdeps/mach/hurd/fork.c (__fork): Only call
10096         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10097         __malloc_fork_unlock_child if defined.
10098         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10100 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10102         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10103         timespec C99 designated initialization.
10105 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10107         [BZ #19946]
10108         Avoid expected SIGALRM signals.
10109         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10110         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10111         (xpthread_create, xpthread_detach, xpthread_join)
10112         (delayed_exit_thread, delayed_exit): New functions.
10113         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10114         (tf): Use xpthread_cond_wait.
10115         (do_test): Likewise.  Replace alarm with delayed_exit.
10116         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10117         (do_test): Call delayed_exit.  Report failure.
10118         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10119         (do_test): Call delayed_exit.
10120         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10121         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10122         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10123         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10124         error.
10125         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10126         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10127         error.
10128         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10129         (do_test): Call delayed_exit.
10130         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10131         (do_test): Call delayed_exit.
10132         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10133         (do_test): Call delayed_exit instead of alarm.  Use
10134         xpthread_mutex_lock.
10135         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10136         (do_test): Call delayed_exit instead of alarm.  Use
10137         xpthread_mutex_lock.
10138         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10139         (do_test): Call delayed_exit instead of alarm.
10140         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10141         (do_test): Call delayed_exit instead of alarm.  Use
10142         xpthread_spin_lock.
10143         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10144         (do_test): Call delayed_exit instead of alarm.  Use
10145         xpthread_join.
10147 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10149         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10150         adjust CFA when allocating register save area on re-aligned
10151         stack.
10153 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10155         * string/tst-cmp.c: New test.
10156         * string/Makefile (tests): Add it.
10158 2016-08-25  Mark Wielaard  <mark@klomp.org>
10160         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10161         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10162         (check_tree_recurse): Use newly defined accessors.
10163         (check_tree): Likewise.
10164         (maybe_split_for_insert): Likewise.
10165         (__tfind): Likewise.
10166         (__tdelete): Likewise.
10167         (trecurse): Likewise.
10168         (tdestroy_recurse): Likewise.
10169         (__tsearch): Likewise. And add asserts for malloc alignment.
10170         (__twalk): Cast root to node in case CHECK_TREE is defined.
10172 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10174         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10176 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10178         * math/Makefile (libm-gen-calls): Add
10179         catan, catanh, ctan, ctanh.
10180         (libm-calls): Remove the above.
10182         * math/s_catan_template.c: Update using type-generic macros.
10183         * math/s_catanh_template.c: Likewise.
10184         * math/s_ctan_template.c: Likewise.
10185         * math/s_ctanh_template.c: Likewise.
10187         * math/s_catanf.c: Removed.
10188         * math/s_catan.c: Removed.
10189         * math/s_catanl.c: Removed.
10190         * math/s_catanhf.c: Removed.
10191         * math/s_catanh.c: Removed.
10192         * math/s_catanhl.c: Removed.
10193         * math/s_ctanf.c: Removed.
10194         * math/s_ctan.c: Removed.
10195         * math/s_ctanl.c: Removed.
10196         * math/s_ctanhf.c: Removed.
10197         * math/s_ctanh.c: Removed.
10198         * math/s_ctanhl.c: Removed.
10200         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10201         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10202         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10203         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10204         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10205         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10207         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10208         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10209         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10210         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10212 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10214         * s_catan_template.c: Copy of s_catan.c.
10215         * s_catanh_template.c: Copy of s_catanh.c.
10216         * s_ctan_template.c: Copy of s_ctan.c.
10217         * s_ctanh_template.c: Copy of s_ctanh.c.
10219 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10221         * math/Makefile (gen-libm-calls): Move
10222         casin, casinh, csin, csinh here.
10223         (libm-calls): Remove the above.
10225         * math/s_casin_template.c: Update using type-generic macros.
10226         * math/s_casinh_template.c: Likewise.
10227         * math/s_csin_template.c: Likewise.
10228         * math/s_csinh_template.c: Likewise.
10229         * math/k_casinh_template.c: Likewise.
10231         * math/s_casinf.c: Removed.
10232         * math/s_casin.c: Removed.
10233         * math/s_casinl.c: Removed.
10234         * math/s_casinh.c: Removed.
10235         * math/s_casinhf.c: Removed.
10236         * math/s_casinhl.c: Removed.
10237         * math/s_csin.c: Removed.
10238         * math/s_csinf.c: Removed.
10239         * math/s_csinl.c: Removed.
10240         * math/s_csinh.c: Removed.
10241         * math/s_csinhf.c: Removed.
10242         * math/s_csinhl.c: Removed.
10243         * math/k_casinh.c: Removed.
10244         * math/k_casinhf.c: Removed.
10245         * math/k_casinhl.c: Removed.
10247         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10248         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10249         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10250         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10252         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10253         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10254         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10255         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10256         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10257         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10258         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10259         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10261         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10262         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10263         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10264         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10266         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10267         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10268         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10269         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10271 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10273         * s_casin_template.c: Copy of s_casin.c.
10274         * s_casinh_template.c: Copy of s_casinh.c.
10275         * s_csin_template.c: Copy of s_csin.c.
10276         * s_csinh_template.c: Copy of s_csinh.c.
10277         * k_casinh_template.c: Copy of k_casinh.c.
10279 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10281         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10283 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10285         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10286         (mul_split) Remove, rename as mul_splitl, remove
10287         redundant float.h include, and include via mul_splitl.h
10289         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10290         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10291         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10292         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10293         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10295         * math/mul_splitl.h: New file.
10297         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10298         Move into mul_split.h, and remove redundant float.h include.
10300         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10301         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10305         * math/mul_split.h: New file.
10307 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10309         * math/Makefile (libm-gen-calls): Move
10310         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10311         (libm-calls): Remove above.
10313         * math/s_cacos_template.c: Update using type-generic macros.
10314         * math/s_cacosh_template.c: Likewise.
10315         * math/s_ccos_template.c: Likewise.
10316         * math/s_ccosh_template.c: Likewise.
10318         * math/s_cacosf.c: Removed.
10319         * math/s_cacos.c: Removed.
10320         * math/s_cacosl.c: Removed.
10321         * math/s_cacoshf.c: Removed.
10322         * math/s_cacosh.c: Removed.
10323         * math/s_cacoshl.c: Removed.
10324         * math/s_ccosf.c: Removed.
10325         * math/s_ccos.c: Removed.
10326         * math/s_ccosl.c: Removed.
10327         * math/s_ccoshf.c: Removed.
10328         * math/s_ccosh.c: Removed.
10329         * math/s_ccoshl.c: Removed.
10331         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10332         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10333         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10334         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10335         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10336         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10338         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10339         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10340         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10341         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10343         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10344         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10345         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10346         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10348 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10350         * s_cacos_template.c: Copy of s_cacos.c.
10351         * s_cacosh_template.c: Copy of s_cacosh.c.
10352         * s_ccos_template.c: Copy of s_ccos.c.
10353         * s_ccosh_template.c: Copy of s_ccosh.c.
10355 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10357         * stdlib/tst-strtod-round-skeleton.c:
10358         Refactored from tst-strtod-round.c.
10360         (L_): New macro to apply literal modifier.
10361         (FNPFX): New macro to select str or wcs prefix.
10362         (CHAR): New macro to choose wchar_t or char.
10363         (STRM): New macro to choose printf for tested character type.
10365         (STRTO): New macro to choose appropriate string -> real function.
10366         (FNPFXS): Stringitized version of FNPFX.
10367         (STR): Support for above macro.
10368         (STRX): Likewise.
10370         (TEST): Update with above macros.
10371         (test): Likewise.
10372         (GEN_ONE_TEST): Likewise.
10373         (test_in_one_mode): Likewise.
10375         * stdlib/tst-strtod-round.c: New file.
10376         * wcsmbs/tst-wcstod-round.c: New file.
10378         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10379         (tst-wcstod-round): Add libm depencency for fesetround.
10381 2016-08-19  Zack Weinberg  <zackw@panix.com>
10383         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10385 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10387         [BZ #20477]
10388         * resolv/res_hconf.c (do_init): Use atomic access.
10389         * resolv/res_hconf.h: Add comments.
10390         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10391         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10394 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10396         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10397         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10399         Likewise.
10401 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10403         [BZ #16907]
10404         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10405         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10406         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10407         (__attribute__): Remove definition.
10409 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10411         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10412         Remove unused sqrtl declaration.
10414 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10416         * math/Makefile: (gen-libm-templates.stmp): New rule.
10417         (libm-calls): Move carg conj cimag and cabs into ...
10418         (gen-libm-calls): New variable.
10419         (generated): Inform Make objects from gen-libm-calls
10420         may be generated.
10422         * sysdeps/generic/math-type-macros.h: New file.
10423         * sysdeps/generic/math-type-macros-float.h: Likewise.
10424         * sysdeps/generic/math-type-macros-double.h: Likewise.
10425         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10426         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10427         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10429         * math/cabs.c: Refactor into
10430         * math/cabs_template.c: new file.
10431         * math/cabsf.c: Removed.
10432         * math/cabsl.c: Removed.
10433         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10434         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10436         * math/carg.c: Refactor into
10437         * math/carg_template.c: new file.
10438         * math/cargf.c: Removed.
10439         * math/cargl.c: Removed.
10440         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10441         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10443         * math/conj.c: Refactor into
10444         * math/conj_template.c: new file.
10445         * math/conjf.c: Removed.
10446         * math/conjl.c: Removed.
10447         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10448         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10450         * math/cimag.c: Refactor into
10451         * math/cimag_template.c: new file.
10452         * math/cimagf.c: Removed.
10453         * math/cimagl.c: Removed.
10454         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10455         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10457         * math/cimag.c: Refactor into
10458         * math/cimag_template.c: new file.
10459         * math/cimagf.c: Removed.
10460         * math/cimagl.c: Removed.
10461         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10462         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10464 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10466         Reduce time to expected nptl/tst-once5 failure.
10467         * nptl/tst-once5.cc (TIMEOUT): Define.
10469 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10471         [BZ #20452]
10472         Avoid additional copies of objects in libc.a in static libraries.
10473         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10474         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10475         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10476         rt-sysdep.
10477         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10478         Add nptl-sysdep.
10479         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10480         Add ptw-sysdep.
10481         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10482         rt-sysdep.
10483         * sysdeps/unix/sysv/linux/alpha/Makefile
10484         (libpthread-shared-only-routines): Add ptw-sysdep,
10485         ptw-sigprocmask, ptw-rt_sigaction.
10486         * sysdeps/unix/sysv/linux/ia64/Makefile
10487         (librt-shared-only-routines): Add rt-sysdep.
10488         * sysdeps/unix/sysv/linux/i386/Makefile
10489         (libpthread-shared-only-routines): Add libc-do-syscall.
10490         * sysdeps/unix/sysv/linux/microblaze/Makefile
10491         (libpthread-shared-only-routines): Add sysdep.
10492         * sysdeps/unix/sysv/linux/powerpc/Makefile
10493         (librt-shared-only-routines): Add rt-sysdep.
10494         (libpthread-shared-only-routines): Add sysdep.
10495         * sysdeps/unix/sysv/linux/s390/Makefile
10496         (librt-shared-only-routines): Add rt-sysdep.
10497         * sysdeps/unix/sysv/linux/sparc/Makefile
10498         (librt-shared-only-routines): Add rt-sysdep.
10499         (libpthread-shared-only-routines): Add sysdep.
10500         * sysdeps/unix/sysv/linux/tile/Makefile
10501         (libpthread-shared-only-routines): Likewise.
10503 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10505         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10506         Mask implicit bit out of unpacked value.
10507         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10508         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10511         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10513         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10515         * sysdeps/s390/fpu/fesetexcept.c: New file.
10517         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10518         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10519         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10521         * sysdeps/mips/fpu/fesetexcept.c: New file.
10523         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10525         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10527         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10529         * sysdeps/arm/fesetexcept.c: New file.
10531         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10533         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10535         * math/fesetexcept.c: New file.
10536         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10537         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10538         * math/fenv.h: Define
10539         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10540         <bits/libc-header-start.h> instead of including <features.h>.
10541         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10542         declaration.
10543         * manual/arith.texi (fesetexcept): Document function.
10544         * math/Versions (fesetexcept): New libm symbol at version
10545         GLIBC_2.25.
10546         * math/Makefile (libm-support): Add fesetexcept.
10547         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10548         * math/test-fesetexcept.c: New file.
10549         * math/test-fesetexcept-traps.c: Likewise.
10550         * sysdeps/nacl/libm.abilist: Update.
10551         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10552         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10553         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10554         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10555         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10556         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10557         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10558         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10559         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10560         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10562         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10564         Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10566         Likewise.
10567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10568         Likewise.
10569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10570         Likewise.
10571         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10572         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10573         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10574         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10575         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10577         Likewise.
10578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10579         Likewise.
10580         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10581         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10582         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10584 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10586         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10587         New.
10588         (do_test): Apply default_stack_size_in_mb if not set.
10589         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10591 2016-08-15  Andreas Schwab  <schwab@suse.de>
10593         [BZ #20435]
10594         CVE-2016-6323
10595         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10596         as .cantunwind.
10598 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10600         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10601         comment from fraiseexcpt.c.
10603         * math/test-fexcept.c (feraiseexcept_exact): New function.
10604         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10605         (test_except): Likewise.
10607 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10609         [BZ #20455]
10610         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10611         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10612         to be restored.
10614         * math/test-fexcept-traps.c: New file.
10615         * math/test-fexcept.c: Likewise.
10616         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10617         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10618         macro.
10619         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10620         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10622 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10624         * include/atomic.h (atomic_fetch_and_relaxed,
10625         atomic_fetch_and_release, atomic_fetch_or_release,
10626         atomic_fetch_xor_release): New.
10628 2016-08-06  Christian Seiler  <christian@iwakd.de>
10630         [BZ #20444]
10631         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10632         MACH_PORT_NULL.
10634 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10636         * math/s_fdim.c: Avoid alias renamed.
10637         * math/s_fdimf.c: Likewise.
10638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10639         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10640         Add s_fdimf-vis3, s_fdim-vis3.
10641         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10642         (CFLAGS-s_fdim-vis3.c): Likewise.
10643         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10644         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10646 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10649         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10650         Remove s_fdimf-vis3, s_fdim-vis3.
10651         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10652         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10659         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10660         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10662 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10664         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10665         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10666         -Wa,-Av9a -mvis.
10668 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10670         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10671         LIT() to individual constants in simple expressions
10672         after splitting on spaces.
10673         (_apply_lit): Rename replaced version, and use it to
10674         apply to what appears to be a token.
10676         * math/libm-test.inc: Fix many, many issues with
10677         spacing.
10679 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10681         * math/math.h: Move comment about <bits/mathdef.h> definitions
10682         above inclusion of <bits/mathdef.h>.  Do not mention
10683         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10685 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10687         * include/atomic.h (atomic_exchange_relaxed): New.
10689 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10691         * math/e_scalb.c: Do not include <fenv.h>.
10692         (invalid_fn): Do calculation resulting in NaN instead of raising
10693         FE_INVALID and returning a NaN explicitly.
10694         * math/e_scalbf.c: Do not include <fenv.h>.
10695         (invalid_fn): Do calculation resulting in NaN instead of raising
10696         FE_INVALID and returning a NaN explicitly.
10697         * math/e_scalbl.c: Do not include <fenv.h>.
10698         (invalid_fn): Do calculation resulting in NaN instead of raising
10699         FE_INVALID and returning a NaN explicitly.
10701 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10703         * po/de.po: Updated from Translation Project.
10704         * po/fi.po: Likewise.
10705         * po/sv.po: Likewise.
10707 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10709         [BZ #20452]
10710         Use sysdep.o from libc.a in static libraries.
10711         * sysdeps/unix/sysv/linux/i386/Makefile
10712         (libpthread-shared-only-routines): Add sysdep.
10713         (librt-shared-only-routines): Likewise.
10715 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10717         * math/tgmath.h (nextdown): Define if
10718         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
10719         (nextup): Likewise.
10721         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
10722         macro.
10723         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10724         Document.
10725         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
10726         Document macro.
10727         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
10728         (exp10f): Likewise.
10729         (exp10l): Likewise.
10730         * math/bits/mathcalls.h (exp10): Declare if
10731         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
10733         * manual/arith.texi (nextup): Fix typo in last change.
10735 2016-08-03  Zack Weinberg  <zackw@panix.com>
10737         [BZ #19239]
10738         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
10739         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
10740         define major, minor, and makedev to issue deprecation warnings on use.
10741         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
10742         previously-activated deprecation warnings for these macros and prevent
10743         subsequent inclusions of this header from having any effect.
10744         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
10745         including <sys/sysmacros.h>, and undefine it again afterward.
10747 2016-08-03  Zack Weinberg  <zackw@panix.com>
10749         * sysdeps/generic/sys/sysmacros.h: Delete file.
10750         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
10751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
10752         * bits/sysmacros.h: ... here; this encoding is now the generic
10753         encoding.  Now defines only the following macros:
10754         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
10755         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
10756         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
10758         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
10759         bits/sysmacros.h and the above new macros to generate the
10760         public implementations of major, minor, and makedev.
10761         * misc/tst-makedev.c: New test.
10762         * include/sys/sysmacros.h: New wrapper.
10764         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
10765         (routines): Add makedev.
10766         (tests): Add tst-makedev.
10767         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
10768         gnu_dev_makedev.
10769         * posix/Makefile (headers): Remove sys/sysmacros.h.
10770         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
10772         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
10773         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
10774         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
10775         * sysdeps/unix/sysv/linux/alpha/libc.abilist
10776         * sysdeps/unix/sysv/linux/arm/libc.abilist
10777         * sysdeps/unix/sysv/linux/hppa/libc.abilist
10778         * sysdeps/unix/sysv/linux/i386/libc.abilist
10779         * sysdeps/unix/sysv/linux/ia64/libc.abilist
10780         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
10781         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
10782         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
10783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
10784         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
10785         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
10786         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
10787         * sysdeps/unix/sysv/linux/nios2/libc.abilist
10788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
10790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
10791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
10792         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
10793         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10794         * sysdeps/unix/sysv/linux/sh/libc.abilist
10795         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
10796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
10797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
10798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
10799         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
10800         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
10801         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
10802         Add GLIBC_2.25.
10804         * include/features.h (__glibc_clang_prereq): New macro.
10805         * misc/sys/cdefs.h (__glibc_clang_has_extension)
10806         (__attribute_deprecated_msg__): New macros.
10808 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10810         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
10811         macro.
10812         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
10813         * manual/arith.texi (issignaling): Document as ISO from TS
10814         18661-1:2014.
10815         (nextup): Likewise.
10816         (nextupf): Likewise.
10817         (nextupl): Likewise.
10818         (nextdown): Likewise.
10819         (nextdownf): Likewise.
10820         (nextdownl): Likewise.
10821         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
10822         macro.
10823         * math/math.h: Define
10824         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10825         <bits/libc-header-start.h> instead of including <features.h>.
10826         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
10827         [__USE_GNU].
10828         * math/bits/mathcalls.h (nextdown): Declare if
10829         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
10830         (nextup): Likewise.
10831         (__issignaling): Likewise.
10833 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10835         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
10836         check, and remove __glibc_likely hint
10837         from FP_INFINITE check.
10838         * s_csinhf.c (__csinhf): Likewise.
10840         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
10841         hint from FP_INFINITE check.
10842         * s_csinhl.c (__csinhl): Likewise.
10844 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10846         * math/Makefile (libm-calls): Insert F placeholder into
10847         object names.  Move w_lgamma_compat* routines into
10848         (libm-compat-calls): New variable.
10849         (libm-compat-calls-ldouble-yes): New variable.
10850         (calls): Insert F placeholder.
10851         (generated): Redefine using new type-foreach macro call.
10852         (routines): Likewise.
10854         (types): New variable to hold a list of symbolic names
10855         for each type supported by the target machine.
10856         (libm-routines): Redefine using new types variable.
10857         (type-foreach): macro to replace fooF with the
10858         appropriately suffixed foo for each types.
10860         (type-ldouble-suffix): New variable.
10861         (type-ldouble-routines): Likewise.
10862         (type-ldouble-yes): Likewise.
10863         (type-double-suffix): Likewise.
10864         (type-double-routines): Likewise.
10865         (type-float-suffix): Likewise.
10866         (type-float-routines): Likewise.
10868         (dbl-only-routines): Remove.
10869         (long-c-yes): Likewise.
10870         (long-m-routines): Likewise.
10871         (long-m-support): Likewise.
10872         (long-m-yes): Likewise.
10873         (test-longdouble-yes): Likewise.
10875         (test-float.o): Simplify by increasing the scope of the
10876         recipe which adds libm-test.stmp to the vector types.
10877         (test-ifloat.o): Likewise.
10878         (test-float-finite.o): Likewise.
10879         (test-double.o): Likewise
10880         (test-idouble.o): Likewise.
10881         (test-double-finite.o): Likewise.
10882         (test-ldouble.o): Likewise
10883         (test-ildoubl.o): Likewise.
10884         (test-ldouble-finite.o): Likewise.
10886         (libm-tests): Redefine type tests using foreach and the
10887         list of types in types.
10889         (CPPFLAGS-test-ildoubl.c): Rename to
10890         (CPPFLAGS-test-ildouble.c): New variable
10892         * math/test-ildoubl.c: Rename to
10893         * math/test-ildouble.c: New file.
10895 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10897         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
10898         Use fabsl instead of fabs.
10899         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
10900         Likewise.
10901         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
10902         Add long double suffix to constant to ensure proper
10903         promotion to long double.
10905 2016-08-03  Tom Tromey  <tom@tromey.com>
10907         [BZ #20311]
10908         * nptl_db/Makefile (headers): Add proc_service.h.
10909         * nptl_db/proc_service.h: Add include guard.  Use
10910         __BEGIN/__END_DECLS.
10911         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
10912         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
10913         arguments.
10916 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10918         [BZ #17730]
10919         Avoid using memalign for TCB allocations.
10920         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
10921         (_dl_allocate_tls_storage): Use malloc and manual alignment.
10922         Avoid alignment gap in the TLS_DTV_AT_TP case.
10923         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
10924         determine the pointer to free.
10925         * nptl/tst-tls3-malloc.c: New test.
10926         * nptl/Makefile (tests): Add it.
10927         (tst-tls3-malloc): Link with libdl, libpthread.
10928         (LDFLAGS-tst-tls3-malloc): Set.
10929         (tst-tls3-malloc.out): Depend on DSO used in test.
10931 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10933         [BZ #17730]
10934         Avoid using memalign for TLS allocations.
10935         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
10936         is_static member with to_free member.
10937         (union dtv): Use struct dtv_pointer.
10938         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
10939         dtv_pointer instead of is_static.
10940         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
10941         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
10942         instead of val.
10943         (allocate_dtv_entry): New function.
10944         (allocate_and_init): Return struct dtv_pointer.  Call
10945         allocate_dtv_entry instead of __libc_memalign.
10946         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
10947         instead of val.
10948         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
10949         instead of is_static.  Adjust call to allocate_and_init.
10950         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
10951         struct dtv_pointer instead of val.
10953 2016-08-03  Florian Weimer  <fweimer@redhat.com>
10955         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
10956         (MALLOC_ALIGN_MASK): Move ...
10957         * malloc/malloc-internal.h: ... to here.
10958         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
10960 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10962         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
10963         (UDP_ENCAP_GTP1U): Likewise.
10965         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
10966         (PF_MAX): Update value.
10967         (AF_QIPCRTR): New macro.
10969 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
10971         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
10972         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
10973         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
10974         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10975         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10976         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
10977         s_truncf-vis3, s_trunc-vis3.
10978         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10979         (CFLAGS-s_ceil-vis3.c): Likewise.
10980         (CFLAGS-s_floorf-vis3.c): Likewise.
10981         (CFLAGS-s_floor-vis3.c): Likewise.
10982         (CFLAGS-s_truncf-vis3.c): Likewise.
10983         (CFLAGS-s_trunc-vis3.c): Likewise.
10984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
10985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
10986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
10987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
10988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
10989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
10990         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
10991         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
10992         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
10993         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
10994         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
10995         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
10997 2016-08-02  David S. Miller  <davem@davemloft.net>
10999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11000         (__nearbyint_vis3): Don't check for sNaN before float register is
11001         loaded with the incoming argument.
11002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11003         (__nearbyintf_vis3): Likewise.
11004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11005         Likewise.
11006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11007         Likewise.
11009         * string/test-strncmp.c (do_test_limit): Make sure the test data
11010         stream is aligned as required for the type "CHAR".
11011         (do_test): Likewise.
11013 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11015         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11016         by beq instructions jumping to the end of the function.
11017         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11018         clobber list. Use "i" constraint instead of "X".
11019         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11020         of "X".
11022 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11024         * bits/libc-header-start.h: New file.
11025         * Makefile (headers): Add bits/libc-header-start.h.
11026         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11027         (__GLIBC_USE): New macro.
11028         * libio/stdio.h: Define
11029         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11030         <bits/libc-header-start.h> instead of including <features.h>.
11031         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11032         (open_memstream): Likewise.
11033         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11034         (__asprintf): Likewise.
11035         (asprintf): Likewise.
11036         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11037         (getdelim): Likewise.
11038         (getline): Likewise.
11039         * string/string.h: Define
11040         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11041         <bits/libc-header-start.h> instead of including <features.h>.
11042         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11043         (strndup): Likewise.
11044         * wcsmbs/wchar.h: Define
11045         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11046         <bits/libc-header-start.h> instead of including <features.h>.
11047         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11048         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11050 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11052         Support linking against compatibility symbols, for use in tests.
11053         * include/libc-symbols.h (symbol_version_reference): New macro.
11054         (symbol_version): Use it.
11055         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11056         (compat_symbol): Use compat_symbol_reference.
11057         (compat_symbol_1, compat_symbol_2): Remove.
11058         (compat_symbol_reference, compat_symbol_reference_1)
11059         (compat_symbol_reference_2): New macro.  Use
11060         symbol_version_reference.
11062 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11064         [BZ #19469]
11065         * malloc/Makefile (CPPFLAGS): Compile tests with
11066         -DTEST_NO_MALLOPT.
11067         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11069 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11071         [BZ #20033]
11072         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11073         finite version.
11074         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11075         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11076         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11077         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11078         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11079         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11080         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11081         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11084         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11087         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11090         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11091         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11092         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11093         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11094         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11095         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11096         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11097         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11098         in zero power.
11100 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11102         [BZ #20370]
11103         * malloc/arena.c (get_free_list): Update comment.  Assert that
11104         arenas on the free list have no attached threads.
11105         (remove_from_free_list): New function.
11106         (reused_arena): Call it.
11108 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11110         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11111         when it is a NaN.
11112         [_IEEE_FP_INEXACT] Remove.
11113         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11114         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11115         when it is a NaN.
11116         [_IEEE_FP_INEXACT] Remove.
11117         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11118         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11119         when it is a NaN.
11120         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11121         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11122         when its absolute value is greater than 0x1.0p52.
11123         [_IEEE_FP_INEXACT] Remove.
11124         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11125         when its absolute value is greater than 0x1.0p23.
11126         [_IEEE_FP_INEXACT] Remove.
11128 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11130         * version.h (RELEASE): Set to "development"
11131         (VERSION): Set to 2.24.90.
11132         * NEWS: Add 2.25 section.
11134         * version.h (RELEASE): Set to "stable"
11135         (VERSION): Set to 2.24.
11136         * include/features.h (__GLIBC_MINOR__): Set to 24.
11138         * NEWS: Add 2.24 fixed bugs.
11139         * po/libc.pot: Regenerate.
11141 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11144         [$(subdir) = math] (libm-sysdep_routines): Remove.
11145         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11146         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11147         s_truncf-vis3, s_trunc-vis3.
11148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11150         file.
11151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11184         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11185         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11186         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11187         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11188         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11189         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11190         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11191         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11192         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11193         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11195 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11197         [BZ #20384]
11198         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11199         test-double-libmvec-sincos-avx-main.o,
11200         test-double-libmvec-sincos-avx2-main.o,
11201         test-double-libmvec-sincos-main.o,
11202         test-float-libmvec-sincosf-avx-main.o,
11203         test-float-libmvec-sincosf-avx2-main.o and
11204         test-float-libmvec-sincosf-main.o.
11205         test-float-libmvec-sincosf-avx512-main.o.
11206         ($(objpfx)test-double-libmvec-sincos): Also link with
11207         $(objpfx)test-double-libmvec-sincos-main.o.
11208         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11209         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11210         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11211         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11212         ($(objpfx)test-float-libmvec-sincosf): Also link with
11213         $(objpfx)test-float-libmvec-sincosf-main.o.
11214         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11215         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11216         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11217         test-double-libmvec-sincos-avx512-main.o and
11218         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11219         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11220         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11221         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11222         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11223         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11224         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11225         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11226         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11227         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11228         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11229         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11230         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11231         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11232         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11233         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11234         -DREQUIRE_AVX2.
11235         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11236         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11237         -DREQUIRE_AVX512F.
11238         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11239         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11240         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11241         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11242         file.
11243         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11244         Likewise.
11245         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11246         Likewise.
11247         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11248         Likewise.
11249         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11250         Likewise.
11251         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11252         Likewise.
11253         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11254         Likewise.
11255         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11256         Likewise.
11258 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11260         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11262 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11264         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11265         and typo in a comment about AT_HWCAP entry.
11267 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11269         * sysdeps/aarch64/libm-test-ulps: Updated.
11271 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11273         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11274         of r13 as it is not restored in mvcle case.
11276 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11278         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11279         Rename "ret" to "__ret".
11280         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11281         inline_syscall5, inline_syscall6): Likewise.
11283 2016-07-19   Will Newton  <will.newton@gmail.com>
11285         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11286         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11287         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11288         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11289         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11291 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11293         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11294         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11295         -mfpmath=387 with $(rtld-CFLAGS).
11296         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11297         $(rtld-CFLAGS).
11299 2016-07-18   Ross Burton  <ross.burton@intel.com>
11300              Khem Raj  <raj.khem@gmail.com>
11302         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11303         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11304         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11305         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11306         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11307         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11308         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11309         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11310         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11311         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11312         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11313         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11314         R_METAG_TLS_DTPOFF): New.
11316 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11317             Matt Clay  <mclay@lycos.com>
11319         [BZ #20357]
11320         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11321         to call __mpsin/__mpcos and to negate values.
11322         * math/auto-libm-test-in: Add test.
11323         * math/auto-libm-test-out: Regenerate.
11325 2016-07-18  Zack Weinberg  <zackw@panix.com>
11327         * grp/Makefile: Don't install the internal header grp-merge.h.
11329 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11331         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11333 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11335         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11337 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11339         [BZ #15368]
11340         * sysdeps/unix/sysv/linux/nptl-signals.h
11341         (__nptl_clear_internal_signals): New function.
11342         (__libc_signal_block_all): Likewise.
11343         (__libc_signal_block_app): Likewise.
11344         (__libc_signal_restore_set): Likewise.
11345         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11346         implementation.
11347         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11348         the cached pid/tid value in pthread structure.
11350 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11352         [BZ #20347]
11353         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11355 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11357         [BZ #20348]
11358         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11359         preadv64, pwrite64 and pwritev64.
11361 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11363         [BZ #20350]
11364         * posix/tst-preadwrite.c: Renamed to ...
11365         * posix/tst-preadwrite-common.c: This.
11366         (PREAD): Removed.
11367         (PWRITE): Likewise.
11368         (STRINGIFY): Likewise.
11369         (STRINGIFY2): Likewise.
11370         (do_prepare): Make it static and remove function arguments.
11371         (do_test): Likewise.
11372         (PREPARE): Updated.
11373         (TEST_FUNCTION): New.
11374         (name): Make it static.
11375         (fd): Likewise.
11376         (do_prepare): Use create_temp_file.
11377         (do_test): Renamed to ...
11378         (do_test_with_offset): This.  Make it static and accept offset.
11379         Properly check return value of PWRITE and PREAD.  Return bytes
11380         read.  Don't close fd nor unlink name.
11381         * posix/tst-preadwrite.c: Rewrite.
11382         * posix/tst-preadwrite64.c: Likewise.
11384 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11386         [BZ #20309]
11387         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11388         -mtls-dialect=gnu2 works.
11389         * configure: Regenerated.
11390         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11391         (tests): Add tst-gnu2-tls1.
11392         (modules-names): Add tst-gnu2-tls1mod.
11393         ($(objpfx)tst-gnu2-tls1): New.
11394         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11395         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11396         * elf/tst-gnu2-tls1.c: New file.
11397         * elf/tst-gnu2-tls1mod.c: Likewise.
11398         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11399         bytes for push in the PLT entry to align the stack.
11401 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11403         [BZ #20349]
11404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11406 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11408         [BZ #18707]
11409         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11410         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11412 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11414         * sysdeps/unix/sysv/linux/sysdep.h
11415         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11416         guards.
11417         * misc/tst-preadvwritev-common.c: New file.
11418         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11419         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11420         a check for files larger than 2GB.
11422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11423         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11424         * sysdeps/unix/sysv/linux/pread.c
11425         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11426         __OFF_T_MATCHES_OFF64_T.
11427         * sysdeps/unix/sysv/linux/pread64.c
11428         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11429         * sysdeps/unix/sysv/linux/preadv.c
11430         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11431         * sysdeps/unix/sysv/linux/preadv64.c
11432         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11433         * sysdeps/unix/sysv/linux/pwrite.c
11434         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11435         * sysdeps/unix/sysv/linux/pwrite64.c
11436         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11437         * sysdeps/unix/sysv/linux/pwritev.c
11438         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11439         * sysdeps/unix/sysv/linux/pwritev64.c
11440         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11442 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11445         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11447 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11449         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11451 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11453         [BZ #20240]
11454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11455         (CFLAGS-s_modf-ppc32.c): New variable.
11456         (CFLAGS-s_modff-ppc32.c): Likewise.
11457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11458         (CFLAGS-s_modf-ppc64.c): Likewise.
11459         (CFLAGS-s_modff-ppc64.c): Likewise.
11461 2016-07-07  Andreas Schwab  <schwab@suse.de>
11463         [BZ #20263]
11464         * nptl/tst-robust10.c: New test.
11465         * nptl/Makefile (tests): Add tst-robust10.
11467 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11469         [BZ #20263]
11470         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11472 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11474         * sysdeps/s390/linkmap.h (struct link_map_machine):
11475         Remove member gotplt and add member jmprel.
11476         * sysdeps/s390/s390-32/dl-machine.h
11477         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11478         instead of gotplt with &got[3].
11479         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11480         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11482 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11484         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11486 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11488         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11489         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11490         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11491         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11492         * libio/vtables.c (_IO_vtable_check)
11493         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11494         * libio/libioP.h (IO_set_accept_foreign_vtables)
11495         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11497 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11499         [BZ #20314]
11500         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11501         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11502         $(common-objpfx)cmath.
11503         ($(common-objpfx)cstdlib): New target.
11504         ($(common-objpfx)cmath): Likewise.
11506 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11508         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11510 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11512         [BZ #20327]
11513         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11514         are not part of the string.
11516 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11518         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11519         * nptl/tst-cancel4-common.h (fifoname): New variable.
11520         (fifofd): Likewise.
11521         (cl_fifo): New function.
11522         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11523         SIGINT.
11524         (tf_open): Add early cancel test.
11526 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11528         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11530 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11532         * sysdeps/generic/ldsodefs.h
11533         (dl_symbol_visibility_binds_local_p): New inline function.
11534         * elf/dl-addr.c (determine_info): Treat hidden and internal
11535         symbols as local.
11536         * elf/dl-lookup.c (do_lookup_x): Likewise.
11537         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11539 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11541         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11542         invalid exception for a sNaN input.
11543         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11544         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11545         (__nearbyint_vis3): Likewise
11546         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11547         (__nearbyintf_vis3): Likewise
11548         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11549         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11550         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11551         Likewise.
11552         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11553         Likewise.
11555 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11557         [BZ #20139]
11558         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11559         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11560         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11561         2.24 or above.
11562         (HAVE_AVX512_ASM_SUPPORT): Removed.
11563         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11564         * sysdeps/x86_64/configure: Regenerated.
11565         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11566         check unconditional.
11567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11568         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11569         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11570         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11571         Likewise.
11572         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11573         Likewise.
11574         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11575         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11576         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11577         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11578         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11579         Likewise.
11580         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11581         Likewise.
11582         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11583         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11585         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11586         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11587         Likewise.
11588         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11589         Likewise.
11590         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11591         Likewise.
11592         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11593         Likewise.
11594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11595         Likewise.
11596         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11597         Likewise.
11598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11599         Likewise.
11600         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11601         Likewise.
11602         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11603         Likewise.
11604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11605         Likewise.
11606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11607         Likewise.
11609 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11611         [BZ #20024]
11612         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11614         of this implementation of vector function.
11615         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11616         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11617         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11618         Likewise.
11619         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11620         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11621         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11622         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11623         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11624         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11625         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11626         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11627         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11628         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11629         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11630         for testing vector sincos with fixed ABI.
11631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11632         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11633         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11634         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11635         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11636         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11637         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11638         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11639         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11640         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11641         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11642         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11643         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11644         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11645         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11646         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11648 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11650         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11652 2016-06-30  Anton Blanchard  <anton@samba.org>
11654         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11655         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11656         s_sinf-ppc64.
11657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11660         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11662 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11666         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11667         e_expf-ppc64.
11668         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11669         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11670         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11671         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11673 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11675         [BZ #20277]
11676         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11677         when SHARED is defined.
11679 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11681         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11682         (index_arch_Prefer_ERMS): Likewise.
11683         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11684         __memcpy_erms for Prefer_ERMS.
11685         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11686         (__memmove_erms): Enabled for libc.a.
11687         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11688         __memmove_erms or Prefer_ERMS.
11689         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11690         __mempcpy_erms for Prefer_ERMS.
11691         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11692         __memset_erms for Prefer_ERMS.
11694 2016-06-30  Andreas Schwab  <schwab@suse.de>
11696         [BZ #20262]
11697         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11698         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11699         of memory.
11701 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11703         [BZ #18645]
11704         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11705         (test-extras): Add tst-cleanupx4aux.
11706         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11707         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11708         tst-cleanupx4aux.o.
11709         * nptl/tst-cleanupx4aux.c: New file.
11711 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11713         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11715 2016-06-29  Andreas Schwab  <schwab@suse.de>
11717         [BZ #20260]
11718         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
11719         address before the beginning of the string as an integer to avoid
11720         array-bounds warning.
11722 2016-06-28  Richard Henderson  <rth@redhat.com>
11724         * elf/elf.h (EM_BPF): New.
11725         (EM_NUM): Update.
11726         (R_BPF_NONE, R_BPF_MAP_FD): New.
11728         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
11729         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
11730         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
11731         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
11732         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
11733         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
11734         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
11735         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
11736         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
11737         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
11738         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
11739         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
11740         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
11741         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
11742         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
11743         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
11744         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
11745         (EM_NUM): Update.
11747 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
11749         [BZ #18960]
11750         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
11751         Set _nl_current_LC_CATEGORY_used to two instead of one.
11753 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
11755         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
11756         (do_test): ... this.
11757         (TEST_FUNCTION): New macro.
11758          Include test-skeleton.c.
11759         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
11760         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
11762 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
11764         [BZ #15479]
11765         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
11766         floating-point environment rather than just control word.
11767         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11768         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
11769         floating-point environment, with "invalid" exceptions merged in,
11770         rather than just control word.
11771         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
11772         * math/libm-test.inc (trunc_test_data): Do not allow spurious
11773         "inexact" exceptions.
11775         [BZ #15479]
11776         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
11777         floating-point environment rather than just control word.
11778         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11779         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
11780         floating-point environment, with "invalid" exceptions merged in,
11781         rather than just control word.
11782         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
11783         * math/libm-test.inc (floor_test_data): Do not allow spurious
11784         "inexact" exceptions.
11786         [BZ #15479]
11787         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
11788         floating-point environment rather than just control word.
11789         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11790         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
11791         floating-point environment, with "invalid" exceptions merged in,
11792         rather than just control word.
11793         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
11794         * math/libm-test.inc (ceil_test_data): Do not allow spurious
11795         "inexact" exceptions.
11797 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
11799         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
11800         __libc_vfork.
11801         (__vfork) [IS_IN (libc)]: Remove alias.
11802         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
11803         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11804         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11806 2016-06-24  Torvald Riegel  <triegel@redhat.com>
11808         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
11809         of atomic_compare_and_exchange_bool_rel.
11810         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11811         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
11812         catomic_compare_and_exchange_bool_rel): Remove.
11813         * sysdeps/aarch64/atomic-machine.h
11814         (atomic_compare_and_exchange_bool_rel): Likewise.
11815         * sysdeps/alpha/atomic-machine.h
11816         (atomic_compare_and_exchange_bool_rel): Likewise.
11817         * sysdeps/arm/atomic-machine.h
11818         (atomic_compare_and_exchange_bool_rel): Likewise.
11819         * sysdeps/mips/atomic-machine.h
11820         (atomic_compare_and_exchange_bool_rel): Likewise.
11821         * sysdeps/microblaze/atomic-machine.h
11822         ( __arch_compare_and_exchange_bool_8_rel,
11823         __arch_compare_and_exchange_bool_16_rel): Likewise.
11824         * sysdeps/powerpc/atomic-machine.h
11825         ( __arch_compare_and_exchange_bool_8_rel,
11826         __arch_compare_and_exchange_bool_16_rel): Likewise.
11827         * sysdeps/powerpc/powerpc32/atomic-machine.h
11828         ( __arch_compare_and_exchange_bool_32_rel,
11829         __arch_compare_and_exchange_bool_64_rel): Likewise.
11830         * sysdeps/powerpc/powerpc64/atomic-machine.h
11831         ( __arch_compare_and_exchange_bool_32_rel,
11832         __arch_compare_and_exchange_bool_64_rel): Likewise.
11833         * sysdeps/tile/atomic-machine.h
11834         (atomic_compare_and_exchange_bool_rel): Likewise.
11836 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
11838         [BZ #20296]
11839         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
11840         when either argument is a NaN.
11841         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
11842         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
11844         * math/libm-test.inc (snan_value_ld): New macro.
11845         (isgreater_test_data): Add sNaN tests.
11846         (isgreaterequal_test_data): Likewise.
11847         (isless_test_data): Likewise.
11848         (islessequal_test_data): Likewise.
11849         (islessgreater_test_data): Likewise.
11850         (isunordered_test_data): Likewise.
11851         (nextafter_test_data): Likewise.
11852         (nexttoward_test_data): Likewise.
11853         (remainder_test_data): Likewise.
11854         (remquo_test_data): Likewise.
11855         (significand_test_data): Likewise.
11856         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
11858 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11860         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
11861         environment macros are defined.
11862         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
11864 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11866         [BZ #20191]
11867         Implement vtable verification in libio.
11868         * Makerules (shlib.lds): Place __libc_IO_vtables section.
11869         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
11870         * debug/vdprintf_chk.c (__vdprintf_chk): Call
11871         _IO_new_file_init_internal instead of _IO_file_init.
11872         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
11873         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
11874         * libio/Makefile (routines): Add vtables.
11875         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
11876         (_IO_init): Remove, not for internal use.
11877         (_IO_init_internal): Declare, internal replacement for _IO_init.
11878         (_IO_file_init): Remove, not for internal use.
11879         (_IO_new_file_init): Remove, not for internal use.
11880         (_IO_new_file_init_internal): Declare, internal replacement for
11881         _IO_new_file_init.
11882         (_IO_old_file_init): Remove, not for internal use.
11883         (_IO_old_file_init_internal): Declare, internal replacement for
11884         _IO_old_file_init.
11885         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
11886         internal use.
11887         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
11888         Declare.
11889         (libio_vtable): New macro.
11890         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
11891         functions.
11892         * libio/fileops.c (_IO_new_file_init_internal): Rename from
11893         _IO_new_file_init.
11894         (_IO_new_file_init): New externally visible wrapper which disables
11895         vtable verification.
11896         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
11897         Define as vtables.
11898         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
11899         (_IO_init): New externally visible wrapper which disables
11900         vtable verification.
11901         * libio/iofdopen.c (_IO_new_fdopen): Call
11902         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
11903         comment.
11904         * libio/iofopen.c (__fopen_internal): Call
11905         _IO_new_file_init_internal instead of _IO_file_init.
11906         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
11907         Define as vtables.
11908         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
11909         _IO_new_file_init_internal instead of _IO_file_init.
11910         * libio/iopopen.c (_IO_new_popen): Likewise.
11911         (_IO_proc_jumps): Define as vtable.
11912         * libio/iovdprintf.c (_IO_vdprintf): Call
11913         _IO_new_file_init_internal instead of _IO_file_init.
11914         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
11915         (__open_memstream): Call _IO_init_internal instead of _IO_init.
11916         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
11917         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
11918         _IO_old_file_init.
11919         (_IO_old_file_init): New externally visible wrapper which disables
11920         vtable verification.
11921         (_IO_old_file_jumps): Define as vtable.
11922         * libio/oldiofdopen.c (_IO_old_fdopen): Call
11923         _IO_old_file_init_internal instead of _IO_old_file_init.
11924         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11925         * libio/oldiopopen.c (_IO_old_popen): Likewise.
11926         (_IO_old_proc_jumps): Define as vtable.
11927         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
11928         Define as vtables.
11929         * libio/vtables.c: New file.
11930         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
11931         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
11932         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
11933         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
11934         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
11935         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
11936         instead of _IO_init.
11938 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11940         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
11942 2016-06-23  Florian Weimer  <fweimer@redhat.com>
11944         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
11945         potentially unused.
11947 2016-06-22  Florian Weimer  <fweimer@redhat.com>
11949         * test-skeleton.c (write_message): New function.
11950         * malloc/tst-mallocfork2.c (write_message): Remove.
11951         * debug/tst-longjmp_chk2.c (write_indented): New function.
11952         (write_message): Remove.
11953         (stackoverflow_handler): Call write_indented.
11955 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
11957         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
11958         "inexact" exceptions after fnstenv.
11959         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11960         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11961         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
11963 2015-06-22  Zack Weinberg  <zackw@panix.com>
11965         * sysdeps/generic/bits/hwcap.h: Moved to ...
11966         * bits/hwcap.h: Here.
11968 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
11970         * sysdeps/aarch64/memcpy.S (memcpy):
11971         Further tuning for performance.
11973 2016-06-21  Florian Weimer  <fweimer@redhat.com>
11975         [BZ #20284]
11976         * malloc/arena.c (reused_arena): Do not return NULL if we start
11977         out with a non-corrupted arena.
11979 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11981         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
11982         * misc/tst-preadvwritev.c: New file.
11983         * misc/tst-preadvwritev64.c: Likewise.
11984         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
11985         usage.
11986         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
11987         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
11988         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
11989         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
11991 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
11993         [BZ #19654]
11994         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11995         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
11996         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
11997         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
11998         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
11999         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12000         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12001         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12002         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12003         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12004         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12005         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12006         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12007         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12008         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12009         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12010         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12011         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12012         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12013         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12014         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12015         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12016         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12017         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12018         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12019         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12021 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12023         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12024         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12026 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12028         * sysdeps/aarch64/memcpy.S (memcpy):
12029         Rewrite of optimized memcpy and memmove.
12030         * sysdeps/aarch64/memmove.S (memmove): Remove
12031         memmove code (merged into memcpy.S).
12033 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12035         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12036         * sysdeps/generic/dl-dtv.h: New file.
12037         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12038         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12039         (dtv_t): Remove.
12040         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12041         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12042         (dtv_t): Remove.
12043         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12044         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12045         (dtv_t): Remove.
12046         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12047         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12048         (dtv_t): Remove.
12049         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12050         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12051         (dtv_t): Remove.
12052         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12053         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12054         (dtv_t): Remove.
12055         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12056         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12057         (dtv_t): Remove.
12058         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12059         (dtv_t): Remove.
12060         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12061         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12062         (dtv_t): Remove.
12063         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12064         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12065         (dtv_t): Remove.
12066         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12067         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12068         (dtv_t): Remove.
12069         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12070         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12071         (dtv_t): Remove.
12072         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12073         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12074         (dtv_t): Remove.
12075         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12076         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12077         (dtv_t): Remove.
12078         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12079         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12080         (dtv_t): Remove.
12081         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12082         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12083         (dtv_t): Remove.
12085 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12087         Revert symbol poisoning of  __malloc_initialize_hook.
12088         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12089         poisoning.
12090         * malloc/Makefile: Remove un-poisoning.
12091         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12092         instead of old__malloc_initialize_hook.
12093         * malloc/malloc-hooks.h: Likewise.
12094         * malloc/malloc.c: Likewise.
12095         * malloc/mcheck-init.c: Likewise.
12097 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12099         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12101 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12103         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12104         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12105         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12106         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12108 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12110         * NEWS: Mention addition of nextup and nextdown.
12111         * manual/arith.texi: Document nextup and nextdown.
12112         * manual/libm-err-tab.pl: Add nextup and nextdown.
12113         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12114         * math/Versions (libm): Add GLIBC_2.24.
12115         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12116         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12117         Add new test.
12118         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12119         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12120         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12121         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12122         (nextup_test_data): Likewise.
12123         (nextdown_test_data): Likewise.
12124         * math/s_nextdown.c: New file.
12125         * math/s_nextdownf.c: Likewise.
12126         * math/s_nextdownl.c: Likewise.
12127         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12128         F(nextup): New function.
12129         F(nextdown): Likewise.
12130         * math/tgmath.h: Add nextup and nextdown.
12131         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12132         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12133         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12134         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12135         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12136         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12137         Add nextup and nextdown.
12138         (CFLAGS-nldbl-nextup.c): New variable.
12139         (CFLAGS-nldbl-nextdown.c): Likewise.
12140         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12141         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12142         * sysdeps/nacl/libm.abilist: Update.
12143         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12149         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12150         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12160         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12163         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12164         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12170         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12172 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12174         * manual/pattern.texi: Fix typos & grammar errors.
12176 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12178         * manual/search.texi: Fix typos & grammar errors.
12180 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12182         * manual/message.texi: Fix typos & grammar errors.
12184 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12186         * manual/contrib.texi: Fix spelling typos.
12187         * manual/crypt.texi: Likewise.
12188         * manual/filesys.texi: Likewise.
12189         * manual/locale.texi: Likewise.
12190         * manual/message.texi: Likewise.
12191         * manual/nss.texi: Likewise.
12192         * manual/string.texi: Likewise.
12194 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12196         * manual/locale.texi: Fix typos & grammar errors.
12198 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12200         * manual/charset.texi: Fix typos & grammar errors.
12202 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12204         * manual/string.texi: Fix typos.
12206 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12208         * manual/ctype.texi: Fix typos.
12210 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12212         * manual/memory.texi: Fix various typos & grammar errors.
12214 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12216         [BZ #20255]
12217         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12218         * math/libm-test.inc (fdim_test_data): Add another test.
12220         [BZ #6796]
12221         [BZ #20255]
12222         [BZ #20256]
12223         * math/s_fdim.c: Include <math_private.h>.
12224         (__fdim): Use math_narrow_eval on result.
12225         * math/s_fdimf.c: Include <math_private.h>.
12226         (__fdimf): Use math_narrow_eval on result.
12227         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12228         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12229         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12230         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12231         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12232         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12233         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12234         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12235         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12236         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12237         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12238         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12239         overflow.  Add sNaN tests.
12241         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12242         fpclassify.
12243         * math/s_fdimf.c (__fdimf): Likewise.
12244         * math/s_fdiml.c (__fdiml): Likewise.
12246 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12248         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12249         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12251         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12252         ifunc'ed strcasecmp/strncasecmp.
12253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12254         [EALIGN]: Removed.
12255         [END]: Likewise.
12256         [__strcasecmp]: Define instead of the above to control symbol name.
12257         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12258         for __strcasecmp_power8.
12259         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12260         for __strncasecmp_power8.
12261         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12263         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12264         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12265         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12266         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12268 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #20252]
12271         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12272         arguments when second argument is a NaN.
12273         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12274         qNaN tests.
12276         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12277         (conj_test_data): Likewise.
12278         (copysign_test_data): Likewise.
12279         (creal_test_data): Likewise.
12280         (fma_test_data): Likewise.
12281         (fmod_test_data): Likewise.
12283         [BZ #20250]
12284         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12285         itself.
12286         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12287         zero input to itself.
12288         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12289         Likewise.
12290         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12291         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12292         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12293         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12294         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12296 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12298         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12299         * nptl/tst-cancel4-common.c: New file.
12300         * nptl/tst-cancel4-common.h: Likewise.
12301         * nptl/tst-cancel4.c: Move common definitions to
12302         tst-cancel4-common.{c,h} file.
12303         * nptl/tst-cancel4_1.c: New test.
12304         * nptl/tst-cancel4_2.c: New test.
12306 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12308         [BZ #20248]
12309         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12310         (write_message): New function.
12311         (stackoverflow_handler): Call it instead of printf, to avoid
12312         excessive stack usage by printf.
12313         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12315 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12317         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12318         (prio_inherit_missing): Remove define.
12319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12320         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12322         Likewise.
12323         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12324         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12325         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12326         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12327         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12328         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12330 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12332         [BZ #19670]
12333         [BZ #19672]
12335         * io/test-lfs.c (do_prepare): Use xmalloc.
12336         * io/tst-fcntl.c (do_prepare): Likewise.
12337         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12338         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12339         * login/tst-utmp.c (do_prepare): Likewise.
12340         * posix/tst-exec.c (do_prepare): Likewise.
12341         * posix/tst-pathconf.c (prepare): Likewise.
12342         * posix/tst-spawn.c (do_prepare): Likewise.
12343         * posix/tst-truncate.c (do_prepare): Likewise.
12344         * rt/tst-aio.c (do_prepare): Likewise.
12345         * rt/tst-aio64.c (do_prepare): Likewise.
12347 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12349         [BZ #20237]
12350         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12351         (get*ent): Set entidx to NULL during initialization.  If entidx is
12352         NULL, start iteration from the beginning.
12354 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12356         * malloc/malloc.c (musable): Return correct size for dumped fake
12357         mmapped chunk.
12359 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12361         [BZ #20222]
12362         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12363         (_IO_cookie_write): Likewise.
12364         (_IO_cookie_seek): Likewise.
12365         (_IO_cookie_close): Likewise.
12366         (_IO_old_cookie_seek): Likewise.
12367         (set_callbacks): New function.
12368         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12370 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12372         * locale/programs/localedef.c (oldstyle_tables): Remove.
12373         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12375 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12377         [BZ #20240]
12378         * math/Makefile (CFLAGS-s_modf.c): New variable.
12379         (CFLAGS-s_modff.c): Likewise.
12380         (CFLAGS-s_modfl.c): Likewise.
12381         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12383 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12385         [BZ #20215]
12386         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12387         [!__GNUC_PREREQ (3,2)]: Likewise.
12389 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12391         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12392         (msghdr.msg_controllen): Likewise.
12393         (cmsghdr.cmsg_len): Likewise.
12394         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12395         ptw-oldsendmsg.
12396         (CFLAGS-oldrecvmsg.c): Remove rule.
12397         (CFLAGS-oldsendmsg.c): Likewise.
12398         (CFLAGS-recvmsg.c): Add rule.
12399         (CFLAGS-sendmsg.c): Likewise.
12400         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12401         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12402         (CFLAGS-recvmsg.c): Remove rule.
12403         (CFLAGS-sendmsg.c): Likewise.
12404         (CFLAGS-oldrecvmsg.c): Likewise.
12405         (CFLAGS-oldsendmsg.c): Likewise.
12406         (CFLAGS-recvmmsg.c): Likewise.
12407         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12408         to kernel defined interfaces.
12409         (msghdr.msg_controllen): Likewise.
12410         (cmsghdr.cmsg_len): Likewise.
12411         (msghdr.__glibc_reserved1): Remove member.
12412         (msghdr.__glibc_reserved2): Likewise.
12413         (cmsghdr.__glibc_reserved1): Likewise.
12414         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12415         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12416         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12417         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12418         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12419         version.
12420         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12421         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12422         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12423         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12424         Remove recvmsg and sendmsg.
12425         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12426         Likewise.
12427         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12428         Likewise.
12429         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12430         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12431         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12432         Likewise.
12433         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12436         [libc] (GLIBC_2.24): Likewise.
12437         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12442         [libc] (GLIBC_2.24): Likewise.
12443         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12444         Likewise.
12445         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12448         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12449         Likewise.
12450         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12455         Likewise.
12456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12457         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12458         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12459         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12460         version for {recv,send,recm,sendm}msg.
12461         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12468         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12469         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12470         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12471         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12472         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12476         Likewise.
12477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12482         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12483         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12488         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12489         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12491 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12493         [BZ #19564]
12494         Remove __malloc_initialize_hook from the API.
12495         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12496         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12497         #pragma GCC poison.
12498         * malloc/malloc-hooks.h: New file.
12499         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12500         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12501         (old__malloc_initialize_hook): Rename from
12502         __malloc_initialize_hook to evade poisoning.  Turn into compat
12503         symbol.
12504         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12505         __malloc_initialize_hook.
12506         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12507         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12508         * manual/memory.texi (Hooks for Malloc): Remove
12509         __malloc_initialize_hook.  Adjust hook example.
12511 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12513         [BZ #20235]
12514         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12515         itself.
12516         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12517         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12519         [BZ #20234]
12520         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12521         infinity or NaN input to itself.
12523         [BZ #20233]
12524         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12525         to itself.
12527         [BZ #20232]
12528         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12529         itself.
12531 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12533         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12534         __libc_start_main via GOT.
12536 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12538         * sysdeps/x86_64/memcopy.h: New file.
12539         * sysdeps/x86_64/wordcopy.c: Likewise.
12541 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12543         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12544         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12545         <cstdlib>.
12546         (optimization_barrier): New.
12547         (do_test): Use it.  Call quick_exit in the global namespace.
12548         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12549         instead of <cstdlib>, <thread>.
12550         (optimization_barrier): New.
12551         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12552         Call quick_exit in the global namespace.
12553         (do_test): Call optimization_barrier.  Use pthread_create,
12554         pthread_join instead of std::thread.
12556 2016-06-09  Andreas Schwab  <schwab@suse.de>
12558         [BZ #19755]
12559         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12560         new entries in auto-propagate mode.
12561         * nscd/grpcache.c (cache_addgr): Likewise.
12563 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12565         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12566         New functions.
12567         (add_temp_file): Use them.
12569 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12571         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12573 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12575         [BZ #20229]
12576         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12577         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12578         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12580         [BZ #20228]
12581         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12582         itself.
12583         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12584         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12586         [BZ #20227]
12587         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12588         itself.
12589         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12590         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12591         * math/libm-test.inc (log_test_data): Add sNaN tests.
12593         [BZ #20226]
12594         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12595         itself.
12596         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12597         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12598         (exp10_test_data): Likewise.
12599         (expm1_test_data): Likewise.
12601         [BZ #20225]
12602         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12603         itself.
12604         * math/s_ldexpf.c (__ldexpf): Likewise.
12605         * math/s_ldexpl.c (__ldexpl): Likewise.
12606         * math/w_scalbln.c (__w_scalbln): Likewise.
12607         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12608         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12609         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12610         (scalbln_test_data): Likewise.
12612         [BZ #20224]
12613         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12614         argument to itself.
12615         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12617 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12619         [BZ #19776]
12620         * sysdeps/x86_64/memcpy.S: Make it dummy.
12621         * sysdeps/x86_64/mempcpy.S: Likewise.
12622         * sysdeps/x86_64/memmove.S: New file.
12623         * sysdeps/x86_64/memmove_chk.S: Likewise.
12624         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12625         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12626         * sysdeps/x86_64/memmove.c: Removed.
12627         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12628         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12629         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12630         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12631         Likewise.
12632         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12633         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12635         memcpy-sse2-unaligned, memmove-avx-unaligned,
12636         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12637         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12638         (__libc_ifunc_impl_list): Replace
12639         __memmove_chk_avx512_unaligned_2 with
12640         __memmove_chk_avx512_unaligned.  Remove
12641         __memmove_chk_avx_unaligned_2.  Replace
12642         __memmove_chk_sse2_unaligned_2 with
12643         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12644         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12645         with __memmove_avx512_unaligned.  Replace
12646         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12647         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12648         with __memcpy_chk_avx512_unaligned.  Remove
12649         __memcpy_chk_avx_unaligned_2.  Replace
12650         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12651         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12652         Replace __memcpy_avx512_unaligned_2 with
12653         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12654         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12655         with __mempcpy_chk_avx512_unaligned.  Remove
12656         __mempcpy_chk_avx_unaligned_2.  Replace
12657         __mempcpy_chk_sse2_unaligned_2 with
12658         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12659         Replace __mempcpy_avx512_unaligned_2 with
12660         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12661         Replace __mempcpy_sse2_unaligned_2 with
12662         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12663         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12664         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12665         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12666         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12667         (ENTRY): Removed.
12668         (END): Likewise.
12669         (ENTRY_CHK): Likewise.
12670         (libc_hidden_builtin_def): Likewise.
12671         Don't include ../memcpy.S.
12672         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12673         __memcpy_chk_avx512_unaligned_erms and
12674         __memcpy_chk_avx512_unaligned.  Use
12675         __memcpy_chk_avx_unaligned_erms and
12676         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12677         Default to __memcpy_chk_sse2_unaligned.
12678         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12679         Change function suffix from unaligned_2 to unaligned.
12680         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12681         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12682         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12683         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12684         (ENTRY): Removed.
12685         (END): Likewise.
12686         (ENTRY_CHK): Likewise.
12687         (libc_hidden_builtin_def): Likewise.
12688         Don't include ../mempcpy.S.
12689         (mempcpy): New.  Add a weak alias.
12690         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12691         __mempcpy_chk_avx512_unaligned_erms and
12692         __mempcpy_chk_avx512_unaligned.  Use
12693         __mempcpy_chk_avx_unaligned_erms and
12694         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12695         Default to __mempcpy_chk_sse2_unaligned.
12697 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12699         [BZ #19881]
12700         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12701         into ...
12702         * sysdeps/x86_64/memset.S: This.
12703         (__bzero): Removed.
12704         (__memset_tail): Likewise.
12705         (__memset_chk): Likewise.
12706         (memset): Likewise.
12707         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12708         defined.
12709         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12710         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12711         (__memset_zero_constant_len_parameter): Check SHARED instead of
12712         PIC.
12713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12714         memset-avx2 and memset-sse2-unaligned-erms.
12715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12716         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12717         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12718         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12719         (__bzero): Enabled.
12720         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
12721         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
12722         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
12723         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
12724         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12725         (memset): Removed.
12726         (__memset_chk): Likewise.
12727         (MEMSET_SYMBOL): New.
12728         (libc_hidden_builtin_def): Replace __memset_sse2 with
12729         __memset_sse2_unaligned.
12730         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
12731         __memset_chk_sse2 and __memset_chk_avx2 with
12732         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
12733         Use __memset_chk_sse2_unaligned_erms or
12734         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
12735         __memset_chk_avx512_unaligned_erms and
12736         __memset_chk_avx512_unaligned.
12738 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12740         * math/gen-auto-libm-test.c (fp_format_desc): remove
12741         suffix member.
12742         (output_generic_value): Remove usage of suffix member,
12743         and the resulting unuse of the fp_format argument.
12744         (output_for_one_input_case): Remove unused fp_format
12745         parameter.
12747         * math/auto-libm-test-out: Regenerate.
12749         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
12750         usage with TEST_COND_ibm128.
12751         (TEST_COND_flt_32): Remove.
12752         (TEST_COND_dbl_64): Remove.
12753         (TEST_COND_ldbl_96_intel): Remove.
12754         (TEST_COND_ldbl_96_m68k): Remove.
12755         (TEST_COND_ldbl_128): Remove.
12757 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12759         * auto-libm-test-in:
12760         Replace flt-32 usage with binary32.
12761         Replace dbl-64 usage with binary64.
12762         Replace ldbl-intel-96 usage with intel96.
12763         Replace ldbl-m68k-96 usage with m68k96.
12764         Replace ldbl-128ibm usage with ibm128.
12765         Replace ldbl-128 usage with binary128.
12767         * auto-libm-test-out: Regenerate.
12769 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12771         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
12772         (parse_ulps): Dynamically generate type name matching
12773         string from all_floats.
12774         (get_ulps): Generate the ulps as an array instead.
12775         (output_ulps): Dynamically compose the type based
12776         on the number of supported formats, and print
12777         the indices as type specific helper macros.
12779         * math/libm-test.inc: Remove comment about CHOOSE.
12780         (ulp_data): Generate the type in libm-test-ulps.h.
12781         (ULP_IDX): New macro.
12782         (find_ulps): Update usage of max_ulp.
12784         * math/test-double-vlen2.h (CHOOSE): Remove.
12785         * math/test-double-vlen4.h (CHOOSE): Likewise.
12786         * math/test-double-vlen8.h (CHOOSE): Likewise.
12787         * math/test-float.c (CHOOSE): Likewise.
12788         * math/test-float-finite.c (CHOOSE): Likewise.
12789         * math/test-double.c (CHOOSE): Likewise.
12790         * math/test-double-finite.c (CHOOSE): Likewise.
12791         * math/test-idouble.c (CHOOSE): Likewise.
12792         * math/test-ifloat.c (CHOOSE): Likewise.
12793         * math/test-ildoubl.c (CHOOSE): Likewise.
12794         * math/test-ldouble-finite.c (CHOOSE): Likewise.
12795         * math/test-ldouble.c (CHOOSE): Likewise.
12797         * math/test-float.h (TEST_FLOAT): Remove.
12798         * math/test-double.h (TEST_DOUBLE): Likewise.
12799         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
12801 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12803         * math/gen-libm-test.pl: (apply_lit): New subroutine.
12804         (parse_args): Strip C suffix from floating point literals
12805         typed with 'f' and wrap them with LIT().
12807         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
12808         (test_ff_f_data_nexttoward): Rename to
12809         (test_fj_f_data): New struct.
12810         (nexttoward_test_data): Relabel tests as
12811         TEST_fj_f instead of TEST_ff_f.
12813 2016-06-08  Florian Weimer  <fweimer@redhat.com>
12815         Emacs bug 23726.
12816         * malloc/malloc.c (dumped_main_arena_start): Update comment.
12817         (__libc_realloc): Correct size computation for dumped fake mmapped
12818         chunks.
12820 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
12822         [BZ #20219]
12823         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
12824         to itself.
12825         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
12827         [BZ #20218]
12828         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
12829         to itself.
12830         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
12832 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
12834         [BZ #20195]
12835         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
12836         check to ...
12837         (init_cpu_features): Here.
12839 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
12841         [BZ #20214]
12842         * sysdeps/unix/sysv/linux/bits/in.h
12843         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12844          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
12845         Define to 1.
12846         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
12847          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
12848         Define to 0.
12849         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
12850         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
12852 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
12854         [BZ #20198]
12855         * stdlib/Makefile (tests): Add tst-quick_exit, and
12856         tst-thread-quick_exit.
12857         [ifeq ($(have-cxx-thread_local),yes)]
12858         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
12859         (CFLAGS-tst-thread-quick_exit.o): Likewise.
12860         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
12861         (LDLIBS-tst-thread-quick_exit): Likewise.
12862         [ifneq ($(have-cxx-thread_local),yes)]
12863         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
12864         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
12865         If run_dtors is true call __call_tls_dtors.
12866         (exit): Call __run_exit_handlers with run_dtors set to true.
12867         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
12868         definition.
12869         * stdlib/quick_exit.c (quick_exit): Remove function.
12870         (__new_quick_exit): New function.
12871         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
12872         function.
12873         * stdlib/tst-quick_exit.cc: New file.
12874         * stdlib/tst-thread-quick_exit.cc: New file.
12875         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
12876         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
12877         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
12878         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
12879         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
12880         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
12881         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
12882         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
12883         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
12884         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
12885         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
12886         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
12887         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
12888         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
12889         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
12890         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
12891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
12892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
12893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
12894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
12895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
12896         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
12897         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
12898         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
12899         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
12900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
12901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
12902         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
12903         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
12904         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
12906 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
12908         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
12909         a typo in comments.
12911 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12913         [BZ #20213]
12914         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
12915         argument to itself.
12916         * math/libm-test.inc (asin_test_data): Add sNaN tests.
12918 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12920         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
12921         required flags.
12922         (CFLAGS-pwritev64.c): Likewise.
12923         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
12924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12925         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
12926         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12927         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
12928         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
12929         syscall from auto-generation.
12930         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
12931         [WORDSIZE == 64] (pwritev64): Remove macro.
12932         [!PWRITEV] (PWRITEV): Likewise.
12933         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12934         [!PWRITEV] (PWRITE): Likewise.
12935         [!PWRITEV] (OFF_T): Likewise.
12936         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
12937         (LO_HI_LONG): Remove macro.
12938         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
12939         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
12940         (PWRITEV): Remove macro.
12941         (PWRITEV_REPLACEMENTE): Likewise.
12942         (PWRITE): Likewise.
12943         (OFF_T): Likewise.
12944         (pwritev64): New function.
12945         * nptl/tst-cancel4.c (tf_writev): Add test.
12947         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
12948         required flags.
12949         (CFLAGS-preadv64.c): Likewise.
12950         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
12951         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12952         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
12953         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
12954         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
12955         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
12956         syscall from auto-generation.
12957         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
12958         [WORDSIZE == 64] (preadv64): Remove macro.
12959         [!PREADV] (PREADV): Likewise.
12960         [!PREADV] (PREADV_REPLACEMENT): Likewise.
12961         [!PREADV] (PREAD): Likewise.
12962         [!PREADV] (OFF_T): Likewise.
12963         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
12964         (LO_HI_LONG): Remove macro.
12965         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
12966         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
12967         (PREADV): Remove macro.
12968         (PREADV_REPLACEMENTE): Likewise.
12969         (PREAD): Likewise.
12970         (OFF_T): Likewise.
12971         (preadv64): New function.
12972         * nptl/tst-cancel4.c (tf_preadv): Add test.
12974 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
12976         [BZ #20212]
12977         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
12978         argument to itself.
12979         * math/libm-test.inc (acos_test_data): Add sNaN tests.
12981 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12983         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
12984         New symbol defined as libc_hidden_def.
12985         (strcasestr): Became a weak alias to __strcasestr.
12986         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
12987         according to multi-arch support.  Move __stpncpy hidden
12988         definition from here to...
12989         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
12990         symbol stpncpy.
12991         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
12992         libc_hidden_builtin_def.
12993         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
12994         memset symbol to use when multi-arch support is available.
12996 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12998         * dlfcn/tst-rec-dlopen.c: Include string.h.
13000 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13002         * manual/install.texi: Remove mention of --without-tls
13003         * INSTALL: Regenerate.
13005 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13007         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13008         Remove.
13009         (call_function, interposed_malloc_called): New variables.
13010         (malloc): New function.
13011         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13012         and clear call_function as needed.
13014 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13016         * include/wchar.h (__wmemset): Use __typeof.
13018 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13020         * include/wchar.h (__wmemset): Declare function without typeof.
13022 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13024         [BZ #20205]
13025         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13026         exponent when incrementing negative subnormal with low mantissa
13027         word zero.
13028         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13029         Add another test.
13031 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13033         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13034         __wmemset instead of wmemset.
13036 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13038         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13039         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13040         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13041         __USE_KERNEL_IPV6_DEFS to 0.
13042         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13043         Update comment.
13045 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13047         [BZ #19861]
13048         Do not use IFUNC resolver with potentially unrelocated symbol.
13049         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13050         (DEFINE_FORK): Remove macro and inline definition.
13051         (fork_alias): Renamed from fork_ifunc.
13052         (__fork_alias): Renamed from __fork_ifunc.
13054 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13056         [BZ 19653]
13057         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13058         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13060 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13062         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13063         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13064         i386-linux-gnu).
13065         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13066         Set to no.
13067         * sysdeps/mach/hurd/configure: Refresh.
13069 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13071         [BZ #20178]
13072         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13073         on failure instead of exit.
13075 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13077         [BZ #3629]
13078         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13079         of POSIX.1-2008.
13081 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13083         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13084           Use PLT entry for calling _hurd_self_sigstate.
13086 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13088         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13089         available logical processors with SMT level type sharing L2
13090         cache for Intel processors.
13092 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13094         [BZ #20160]
13095         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13096         argument to itself before returning the result.
13097         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13098         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13099         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13100         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13101         Likewise.
13102         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13103         Likewise.
13104         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13105         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13106         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13107         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13108         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13109         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13111         [BZ #20160]
13112         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13113         argument to itself before returning the result.
13114         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13115         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13116         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13117         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13118         Likewise.
13119         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13120         Likewise.
13121         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13122         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13123         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13124         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13125         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13126         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13128 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13130         * libm-test.inc: Replace usage of M_El with
13131         (lit_e): New macro.
13133 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13135         * libm-test.inc: Replace usage of M_PI_4l with
13136         (lit_pi_4_d): New macro.
13138 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13140         * libm-test.inc: Replace usage of M_PIl with
13141         (lit_pi): New macro.
13143 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13145         * libm-test.inc: Replace usage of M_PI2l with
13146         (lit_pi_2_d): New macro.
13148         * math/test-double.h (LITM): New macro.
13149         * math/test-float.h (LITM): Likewise.
13150         * math/test-ldouble.h (LITM): Likewise.
13152 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13154         * libm-test.inc (M_PI_34l): Rename to
13155         (lit_pi_3_m_4_d): New Macro.
13156         (M_PI_34_LOG10El): Rename to
13157         (lit_pi_3_m_4_ln10_m_d): New Macro.
13158         (M_PI2_LOG10El): Rename to
13159         (lit_pi_2_ln10_m_d):  New Macro.
13160         (M_PI4_LOG10El): Rename to
13161         (lit_pi_4_ln10_m_d):  New Macro.
13162         (M_PI_LOG10El): Rename to
13163         (lit_pi_ln10_d):  New Macro.
13165 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13167         [BZ #20157]
13168         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13169         determine whether to negate low half if [_ARCH_PPCGR], and integer
13170         comparison otherwise.
13171         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13172         determine whether to negate low half.
13174         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13175         (NO_TEST_INLINE_DOUBLE): Likewise.
13176         (TEST_COND_x86_64): Likewise.
13177         (TEST_COND_x86): Likewise.
13178         (M_PI_6l): Likewise.
13180 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13182         * math/libm-test.inc:
13183         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13184         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13185         (TEST_LDOUBLE): Update usage to evaluate as true if
13186         the guarded tests match the property being tested.
13187         (LDBL_MAX_EXP): Change to MAX_EXP.
13188         (LDBL_MIN_EXP): Change to MIN_EXP.
13189         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13190         nexttoward tests.
13192 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13194         * math/libm-test.inc:
13195         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13196         (TYPE_MIN): Likewise.
13197         (TYPE_TRUE_MIN): Likewise.
13198         (TYPE_MAX): Likewise.
13199         (MIN_EXP): Likewise.
13200         (MAX_EXP): Likewise.
13201         (MANT_DIG): Likewise.
13203         (FSTR_MAX): New macro.
13204         (__CONCATX): Likewise.
13205         (QTYPE_STR): Likewise.
13206         (TEST_COND_binary32): Likewise.
13207         (TEST_COND_binary64): Likewise.
13208         (TEST_COND_binary128): Likewise.
13209         (TEST_COND_ibm128): Likewise.
13210         (TEST_COND_intel96): Likewise.
13211         (TEST_COND_m68k96): Likewise.
13213         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13214         (TEST_COND_dbl_64): Likewise.
13215         (TEST_COND_ldbl_96_intel): Likewise.
13216         (TEST_COND_ldbl_96_m68k): Likewise.
13217         (TEST_COND_ldbl_128): Likewise.
13218         (TEST_COND_ldbl_128ibm): Likewise.
13220         (plus_zero): Redefine using LIT macro.
13221         (minus_zero): Likewise.
13222         (plus_infty): Redefine as (INF).
13223         (minux_infty): Redefine as (-INF).
13224         (max_value): Redefine as TYPE_MAX.
13225         (min_value): Redefine as TYPE_MIN.
13226         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13228         (print_float): Refactor to use snprintf to convert FLOAT values
13229         to string. This brings it closer to dropin replacement of strtof
13230         for the TS 18661 defined types.
13231         (update_stats): Likewise.
13232         (print_complex_function_ulps): Likewise.
13233         (print_max_error): Likewise.
13234         (print_complex_max_error): Likewise.
13235         (check_float_internal): Likewise.
13237         * math/test-float.h (PREFIX): New macro.
13238         (LIT): Likewise.
13239         (TYPE_STR): Likewise.
13240         (FTOSTR): Likewise.
13242         * math/test-double.h (PREFIX): New macro.
13243         (LIT): Likewise.
13244         (TYPE_STR): Likewise.
13245         (FTOSTR): Likewise.
13247         * math/test-ldouble.h (PREFIX): New macro.
13248         (LIT): Likewise.
13249         (TYPE_STR): Likewise.
13250         (FTOSTR): Likewise.
13252 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13254         [BZ #20156]
13255         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13256         to itself when zero or not finite.
13257         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13258         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13259         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13260         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13262 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13264         [BZ #20153]
13265         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13266         x * x + x for infinities and NaNs.
13268         [BZ #20151]
13269         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13270         argument to itself before returning result.
13271         (__ieee754_y0l): Likewise.
13272         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13273         (__ieee754_y1l).
13275         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13276         (atan_test_data): Likewise.
13277         (ceil_test_data): Likewise.
13278         (cos_test_data): Likewise.
13279         (cosh_test_data): Likewise.
13280         (erf_test_data): Likewise.
13281         (exp2_test_data): Likewise.
13282         (fabs_test_data): Likewise.
13283         (floor_test_data): Likewise.
13284         (ilogb_test_data): Likewise.
13285         (j0_test_data): Likewise.
13286         (j1_test_data): Likewise.
13287         (jn_test_data): Likewise.
13288         (lgamma_test_data): Likewise.
13289         (lrint_test_data): Likewise.
13290         (llrint_test_data): Likewise.
13291         (logb_test_data): Likewise.
13292         (lround_test_data): Likewise.
13293         (llround_test_data): Likewise.
13294         (nearbyint_test_data): Likewise.
13295         (rint_test_data): Likewise.
13296         (round_test_data): Likewise.
13297         (sin_test_data): Likewise.
13298         (sincos_test_data): Likewise.
13299         (sinh_test_data): Likewise.
13300         (sqrt_test_data): Likewise.
13301         (tan_test_data): Likewise.
13302         (tanh_test_data): Likewise.
13303         (tgamma_test_data): Likewise.
13304         (trunc_test_data): Likewise.
13305         (y0_test_data): Likewise.
13306         (y1_test_data): Likewise.
13307         (yn_test_data): Likewise.
13309         * math/libm-test.inc: Update comment about NaN testing.
13310         (TEST_SNAN): New macro.
13311         (snan_value): Likewise.
13312         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13313         (fpclassify_test_data): Add sNaN tests.
13314         (isfinite_test_data): Likewise.
13315         (isinf_test_data): Likewise.
13316         (isnan_test_data): Likewise.
13317         (isnormal_test_data): Likewise.
13318         (issignaling_test_data): Likewise.
13319         (signbit_test_data): Likewise.
13320         * math/gen-libm-test.pl (%beautify): Add snan_value.
13321         (show_exceptions): Add argument $test_snan.
13322         (parse_args): Handle snan_value as non-finite.  Update call to
13323         show_exceptions.
13324         * math/Makefile (libm-test-no-inline-cflags): Add
13325         -fsignaling-nans.
13327 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13329         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13330         (CFLAGS-oldsendmsg.c): Add rule.
13331         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13332         Correct recvmsg symbol name.
13333         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13334         Likewise.
13336 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13338         * sysdeps/unix/sysv/linux/Makefile
13339         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13340         oldsendmmsg.
13341         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13342         sendmmsg.
13343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13344         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13346         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13349         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13351         Likewise.
13352         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13354         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13355         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13356         iovlen and controllen fields to adjust to POSIX specification.
13357         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13359         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13360         and change to correct expected type.
13361         (msghdr.msg_controllen): Likewise.
13362         (cmsghdr.cmsg_len): Likewise.
13363         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13364         expected POSIX assumption about the size.
13365         (msghdr.msg_controllen): Likewise.
13366         (msghdr.__glibc_reserved1): Likewise.
13367         (msghdr.__glibc_reserved2): Likewise.
13368         (cmsghdr.cmsg_len): Likewise.
13369         (cmsghdr.__glibc_reserved1): Likewise.
13370         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13371         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13372         (CFLAGS-sendmsg.c): Remove rule.
13373         (CFLAGS-recvmsg.c): Likewise.
13374         (CFLAGS-oldsendmsg.c): Add rule.
13375         (CFLAGS-oldrecvmsg.c): Likewise.
13376         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13377         recvmsg and sendmsg.
13378         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13379         Likewise.
13380         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13381         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13382         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13383         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13384         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13385         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13386         Likewise.
13387         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13388         Likewise.
13389         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13390         Likewise.
13391         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13396         Likewise.
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13398         (GLIBC_2.24): Likewise.
13399         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13400         Likewise.
13401         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13404         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13405         Likewise.
13406         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13407         Likewise.
13408         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13409         Likewise.
13410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13411         (GLIBC_2.24): Likewise.
13412         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13413         Likewise.
13414         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13415         Likewise.
13416         * sysdeps/unix/sysv/linux/Makefile
13417         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13418         (CFLAGS-sendmsg.c): Add rule.
13419         (CFLAGS-recvmsg.c): Likewise.
13420         (CFLAGS-oldsendmsg.c): Likewise.
13421         (CFLAGS-oldrecvmsg.c): Likewise.
13422         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13423         initialization.
13424         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13425         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13426         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13427         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13428         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13429         iovlen and controllen fields to adjust to POSIX specification.
13430         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13431         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13432         added recvmsg and sendmsg.
13433         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13434         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13437         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13438         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13440         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13441         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13442         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13446         Likewise.
13447         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13449         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13450         Likewise.
13451         Likewise.
13452         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13453         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13454         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13455         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13456         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13457         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13459         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13461         Likewise.
13462         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13463         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13465         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13466         from auto-generation.
13467         (sendmsg): Likewise.
13468         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13469         (sendmsg): Likewise.
13470         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13471         (sendmsg): Likewise.
13472         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13473         (sendmsg): Likewise.
13474         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13475         (sendmsg): Likewise.
13476         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13477         (sendmsg): Likewise.
13478         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13479         Likewise.
13480         (sendmsg): Likewise.
13481         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13482         (sendmsg): Likewise.
13483         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13485         Remove.
13486         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13487         Likewise.
13488         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13489         Undefine.
13490         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13491         Likewise.
13492         * sysdeps/unix/sysv/linux/kernel-features.h
13493         (__ASSUME_SENDMSG_SYSCALL): Define.
13494         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13497         Remove.
13498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13499         Likewise.
13500         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13501         Undefine.
13502         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13503         Likewise.
13504         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13506         Remove.
13507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13508         Likewise.
13509         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13510         Undefine.
13511         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13512         Likewise.
13513         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13514         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13515         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13516         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13517         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13518         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13519         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13520         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13521         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13523 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13525         * stdlib/gen-tst-strtod-round.c: Add backslash to
13526         compile command in comment.
13527         (printfp): Remove the literal suffix, and define an infinite
13528         value as INF to avoid expansion clash with INFINITY.
13529         (round_str): Remove the literal suffix.
13530         (round_for_all): Likewise, remove the now duplicate ldbl-64
13531         entry, and remove some magic constants.
13533         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13534         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13535         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13536         (_CONCAT): New macro.
13537         (CONCAT): Likewise.
13538         (CHOOSE_ld): Likewise.
13539         (CHOOSE_f): Likewise.
13540         (CHOOSE_d): Likewise.
13541         (FTYPE_MEMBER): Likewise.
13542         (BOOL_MEMBER): Likewise.
13543         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13544         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13545         (_XNTRY): Likewise.
13546         (XNTRY): Likewise.
13547         (_ENTRY): Likewise.
13548         (ENTRY): Likewise.
13549         (test_exactness): Generate members via macro.
13550         (test_results): Likewise.
13551         (test): Update members.
13552         (TEST): Redefine using new macros.
13553         (INF): New macro.
13554         (fetestmodes): New structure.
13555         (do_test): Refactor to be type generic.
13556         (test_in_one_mode): Refactor duplicate code into
13557         (GEN_ONE_TEST): New macro.
13559         * stdlib/tst-strtod-round-data.h: Regenerate.
13561         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13562         Extend to pass additional arbitrary parameters to
13563         generators.
13565 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13567         [BZ #15479]
13568         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13569         floating-point state after first floating-point operation on
13570         input.  Restore full floating-point state instead of just rounding
13571         mode.
13572         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13573         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13574         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13575         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13576         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13578         [BZ #15479]
13579         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13580         floating-point state after first floating-point operation on
13581         input.  Restore full floating-point state instead of just rounding
13582         mode.
13583         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13584         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13585         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13586         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13587         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13589 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13591         [BZ #19727]
13592         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13593         valid high surrogate.
13594         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13595         of an utf16 surrogate.
13596         * iconv/gconv_simple.c (BODY): Likewise.
13597         * iconvdata/bug-iconv12.c: New file.
13598         * iconvdata/Makefile (tests): Add bug-iconv12.
13600 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13602         [BZ #19726]
13603         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13604         outptrp in case of an illegal input.
13605         * iconv/tst-iconv6.c: New file.
13606         * iconv/Makefile (tests): Add tst-iconv6.
13608 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13610         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13611         an error in case of a value in range of an utf16 low surrogate.
13613 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13615         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13616         an error in case of a value in range of an utf16 low surrogate.
13618 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13620         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13621         Move to ...
13622         * sysdeps/s390/Makefile: ... here.
13623         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13624         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13625         (BRANCH_ON_COUNT): New define.
13626         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13627         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13628         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13629         run on s390-32, too.
13630         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13631         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13632         run on s390-32, too.
13633         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13634         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13635         run on s390-32, too.
13637 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13639         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13640         etf3eh or new vector loop-variant.
13642 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13644         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13645         etf3eh or new vector loop-variant.
13647 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13649         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13650         or new vector loop-variant.
13652 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13654         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13655         Rename to TR_LOOP and usage of tr instead of troo instruction.
13657 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13659         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13660         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13662 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13664         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13665         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13666         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13667         New override define.
13668         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13670 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13672         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13673         * sysdeps/s390/configure.ac: Add test for S390 vector register
13674         support in gcc.
13675         * sysdeps/s390/configure: Regenerated.
13677 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13679         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13680         Install file from $(objpfx)gconv-modules.
13681         ($(objpfx)gconv-modules): Concatenate architecture specific file
13682         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13683         * sysdeps/s390/gconv-modules: New file.
13684         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13685         Deleted.
13686         ($(objpfx)gconv-modules-s390): Deleted.
13687         (sysdeps-gconv-modules): New variable.
13689 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13691         [BZ #15479]
13692         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13693         of immediate operand to rounding instruction.
13694         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13695         Likewise.
13696         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13697         Likewise.
13698         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13699         Likewise.
13701 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13703         * math/libm-test.inc (MIN_EXP): Directly define as
13704         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13706 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13708         * math/libm-test.inc (MANT_DIG): Directly define as
13709         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13711 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13713         * stdlib/gen-tst-strtod-round.c (main):
13714           Change usage to more closely match the generated
13715           output.  Add usage and compilation instructions.
13716           (string_to_fp): Add and use FILE* parameter as
13717           output target.
13718           (print_fp): Likewise.
13719           (round_str): Likewise.
13720           (round_for_all): Likewise.
13721         * stdlib/tst-strtod-round.c (tests): Move into
13722         * stdlib/tst-strtod-round-data.h: New file.
13724 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13726         [BZ #15479]
13727         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
13728         (__round): Do not force "inexact" exception.
13729         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
13730         variable.
13731         (__round): Do not force "inexact" exception.
13732         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
13733         (__roundf): Do not force "inexact" exception.
13734         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
13735         (__roundl): Do not force "inexact" exception.
13736         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
13737         (__roundl): Do not force "inexact" exception.
13738         * math/libm-test.inc (round_test_data): Do not allow spurious
13739         "inexact" exceptions.
13741         [BZ #15479]
13742         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
13743         exception in comment.
13744         (huge): Remove variable.
13745         (__floor): Do not force "inexact" exception.
13746         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
13747         "inexact" exception in comment.
13748         (huge): Remove variable.
13749         (__floor): Do not force "inexact" exception.
13750         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
13751         exception in comment.
13752         (huge): Remove variable.
13753         (__floorf): Do not force "inexact" exception.
13754         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
13755         exception in comment.
13756         (huge): Remove variable.
13757         (__floorl): Do not force "inexact" exception.
13759         [BZ #15479]
13760         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
13761         exception in comment.
13762         (huge): Remove variable.
13763         (__ceil): Do not force "inexact" exception.
13764         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
13765         "inexact" exception in comment.
13766         (huge): Remove variable.
13767         (__ceil): Do not force "inexact" exception.
13768         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
13769         (__ceilf): Do not force "inexact" exception.
13770         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
13771         exception in comment.
13772         (huge): Remove variable.
13773         (__ceill): Do not force "inexact" exception.
13775 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
13777         * config.h.in (BIND_NOW): New.
13778         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
13779         * configure: Regenerated.
13780         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
13781         indirect branch via the GOT slot.
13783 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13785         [BZ #19765]
13786         * sysdeps/s390/mempcpy.S: New File.
13787         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
13788         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
13789         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13790         Add mempcpy variants.
13791         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
13792         (memcpy): Adjust to be usable from mempcpy entry point.
13793         (__memcpy_mvcle): Likewise.
13794         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13795         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
13796         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
13797         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
13798         (__memcpy_z10): Likewise.
13799         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13801 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13803         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
13804         Remove __GI_ symbol.
13805         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
13806         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
13807         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
13808         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
13809         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
13810         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
13812 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13814         * sysdeps/s390/s390-64/memcpy.S (memcpy):
13815         Use cghi instead of chi to compare 64bit value.
13817 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13819         * sysdeps/s390/s390-32/memcpy.S (memcpy):
13820         Jump to 1MB check before executing mvc-loop.
13822 2016-05-24  Florian Weimer  <fweimer@redhat.com>
13824         [BZ #6527]
13825         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
13826         unconditionally.
13827         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
13829 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13831         * stdlib/tst-strtod6.c (do_test): Use new type generic
13832         invocation of the test function.
13833         (test): Refactor into ...
13834         (TEST_STRTOD): New macro base function.
13836 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13838         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
13839         (TEST_STRTOD): New macro.
13840         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
13842 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13844         * stdlib/tst-strtod6.c (do_test): Use new type generic
13845         invocation of the test function.
13846         (test): Refactor into ...
13847         (TEST_STRTOD): New macro base function.
13849 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13851         CVE-2016-4429
13852         [BZ #20112]
13853         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
13854         payload.
13856 2016-05-23  Florian Weimer  <fweimer@redhat.com>
13858         [BZ #20111]
13859         * bits/sockaddr.h (_SS_SIZE): Define.
13860         * bits/socket.h (_SS_SIZE): Remove.
13861         (_SS_PADSIZE): Adjust to account for all padding.
13862         (struct sockaddr_storage): Update comment.  Avoid implicit
13863         padding.
13864         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
13865         (_SS_PADSIZE): Adjust to account for all padding.
13866         (struct sockaddr_storage): Update comment.  Avoid implicit
13867         padding.
13868         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
13869         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
13870         (_SS_PADSIZE): Adjust to account for all padding.
13871         (struct sockaddr_storage): Update comment.  Avoid implicit
13872         padding.
13873         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
13874         __SS_SIZE is 126 in this version.
13875         * inet/tst-sockaddr.c: New file.
13876         * inet/Makefile (tests): Add tst-sockaddr.c
13877         (tst-sockaddr.c): Compile with non-strict aliasing.
13879 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
13881         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
13882         [XPG3 || XPG4].
13883         (NL_ARGMAX): Also expect for [XPG3].
13884         (NL_LANGMAX): Likewise.
13885         (NL_MSGMAX): Likewise.
13886         (NL_NMAX): Likewise.
13887         (NL_SETMAX): Likewise.
13888         (NL_TEXTMAX): Likewise.
13889         (NZERO): Likewise.
13890         (TMP_MAX): Likewise.
13891         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
13892         variable.
13894         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
13895         (PF_MAX): Update value.
13896         (AF_KCM): New macro.
13897         (SOL_NETBEUI): Likewise.
13898         (SOL_LLC): Likewise.
13899         (SOL_DCCP): Likewise.
13900         (SOL_NETLINK): Likewise.
13901         (SOL_TIPC): Likewise.
13902         (SOL_RXRPC): Likewise.
13903         (SOL_PPPOL2TP): Likewise.
13904         (SOL_BLUETOOTH): Likewise.
13905         (SOL_PNPIPE): Likewise.
13906         (SOL_RDS): Likewise.
13907         (SOL_IUCV): Likewise.
13908         (SOL_CAIF): Likewise.
13909         (SOL_ALG): Likewise.
13910         (SOL_NFC): Likewise.
13911         (SOL_KCM): Likewise.
13912         (MSG_BATCH): New enum value and macro.
13914 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
13916         [BZ #18185]
13917         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
13918         sharing L2 cache to 2 for Knights Landing.
13920 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
13922         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
13923         (FTW_DP): Do not expect for [XPG3 || XPG4].
13924         (FTW_SL): Do not expect for [XPG3].
13925         (FTW_SLN): Likewise.
13926         (FTW_PHYS): Likewise.
13927         (FTW_MOUNT): Likewise.
13928         (FTW_DEPTH): Likewise.
13929         (FTW_CHDIR): Likewise.
13930         (nftw): Likewise.
13931         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
13932         variable.
13934 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13936         * manual/errno.texi: Fix various typos & grammar errors.
13938 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
13940         * manual/intro.texi: Fix duplicated typo.
13942 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13944         [BZ #13304]
13945         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
13946         <float.h>, <math_private.h> and <stdlib.h>.
13947         (add_split): New function.
13948         (mul_split): Likewise.
13949         (ext_val): New typedef.
13950         (store_ext_val): New function.
13951         (mul_ext_val): New function.
13952         (compare): New function.
13953         (add_split_ext): New function.
13954         (__fmal): After checking for Inf, NaN and zero, compute result as
13955         an exact sum of scaled double values in round-to-nearest before
13956         adding those up and adjusting for other rounding modes.
13957         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
13958         tests of fma.
13959         * math/auto-libm-test-out: Regenerated.
13961 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13963         [BZ #20119]
13964         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
13965         processor level type mask for CPUID with EAX == 11.
13967 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13969         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
13970         logical threads if the HTT bit is 0.
13971         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
13972         (index_cpu_HTT): Likewise.
13973         (reg_HTT): Likewise.
13975 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
13977         [BZ #20115]
13978         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
13979         Remove alignments on jump targets.
13981 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
13983         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
13984         (getpwent): Likewise.
13985         (setpwent): Likewise.
13986         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
13987         variable.
13989         * conform/data/search.h-data (insque): Do not expect for [XPG3].
13990         (remque): Likewise.
13991         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
13992         variable.
13994 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
13996         * math/libm-test.inc: Update comment not to refer to signs of NaNs
13997         not being tested.
13999 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14001         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14002         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14003         call.
14004         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14005         (__condvar_cleanup1): Likewise.
14007 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14009         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14010         New
14011         (__pthread_unwind): Renamed to ...
14012         (PTHREAD_UNWIND): This.
14013         (__pthread_enable_asynccancel): Replace
14014         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14016 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14018         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14019         (CLONE_NEWCGROUP): New macro.
14021         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14022         (Q_GETNEXTQUOTA): New macro.
14024 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14026         [BZ #19907]
14027         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14028         buffer updated by the previous run.
14029         * string/test-memcpy.c (do_one_test): Likewise.
14030         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14031         * string/test-memmove.c (do_one_test): Likewise.
14033 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14035         [BZ #20094]
14036         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14037         not [__USE_XOPEN].
14038         (unlockpt): Likewise.
14039         (ptsname): Likewise.
14040         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14041         variable.
14043         [BZ #20076]
14044         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14045         instead of [__USE_UNIX98].
14046         (S_ISSOCK): Likewise.
14047         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14048         variable.
14050         [BZ #20074]
14051         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14052         [__USE_POSIX].
14053         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14054         variable.
14056         [BZ #20051]
14057         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14058         (ttyslot): Do not declare.
14059         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14060         (ttyslot): New prototype.
14061         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14062         variable.
14063         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14065 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14067         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14069 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14071         Fix race condition in tst-mallocfork2, use fewer resources.
14072         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14073         to current process group.
14074         (signal_sender): Yield in the non-sleeping case.
14076 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14078         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14079         (ecvt): Likewise.
14080         (fcvt): Likewise.
14081         (gcvt): Likewise.
14082         (getsubopt): Likewise.
14083         (grantpt): Likewise.
14084         (initstate): Likewise.
14085         (l64a): Likewise.
14086         (mktemp): Likewise.
14087         (mkstemp): Likewise.
14088         (ptsname): Likewise.
14089         (random): Likewise.
14090         (realpath): Likewise.
14091         (setstate): Likewise.
14092         (srandom): Likewise.
14093         (ttyslot): Likewise.
14094         (unlockpt): Likewise.
14095         (valloc): Likewise.
14097         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14098         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14099         variable.
14101 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14103         [BZ #20072]
14104         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14105         init_cpu_features only if SHARED is defined.
14106         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14108 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14110         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14111         non-inclusive caches on Intel processors.
14113 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14115         * malloc/malloc.c (dumped_main_arena_start)
14116         (dumped_main_arena_end): New variables.
14117         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14118         (do_check_chunk): Skip dumped fake mmapped chunks.
14119         (munmap_chunk): Likewise.
14120         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14121         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14122         mmapped chunks.
14123         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14124         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14125         and dumped_main_arena_end to cover the dumped heap.
14127 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14129         * conform/data/time.h-data (getdate_err): Do not expect for
14130         [XPG3].
14131         (getdate): Likewise.
14132         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14133         variable.
14135         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14136         (F_ULOCK): Likewise.
14137         (F_TEST): Likewise.
14138         (F_TLOCK): Likewise.
14139         (useconds_t): Likewise.
14140         (intptr_t): Do not expect for [XPG3] or [XPG4].
14141         (brk): Do not expect for [XPG3]
14142         (fchown): Likewise.
14143         (fchdir): Likewise.
14144         (ftruncate): Likewise.
14145         (getdtablesize): Likewise.
14146         (gethostid): Likewise.
14147         (getpagesize): Likewise.
14148         (getpgid): Likewise.
14149         (getsid): Likewise.
14150         (getwd): Likewise.
14151         (lchown): Likewise.
14152         (lockf): Likewise.
14153         (readlink): Likewise.
14154         (sbrk): Likewise.
14155         (setpgrp): Likewise.
14156         (setregid): Likewise.
14157         (setreuid): Likewise.
14158         (symlink): Likewise.
14159         (sync): Likewise.
14160         (truncate): Likewise.
14161         (ualarm): Likewise.
14162         (usleep): Likewise.
14163         (vfork): Likewise.
14164         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14165         variable.
14167         [BZ #20054]
14168         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14169         not [__USE_UNIX98].
14170         * conform/data/unistd.h-data (gethostname): Do not expect for
14171         [XPG3].
14173         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14174         [!POSIX] (S_IFBLK): Likewise.
14175         [!POSIX] (S_IFCHR): Likewise.
14176         [!POSIX] (S_IFIFO): Likewise.
14177         [!POSIX] (S_IFREG): Likewise.
14178         [!POSIX] (S_IFDIR): Likewise.
14179         [!POSIX] (S_IFLNK): Likewise.
14180         [!POSIX] (S_IFSOCK): Likewise.
14181         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14182         variable.
14183         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14185 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14187         * sysdeps/aarch64/memset.S (__memset):
14188         Rewrite of optimized memset.
14190 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14192         [BZ #19703]
14193         Partially async-signal-safe fork for single-threaded processes.
14194         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14195         variable.  Do not acquire and reset/release malloc and libio locks
14196         in single-threaded processes.
14197         * malloc/tst-mallocfork2.c: New file.
14198         * malloc/Makefile (tests): Add it.
14200 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14202         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14203         argument.  Use scratch buffer instead of extend_alloca.
14204         (gethosts): Use scratch buffer instead of extend_alloca.
14205         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14206         extend_alloca.
14207         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14209 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14211         [BZ #20055]
14212         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14213         instead of [__USE_UNIX98].
14214         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14215         [__USE_UNIX98].
14216         * conform/data/termios.h-data (tcgetsid): Do not expect for
14217         [XPG3].
14218         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14219         variable.
14220         (test-xfail-XPG4/termios.h/conform): Likewise.
14222 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14224         Do not use mcheck in localedef.
14225         * locale/programs/localedef.c (turn_on_mcheck)
14226         (__malloc_initialize_hook): Remove.
14228 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14230         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14231         * sysdeps/s390/s390-64/Makefile: Likewise.
14233 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14235         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14236         Remove ifunc-defines.sym.
14237         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14238         Likewise.
14239         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14240         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14241         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14242         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14243         rtld-global-offsets.sym.
14244         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14245         * sysdeps/x86/cpu-features-offsets.sym: This.
14246         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14247         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14249 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14251         [BZ #20073]
14252         * io/sys/stat.h (fchmod): Declare for
14253         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14254         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14255         variable.
14257         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14258         [XPG3] (S_IFSOCK): Likewise.
14259         [XPG3] (S_ISVTX): Likewise.
14260         [XPG3] (S_ISLNK): Likewise.
14261         [XPG3] (S_ISSOCK): Likewise.
14262         [XPG3] (fchmod): Likewise.
14263         [XPG3] (lstat): Likewise.
14264         [XPG3] (mknod): Likewise.
14266         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14267         [XPG3].  Expect type long and XFAIL for [XPG4].
14268         (st_blocks): Likewise.
14270         [BZ #20044]
14271         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14272         (pthread_atfork): New prototype.
14273         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14274         variable.
14276         [BZ #20043]
14277         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14278         prototype.
14280 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14282         [BZ #20017]
14283         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14284         gmtime.
14286 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14288         [BZ #19994]
14289         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14290         flag in _res.options.
14292 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14294         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14295         [XPG3 || XPG4].
14296         (blksize_t): Likewise.
14297         (clockid_t): Likewise.
14298         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14299         variable.
14300         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14302 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14304         * sysdeps/unix/sysv/linux/s390/init-first.c:
14305         Add VDSO_SYMBOL(getcpu).
14306         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14307         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14308         Add VDSO_SYMBOL(getcpu).
14309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14310         New define HAVE_GETCPU_VSYSCALL.
14311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14313 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14315         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14316         instead of <sysdeps/x86_64/cacheinfo.c>.
14317         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14318         * sysdeps/x86/cacheinfo.c: Here.
14320 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14322         * malloc/malloc-internal.h: Adjust header file guard.
14324 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14326         [BZ #19787]
14327         * inet/getnameinfo.c (check_sprintf_result): New function.
14328         (CHECKED_SNPRINTF): New macro.
14329         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14330         to the host buffer.
14331         (gni_host_local): Use checked_copy to copy the host name.
14332         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14333         (gni_serv_local): Use checked_copy to copy the service name.
14334         (getnameinfo): Remove unnecessary truncation of result buffers.
14336 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14338         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14339         in case of inet_ntop failure.
14341 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14343         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14344         avoid long lines.
14345         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14346         variables.
14347         (gni_host_inet, gni_host_local): Add comment.
14348         (gni_host): Add comment.  Use temporary to avoid long lines.
14350 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14352         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14353         registers specifiers where general purpose registers specifiers should
14354         have been used.
14356 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14358         [BZ #19779]
14359         CVE-2016-1234
14360         Avoid copying names of directory entries.
14361         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14362         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14363         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14364         (struct readdir_result): New type.
14365         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14366         (GL_READDIR): New macros.
14367         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14368         (convert_dirent, convert_dirent64): New functions.
14369         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14370         convert_dirent64.  Adjust references to the readdir result.
14371         * sysdeps/unix/sysv/linux/i386/glob64.c:
14372         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14373         * posix/bug-glob2.c (LONG_NAME): Define.
14374         (filesystem): Add LONG_NAME.
14375         (my_DIR): Increase the size of room_for_dirent.
14377 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14379         [BZ #20041]
14380         * misc/sys/select.h (__need_timespec): Only define if
14381         [__USE_XOPEN2K].
14382         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14383         variable.
14384         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14385         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14386         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14388 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14389             Segher Boessenkool  <segher@gcc.gnu.org>
14391         [BZ #20004]
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14393         (__novec_swapcontext): Add missing load.
14395 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14397         [BZ #20023]
14398         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14399         <time.h>.
14400         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14401         variable.
14402         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14404 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14407         flags CLONE_VM compare.
14409 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14411         [BZ #20031]
14412         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14413         completely empty.
14415 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14417         [BZ #19573]
14418         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14419         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14420         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14421         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14422         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14423         (hesiod_free_list): Mark as hidden.
14424         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14425         res_set, res_get.
14426         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14427         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14428         (hesiod_init): Remove obsolete res_ninit call.
14429         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14430         (hesiod_bind): Do not call init.
14431         (get_txt_records): Use res_mkquery, res_send instead of
14432         res_nmkquery, res_nsend.
14433         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14434         instead of _nss_hesiod_init.
14435         (_nss_hesiod_initgroups_dyn): Likewise.
14436         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14437         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14438         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14440 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14442         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14443         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14445 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14447         * hesiod/hesiod.h: Remove RCS keyword.
14448         * hesiod/hesiod_p.h: Likewise.
14450         * hesiod/hesiod.c: Likewise.
14452 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14454         [BZ #12450]
14455         * locale/iso-639.def: Add Samogitian/sgs.
14457 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14459         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14461         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14463 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14464             Carlos O'Donell  <carlos@redhat.com>
14466         [BZ #19072]
14467         * grp/Makefile (headers): Add grp-merge.h
14468         (routines): Add grp-merge.
14469         * grp/getgrgid_r.c: Include grp-merge.h.
14470         (DEEPCOPY_FN): Define.
14471         (MERGE_FN): Define.
14472         * grp/getgrname_r.c: Include grp-merge.h.
14473         (DEEPCOPY_FN): Define.
14474         (MERGE_FN): Define.
14475         * grp/grp-merge.c: New file.
14476         * grp/grp-merge.h: New file.
14477         * include/grp-merge.h: New file.
14478         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14479         __copy_grp@GLIBC_PRIVATE.
14480         * manual/nss.texi (Actions in the NSS configuration): Describe
14481         return, continue, and merge.
14482         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14483         (DEEPCOPY_FN): Define.
14484         (MERGE_FN): Define.
14485         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14486         (DEEPCOPY_FN): Define.
14487         (MERGE_FN): Define.
14488         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14489         [!MERGE_FN]: Define __merge_einval.
14490         (CHECK_MERGE): Define.
14491         (REENTRANT_NAME): Process merge if do_merge is true.
14492         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14493         (__nss_getent_r): Likewise.
14494         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14495         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14497 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14499         [BZ #20012]
14500         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14501         length to calculate the buffer to read.
14502         (fmemopen_write): Set the buffer position based on bytes written.
14503         (fmemopen_seek): Return EINVAL for invalid whence modes.
14505         [BZ #19957]
14506         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14507         tst-getpid2.
14508         (test): Add tst-clone2.
14509         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14510         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14511         pid/tid fields for CLONE_VM.
14512         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14513         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14514         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14515         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14516         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14517         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14518         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14519         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14521         Likewise.
14522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14523         Likewise.
14524         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14525         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14526         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14527         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14528         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14529         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14530         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14531         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14533 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14535         [BZ #19642]
14536         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14537         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14538         (gni_serv_local, gni_serv): New functions extracted from
14539         getnameinfo.
14540         (getnameinfo): Call gni_host and gni_serv to perform the
14541         processing.  Always free scratch buffer.
14543 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14545         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14546         remaining bytes in the dest string, with zeros.
14548 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14550         [BZ #20010]
14551         CVE-2016-3706
14552         * sysdeps/posix/getaddrinfo.c
14553         (convert_hostent_to_gaih_addrtuple): New function.
14554         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14555         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14556         AF_INET data.
14558 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14560         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14561         callback function gl_readdir.
14562         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14563         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14564         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14565         memcpy to copy the name.
14566         * manual/pattern.texi (Calling Glob): Document requirements for
14567         implementations of the gl_readdir callback function.
14568         * manual/examples/mkdirent.c: New example.
14569         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14570         per the manual guidance.
14571         * posix/tst-gnuglob.c (my_readdir): Likewise.
14573 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14575         [BZ #20014]
14576         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14577         not [__USE_POSIX].
14578         (getchar_unlocked): Likewise.
14579         (putc_unlocked): Likewise.
14580         (putchar_unlocked): Likewise.
14581         (flockfile): Likewise.
14582         (ftrylockfile): Likewise.
14583         (funlockfile): Likewise.
14584         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14585         variable.
14586         (test-xfail-XPG4/stdio.h/conform): Likewise.
14588         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14589         Expect constant.
14590         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14591         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14592         variable.
14593         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14594         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14596         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14597         [__USE_LARGEFILE64] (off64_t): Likewise.
14598         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14599         variable.
14601 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14603         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14605 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14607         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14608         * resolv/res_init.c: Likewise.
14609         * resolv/res_mkquery.c: Likewise.
14611 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14613         * resolv/res_init.c (isascii): Do not define.  Use definition in
14614         <ctype.h>.
14615         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14616         (LOG_AUTH): Remove.
14617         (SPRINTF): Remove, adjust caller.
14618         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14620 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14622         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14623         SUNSECURITY conditional.
14624         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14626 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14628         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14629         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14630         Remove BSD-related preprocessor conditionals.
14631         * conf/portability.h: Remove.
14633 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14635         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14636         * resolv/res_data.c: Likewise.
14638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14640         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14641         * resolv/res_data.c: Remove code conditional on ultrix.
14643 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14645         * resolv/res_init.c (RFC1535): Do not define.  Remove
14646         RFC1535 preprocessor conditionals.
14647         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14648         because there configuration options which make the resolver
14649         behavior different.
14651 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14653         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14654         RESOLVSORT preprocessor conditionals.
14655         * resolv/nss_dns/dns-host.c: Likewise.
14656         * resolv/res_init.c: Likewise.
14658 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14660         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14661         is never defined.
14663 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14665         * inet/inet_lnaof.c: Remove SCSS keyword.
14666         * inet/inet_mkadr.c: Likewise.
14667         * inet/inet_net.c: Likewise.
14668         * inet/inet_netof.c: Likewise.
14669         * inet/rcmd.c: Likewise.
14670         * inet/rexec.c: Likewise.
14671         * inet/ruserpass.c: Likewise.
14673 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14675         * resolv/inet_addr.c: Remove _LIBC conditionals.
14676         * resolv/res_data.c: Likewise.
14677         * resolv/res_init.c: Likewise.
14678         * resolv/res_mkquery.c: Likewise.
14679         * resolv/res_libc.c: Update comment.
14680         * resolv/README: Update.
14682 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14684         * resolv/gethnamaddr.c: Remove SCSS keyword.
14685         * resolv/herror.c: Likewise.
14686         * resolv/inet_addr.c: Likewise.
14687         * resolv/inet_net_ntop.c: Likewise.
14688         * resolv/inet_net_pton.c: Likewise.
14689         * resolv/inet_neta.c: Likewise.
14690         * resolv/inet_ntop.c: Likewise.
14691         * resolv/inet_pton.c: Likewise.
14692         * resolv/ns_date.c: Remove RCS keyword.
14693         * resolv/ns_name.c: Likewise.
14694         * resolv/ns_netint.c: Likewise.
14695         * resolv/ns_parse.c: Likewise.
14696         * resolv/ns_print.c: Likewise.
14697         * resolv/ns_samedomain.c: Likewise.
14698         * resolv/ns_ttl.c: Likewise.
14699         * resolv/nsap_addr.c: Likewise.
14700         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14701         * resolv/res_data.c: Remove RCS keyword.
14702         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14703         * resolv/res_init.c: Likewise.
14704         * resolv/res_mkquery.c: Likewise.
14705         * resolv/res_query.c: Likewise.
14706         * resolv/res_send.c: Likewise.
14708 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14710         * conform/data/stdio.h-data (fdopen): Expect also for
14711         [XPG3 || XPG4].
14713         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14714         (fseeko): Likewise.
14715         (ftello): Likewise.
14716         (ftrylockfile): Likewise.
14717         (funlockfile): Likewise.
14718         (getc_unlocked): Likewise.
14719         (getchar_unlocked): Likewise.
14720         (putc_unlocked): Likewise.
14721         (putchar_unlocked): Likewise.
14723 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14725         [BZ #19868]
14726         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
14727         DNS packet syntax checks (which were not needed before).  Skip
14728         over non-PTR records.
14730 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14732         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
14733         definition.  Include <stddef.h> instead.
14735 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14737         [BZ #19831]
14738         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
14739         function.
14740         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
14741         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
14743 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14745         [BZ #19862]
14746         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
14747         (getanswer_r): Do not call syslog.
14748         (gaih_getanswer_slice): Likewise.
14749         * resolv/gethnamaddr.c (AskedForGot): Remove.
14750         (getanswer): Do not call syslog.
14751         (gethostbyaddr): Likewise.
14753 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14755         * conform/data/signal.h-data (union sigval): Expect also if
14756         [XOPEN2K].
14757         (struct sigevent): Likewise.
14758         (SIGEV_NONE): Likewise.
14759         (SIGEV_SIGNAL): Likewise.
14760         (SIGEV_THREAD): Likewise.
14761         (SIGRTMIN): Likewise.
14762         (SIGRTMAX): Likewise.
14763         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
14764         variable.
14765         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14767 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14769         [BZ #19830]
14770         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
14771         (gaih_getanswer_slice): Likewise.
14772         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
14773         Also check for availability of RR metadata.
14775 2016-04-27  Florian Weimer  <fweimer@redhat.com>
14777         [BZ #19825]
14778         * resolv/res_send.c (send_vc): Remove early *resplen2
14779         initialization.  Set *resplen2 on socket error.  Call
14780         close_and_return_error for other errors.
14782 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
14784         * sysdeps/unix/sysv/linux/netiucv/iucv.h
14785         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
14786         (SCM_IUCV_TRGCLS): New define.
14788 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14790         [BZ #20005]
14791         * libio/fmemopen.c (fmemopen_write): Update internal position after
14792         write.
14793         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
14794         * stdio-common/tst-fmemopen4.c: New file..
14796 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
14798         [BZ #19996]
14799         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
14800         not [__USE_XOPEN2K].
14801         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
14802         variable.
14804         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
14805         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
14806         variable.
14808         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
14809         [__USE_XOPEN2K8].
14810         [__USE_LARGEFILE64] (off64_t): Likewise.
14811         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
14812         variable.
14814 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
14816         [BZ #19989]
14817         * libio/stdio.h (cuserid): Do not declare if
14818         [__USE_XOPEN2K && !__USE_GNU].
14819         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
14820         variable.
14822 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14824         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14825         (sysdep_routines): Add P8 and PPC64 strcspn targets.
14826         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14827         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14828         ifunc'ed strcspn.
14829         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
14830         [EALIGN]: Removed.
14831         [END]: Likewise
14832         [STRSPN]: Define instead of the above to control symbol name.
14833         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
14834         New file.
14835         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
14836         Likewise.
14837         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
14838         Likewise.
14839         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
14840         Likewise.
14841         * sysdeps/powerpc/powerpc64/power8/strspn.S:
14842         [INITIAL_MASK]: New macro.
14843         [STRCSPN]: Likewise.
14844         [UPDATE_MASK]: Likewise.
14845         [USE_AS_STRCSPN]: Likewise.
14847 2016-04-25  Florian Weimer  <fweimer@redhat.com>
14849         [BZ #19931]
14850         * stdio-common/tst-vfprintf-width-prec.c: New file.
14851         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
14852         (tests-special): Add tst-vfprintf-width-prec-mem.out.
14853         (generated): Add mtrace-related files.
14854         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
14855         (tst-%-mem.out): New pattern rule, replaces
14856         tst-printf-bz18872-mem.out.
14857         * stdio-common/vfprintf.c (vfprintf): When handling a precision
14858         specifier, deallocate any previously allocated work buffer.
14860 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
14862         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
14863         Add nop before __startcontext, add explaining comments.
14865 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
14867         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
14868         any more. Notably since IPV6_PKTINFO has been reintroduced with a
14869         completely different API.
14871         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
14872         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
14873         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
14874         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
14875         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
14876         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
14877         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
14878         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
14879         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
14880         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
14882 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
14884         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
14886 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
14888         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
14889         when it is the default of 0.
14891 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14893         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
14894         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14895         (sysdep_routines): Add new strcasestr targets.
14896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14897         (__libc_ifunc_impl_list): Likewise.
14898         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
14899         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
14900         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
14901         * sysdeps/powerpc/powerpc64/power8/Makefile:
14902         New file to add strcasestr-ppc64 to sysdep_routines.
14903         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
14904         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
14906 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
14908         * benchtests/Makefile (wcsmbs-benchset): Include only for
14909         native builds and runs.
14910         (LOCALES): Likewise.
14911         (bench-build): Build timing-type here instead of the bench
14912         target.  Generate locale only for native builds.
14913         * benchtests/README: Add note for cross-building.
14915         * benchtests/Makefile (bench-clean): Clean up extra-objs.
14917         * benchtests/README: Update README to include instructions on
14918         using bench-build.
14920         * Makefile.in (bench-build): New target.
14921         * Rules (PHONY): Add bench-build target.
14922         * benchtests/Makefile (bench): Depend on bench-build.
14923         (bench-build): New target.
14925 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14927         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
14928         profil_reply_port.
14929         (profile_waiter): Do not initialize profil_reply_port.
14930         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
14931         frequency instead of tick length in us.
14933 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
14935         [BZ #18712]
14936         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
14937         (__old_mempcpy_small): Likewise.
14938         (__old_strcpy_small): Likewise.
14939         (__old_stpcpy_small): Likewise.
14940         (__old_strpbrk_c2): Fix compat symbol name.
14941         (__old_strpbrk_c3): Likewise.
14942         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
14943         (__mempcpy_small): Remove.
14944         (__strcpy_small): Remove.
14945         (__stpcpy_small): Remove.
14947 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
14949         [BZ #19400]
14950         * locale/iso-639.def: Add the Talossan/tzl language.
14952 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14954         [BZ #16983]
14955         * locale/programs/ld-address.c (address_finish): Update postal_fmt
14956         comment.  Add "ln" to strchr check on postal_fmt.
14958 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
14960         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
14961         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
14962         tel_dom_fmt.
14964 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14966         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14967         (sysdep_routines): Added __strlen_power8.
14968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
14969         __strlen_power8 entry.
14970         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
14971         Implementation for POWER8.
14972         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
14973         for __strlen_power8.
14974         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
14975         Implementation for POWER8.
14977 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
14979         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
14981 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
14983         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
14984         Goldmont and Airmont processors.
14986 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
14988         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
14989         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
14990         (__STRING2_SMALL_GET32): Remove.
14991         (memset): Remove.
14992         (__memset_1): Remove.
14993         (__memset_gc): Remove.
14994         (__mempcpy): Remove.
14995         (mempcpy): Remove.
14996         (__mempcpy_args): Remove.
14997         (strchr): Remove.
14998         (strcpy): Remove.
14999         (strcpy_args): Remove.
15000         (__stpcpy_args): Remove.
15001         (__strcmp_cc): Remove.
15002         (__strcmp_gc): Remove.
15003         (strstr): Remove.
15005 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15007         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15008         * nis/nis_call.c (nis_server_cache_add): Likewise.
15010 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15012         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15014 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15016         * malloc/arena.c (__malloc_fork_lock_parent)
15017         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15018         internal_function attribute.
15020 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15022         * stdio-common/printf_fp.c (__printf_fp_l):
15023         Rename ___printf_fp_l to __printf_fp_l and
15024         remove strong alias. Use libc_hidden_def instead
15025         of ldbl_hidden_def macro.
15027 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15029         Remove malloc hooks from fork handler.  They are no longer needed
15030         because malloc runs right before fork, and no malloc calls from
15031         other fork handlers are not possible anymore.
15032         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15033         declarations.
15034         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15035         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15036         (atfork_recursive_cntr): Remove.
15037         (__malloc_fork_lock_parent): Do not override malloc hooks and
15038         thread_arena.
15039         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15040         thread_arena.
15041         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15042         thread_arena instead of save_arena.
15044 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15046         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15047         (thread_atfork, thread_atfork_static): Remove.
15048         * sysdeps/mach/hurd/malloc-machine.h:
15049         (thread_atfork, thread_atfork_static): Remove.
15051 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15053         [BZ #19431]
15054         Run the malloc fork handler as late as possible to avoid deadlocks.
15055         * malloc/malloc-internal.h: New file.
15056         * malloc/malloc.c: Include it.
15057         * malloc/arena.c (ATFORK_MEM): Remove.
15058         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15059         Update comment.
15060         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15061         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15062         Remove outdated comment.
15063         (ptmalloc_init): Do not call thread_atfork.  Remove
15064         thread_atfork_static.
15065         * malloc/tst-malloc-fork-deadlock.c: New file.
15066         * Makefile (tests): Add tst-malloc-fork-deadlock.
15067         (tst-malloc-fork-deadlock): Link against libpthread.
15068         * manual/memory.texi (Aligned Memory Blocks): Update safety
15069         annotation comments.
15070         * sysdeps/nptl/fork.c (__libc_fork): Call
15071         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15072         __malloc_fork_unlock_child.
15073         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15075 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15077         [BZ #19613]
15078         Remove union wait.
15079         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15080         (w_stopsig, w_stopval): Remove.
15081         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15082         stat_loc argument.
15083         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15084         (__WAIT_STATUS_DEFN): Remove.
15085         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15086         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15087         (wait, wait3, wait4): Use int * for the stat_loc argument.
15088         * posix/wait.c (__wait): Likewise.
15089         * posix/wait3.c (__wait3): Likewise.
15090         * posix/wait4.c (__wait4): Likewise.
15091         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15092         (__WAIT_STATUS_DEFN): Remove.
15093         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15094         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15095         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15096         argument.
15097         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15098         * sysdeps/posix/wait3.c (__wait3): Likewise.
15099         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15100         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15101         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15102         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15103         stat_loc argument.
15104         * manual/process.texi (BSD Wait Functions): Remove union wait.
15106 2016-04-13  Andreas Schwab  <schwab@suse.de>
15108         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15109         (test-extras): Add tst-tlsalign-vars.
15110         * math/Makefile: Wrap long lines.
15111         (libm-vec-test-wrappers): Define.
15112         (test-extras): Add $(libm-vec-test-wrappers).
15113         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15114         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15115         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15116         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15117         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15118         (extra-test-objs): Add corresponding objects.
15120 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15122         [BZ #19928]
15123         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15124         New.
15125         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15126         times of shared cache size.
15127         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15128         (VMOVNT): New.
15129         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15130         (VMOVNT): Likewise.
15131         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15132         (VMOVNT): Likewise.
15133         (VMOVU): Changed to movups for smaller code sizes.
15134         (VMOVA): Changed to movaps for smaller code sizes.
15135         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15136         comments.
15137         (PREFETCH): New.
15138         (PREFETCH_SIZE): Likewise.
15139         (PREFETCHED_LOAD_SIZE): Likewise.
15140         (PREFETCH_ONE_SET): Likewise.
15141         Rewrite to use forward and backward loops, which move 4 vector
15142         registers at a time, to support overlapping addresses and use
15143         non temporal store if size is above the threshold and there is
15144         no overlap between destination and source.
15146 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15148         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15149         Include dl-vdso.
15150         * sysdeps/unix/sysv/linux/mips/Versions: Add
15151         __vdso_clock_gettime.
15152         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15153         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15154         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15155         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15156         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15157         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15158         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15159         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15160         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15162 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15164         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15165         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15167         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15168         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15169         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15172         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15173         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15174         syscalls generation.
15175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15176         [__NR_pwrite64] (__NR_write): Remove define.
15177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15178         [__NR_pwrite64] (__NR_write): Remove define.
15179         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15180         Remove define.
15181         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15182         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15183         Remove define.
15184         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15185         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15186         Linux implementation as base.
15187         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15189         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15190         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15192         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15195         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15197         syscall generation.
15198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15199         [__NR_pread64] (__NR_pread): Remove define.
15200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15201         [__NR_pread64] (__NR_pread): Likewise.
15202         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15203         define.
15204         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15205         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15206         Remove define.
15207         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15208         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15209         Linux implementation as base.
15210         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15211         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15212         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15214         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15215         definition.
15216         (__ALIGNMENT_COUNT): Likewise.
15217         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15218         (__ALIGNMENT_COUNT): Likewise.
15219         (SYSCALL_LL): New define.
15220         (SYSCALL_LL64): Likewise.
15221         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15222         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15223         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15224         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15227         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15229         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15230         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15231         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15233 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15235         [BZ #19865]
15236         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15237         original buffer before retry.
15239 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15241         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15242         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15243         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15244         GLRO(dl_auxv) list.
15245         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15246         including <ldsodefs.h>.
15247         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15249 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15251         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15252         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15253         $(CPPFLAGS).
15255 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15257         [BZ #17950]
15258         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15259         Add -mfpmath=387.
15261 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15263         * sysdeps/i386/configure.ac: Change == to = when calling test.
15264         * sysdeps/x86_64/configure.ac: Likewise.
15265         * sysdeps/i386/configure: Regenerated.
15266         * sysdeps/x86_64/configure: Likewise.
15268 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15270         [BZ #16137]
15271         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15272         * benchtests/bench-strcoll.c (input_files): Likewise.
15273         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15274         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15275         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15277 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15279         [BZ #19929]
15280         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15281         [__USE_XOPEN2K8 && !__USE_GNU].
15282         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15283         variable.
15285         [BZ #19925]
15286         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15287         define if [!__USE_MISC && __USE_XOPEN2K].
15288         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15289         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15290         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15291         Likewise.
15292         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15293         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15294         variable.
15295         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15297 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15299         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15300         (sysdep_routines): Add new strspn targets.
15301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15302         (__libc_ifunc_impl_list): Add strspn.
15303         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15304         New file.
15305         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15306         Likewise.
15307         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15308         Likewise.
15309         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15310         Likewise.
15312 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15314         * misc/hsearch_r.c: Include <limits.h>.
15316 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15318         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15320 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15322         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15323         (MEMCPY_SYMBOL): New.
15324         (MEMPCPY_SYMBOL): Likewise.
15325         (MEMMOVE_CHK_SYMBOL): Likewise.
15326         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15327         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15328         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15329         Provide alias for memcpy in libc.a and ld.so.
15331 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15333         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15334         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15335         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15336         Disabled fro now.
15337         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15338         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15340 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15342         * benchtests/Makefile (string-benchset): Add memcpy-large,
15343         memmove-large and memset-large.
15344         * benchtests/bench-memcpy-large.c: New file.
15345         * benchtests/bench-memmove-large.c: Likewise.
15346         * benchtests/bench-memmove-large.c: Likewise.
15347         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15349 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15351         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15352         32-bit displacement to avoid long nop between instructions.
15354 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15356         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15357         a comment on VMOVU and VMOVA.
15359 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15361         [BZ #19633]
15362         Use specified locale for number formatting in strfmon_l.
15363         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15364         (__nl_lookup_word): New inline functions.
15365         * include/printf.h (__print_fp_l): Declare.
15366         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15367         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15368         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15369         (___printf_fp): New function.
15370         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15371         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15372         * stdlib/tst-strfmon_l.c (do_test): New test.
15373         * stdlib/Makefile (tests): Add kt.
15374         (LOCALES): Build additional locales.
15375         (tst-strfmon_l.out): Require locales.
15377 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15379         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15380         if not in libc.
15381         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15382         Likewise.
15383         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15384         Likewise.
15385         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15386         Likewise.
15388 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15390         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15391         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15392         with unaligned_erms.
15393         (__memmove_erms): Skip if source == destination.
15394         (__memmove_unaligned_erms): Don't check source == destination
15395         first.
15397 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15399         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15400         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15402 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15404         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15405         * string/strspn.c (strspn): Likewise.
15407 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15409         * benchtests/bench-memset.c (do_test): Support 64-byte
15410         alignment.
15411         (test_main): Test 64-byte alignment.
15413 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15415         * benchtests/bench-memmove.c (test_main): Test 64-byte
15416         alignment.
15418 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15420         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15422 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15424         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15425         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15426         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15428         * string/strpbrk.c (strpbrk): Rewrite function.
15429         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15430         (__strpbrk_c2): Likewise.
15431         (__strpbrk_c3): Likewise.
15432         * string/string-inlines.c
15433         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15434         Likewise.
15435         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15436         Likewise.
15438         * string/strspn.c (strcspn): Rewrite function.
15439         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15440         (__strspn_c1): Remove inline function.
15441         (__strspn_c2): Likewise.
15442         (__strspn_c3): Likewise.
15443         * string/string-inlines.c
15444         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15445         compatibility symbol.
15446         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15447         Likewise.
15448         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15449         Likewise.
15450         * string/string-inlines.c: Include generic version.
15452 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15453             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15455         * string/Version (libc): Add GLIBC_2.24.
15456         * string/strcspn.c (strcspn): Rewrite function.
15457         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15458         (__strcspn_c1): Remove inline function.
15459         (__strcspn_c2): Likewise.
15460         (__strcspn_c3): Likewise.
15461         * string/string-inline.c
15462         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15463         compatibility symbol.
15464         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15465         Likewise.
15466         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15467         Likewise.
15468         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15470 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15472         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15473         Use ahi instead of aghi to adjust stack pointer.
15475 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15477         [BZ #19853]
15478         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15479         TEST to take significant digits as second parameter.
15480         [TEST]: Redefine in terms of TEST_N taking 30
15481         significant digits.
15482         (do_test): Add test case to demonstrate precision
15483         failure in the ldbl-128ibm printf.
15484         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15485         (__mpn_extract_long_double): Carry 7 extra intermediate
15486         bits of precision to aide computing difference when
15487         signs differ.
15489 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15491         [BZ #19881]
15492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15493         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15494         memset-avx512-unaligned-erms.
15495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15496         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15497         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15498         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15499         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15500         __memset_sse2_unaligned_erms, __memset_erms,
15501         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15502         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15503         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15504         file.
15505         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15506         Likewise.
15507         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15508         Likewise.
15509         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15510         Likewise.
15512 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15514         [BZ #19776]
15515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15516         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15517         memmove-avx512-unaligned-erms.
15518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15519         (__libc_ifunc_impl_list): Test
15520         __memmove_chk_avx512_unaligned_2,
15521         __memmove_chk_avx512_unaligned_erms,
15522         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15523         __memmove_chk_sse2_unaligned_2,
15524         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15525         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15526         __memmove_avx512_unaligned_erms, __memmove_erms,
15527         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15528         __memcpy_chk_avx512_unaligned_2,
15529         __memcpy_chk_avx512_unaligned_erms,
15530         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15531         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15532         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15533         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15534         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15535         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15536         __mempcpy_chk_avx512_unaligned_erms,
15537         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15538         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15539         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15540         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15541         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15542         __mempcpy_erms.
15543         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15544         file.
15545         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15546         Likewise.
15547         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15548         Likewise.
15549         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15550         Likewise.
15552 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15554         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15555         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15556         (La_s390_64_regs): Likewise.
15557         (La_s390_32_retval): Append vector register lrv_v24.
15558         (La_s390_64_retval): Likeweise.
15559         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15560         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15561         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15562         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15564 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15566         [BZ #19916]
15567         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15568         to create a non-vector/vector version for _dl_runtime_resolve and
15569         _dl_runtime_profile. Move implementation to ...
15570         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15571         (_dl_runtime_resolve) Save and restore fpr/vrs.
15572         (_dl_runtime_profile) Save and restore vrs and fix some issues
15573         if _dl_call_pltexit is called.
15574         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15575         Choose the correct resolver function if running on a machine with vx.
15576         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15577         to create a non-vector/vector version for _dl_runtime_resolve and
15578         _dl_runtime_profile. Move implementation to ...
15579         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15580         (_dl_runtime_resolve) Save and restore fpr/vrs.
15581         (_dl_runtime_profile) Save and restore vrs and fix some issues
15582         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15583         Choose the correct resolver function if running on a machine with vx.
15585 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15587         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15589 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15591         [BZ #19509]
15592         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15593         skip_map != NULL.
15594         * elf/tst-dlsym-error.c: New file.
15595         * elf/Makefile (tests): Add tst-dlsym-error.
15596         (tst-dlsym-error): Link against libdl.
15598 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15601         (__ASSUME_FUTIMESAT): Remove macro.
15602         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15604 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15606         [BZ #19879]
15607         CVE-2016-3075
15608         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15609         copy name.
15611 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15613         [BZ #19837]
15614         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15615         error if parse_line fails.
15617 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15619         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15620         (index_cpu_ERMS): Likewise.
15621         (reg_ERMS): Likewise.
15623 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15625         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15626         PER_LINUX_FDPIC): Add.
15628 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15631         memcpy-avx512-no-vzeroupper.
15632         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15633         to ...
15634         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15635         (MEMCPY): Don't define.
15636         (MEMCPY_CHK): Likewise.
15637         (MEMPCPY): Likewise.
15638         (MEMPCPY_CHK): Likewise.
15639         (MEMPCPY_CHK): Renamed to ...
15640         (__mempcpy_chk_avx512_no_vzeroupper): This.
15641         (MEMPCPY_CHK): Renamed to ...
15642         (__mempcpy_chk_avx512_no_vzeroupper): This.
15643         (MEMCPY_CHK): Renamed to ...
15644         (__memmove_chk_avx512_no_vzeroupper): This.
15645         (MEMCPY): Renamed to ...
15646         (__memmove_avx512_no_vzeroupper): This.
15647         (__memcpy_avx512_no_vzeroupper): New alias.
15648         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15650 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15652         [BZ #18858]
15653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15654         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15655         and mempcpy-avx512-no-vzeroupper.
15656         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15657         New.
15658         (MEMPCPY): Likewise.
15659         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15660         (MEMPCPY_CHK): New.
15661         (MEMPCPY): Likewise.
15662         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15663         (MEMPCPY): Likewise.
15664         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15665         (MEMPCPY): Likewise.
15666         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15667         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15668         Likewise.
15669         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15670         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15672 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15673              Amit Pawar  <Amit.Pawar@amd.com>
15675         [BZ #19583]
15676         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15677         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15678         processors.  Set Fast_Copy_Backward for AMD Excavator
15679         processors.
15680         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15681         New.
15682         (index_arch_Fast_Unaligned_Copy): Likewise.
15683         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15684         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15686 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15688         [BZ #19791]
15689         * resolv/res_send.c (close_and_return_error): New function.
15690         (send_dg): Initialize *resplen2 after reopen failure.  Call
15691         close_and_return_error for error returns.  On error paths without
15692         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15693         successful return.
15695 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15697         [BZ# 19860]
15698         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15699         zero if the compiler does not provide the AVX512F bit.
15701 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15703         [BZ #19848]
15704         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15705         from 8 to 4.
15706         (__ieee754_powl): Compare integer exponent against 4 not 8.
15707         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15708         from 8 to 4.
15709         (__ieee754_powl): Compare integer exponent against 4 not 8.
15710         * math/auto-libm-test-in: Add more tests of pow.
15711         * math/auto-libm-test-out: Regenerated.
15712         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15715 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15717         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15718         Make code unconditional.
15719         [!__NR_utimensat]: Remove conditional code.
15720         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
15721         Make code unconditional.
15722         [!__NR_utimensat]: Remove conditional code.
15723         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
15724         Make code unconditional.
15725         [!__NR_utimensat]: Remove conditional code.
15727 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15729         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
15730         Make code unconditional.
15732 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
15734         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
15735         call-clobbered %eax on retry path.
15736         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15738 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15740         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
15741         Don't set %rcx twice before "rep movsb".
15743 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
15745         [BZ #19583]
15746         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
15747         inline.  Check family before setting family, model and
15748         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
15749         bits here.
15750         (init_cpu_features): Replace HAS_CPU_FEATURE and
15751         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
15752         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
15753         for Intel processors with usable AVX2.  Call get_common_indeces
15754         for other processors with family == NULL.
15755         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
15756         (CPU_FEATURES_ARCH_P): Likewise.
15757         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
15758         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
15760 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15762         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
15763         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
15764         $(shared-thread-library) instead of hardcoding the path to libpthread.
15766 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
15768         * sysdeps/unix/sysv/linux/kernel-features.h
15769         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
15770         * sysdeps/unix/sysv/linux/getdents.c
15771         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
15772         [!have_no_getdents64_defined]: Likewise.
15773         (__GETDENTS): Remove __have_no_getdents64 conditional.
15775 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
15777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
15778         Remove macro.
15779         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
15780         <kernel-features.h>.
15781         (signalfd) [__NR_signalfd4]: Make code unconditional.
15782         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
15784 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15786         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
15787         style.
15789 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
15791         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
15792         (__pthread_enable_asynccancel): Use JUMPTARGET to call
15793         __pthread_unwind.
15794         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15795         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
15796         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15797         (__condvar_cleanup1): Likewise.
15799 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
15801         [BZ #19822]
15802         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
15803         move it to the final $@ location.
15805 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15807         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
15808         access where posix_spawn success and pid argument is null.
15809         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
15810         success case.
15812 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
15814         * sysdeps/mach/hurd/i386/c++-types.data: New file.
15816         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
15818         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
15819         and __fcntl.
15820         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
15821         __fcntl only.
15822         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
15823         adding attribute_hidden to __open and __fcntl.
15825         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
15826         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
15827         depend on libc-modules.h,
15828         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
15830 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
15832         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
15833         Remove macro.
15834         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
15835         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
15836         entry.
15838         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
15839         Remove macro.
15840         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
15841         include <kernel-features.h>.
15842         [!__ASSUME_FALLOCATE]: Remove conditional code.
15843         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
15845 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
15848         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
15849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
15850         (_ZGVdN4v_cos_avx2): Likewise.
15851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
15852         (_ZGVdN4v_cos): Likewise.
15853         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
15854         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
15855         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
15856         (_ZGVdN4v_exp_avx2): Likewise.
15857         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
15858         (_ZGVdN4v_exp): Likewise.
15859         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
15860         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
15861         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
15862         (_ZGVdN4v_log_avx2): Likewise.
15863         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
15864         (_ZGVdN4v_log): Likewise.
15865         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
15866         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
15867         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
15868         (_ZGVdN4vv_pow_avx2): Likewise.
15869         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
15870         (_ZGVdN4vv_pow): Likewise.
15871         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
15872         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
15873         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
15874         (_ZGVdN4v_sin_avx2): Likewise.
15875         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
15876         (_ZGVdN4v_sin): Likewise.
15877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
15878         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
15879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
15880         (_ZGVdN4vvv_sincos_avx2): Likewise.
15881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
15882         (_ZGVdN4vvv_sincos): Likewise.
15883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
15884         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
15885         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
15886         (_ZGVbN4v_cosf_sse4): Likewise.
15887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
15888         (_ZGVdN8v_cosf_avx2): Likewise.
15889         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
15890         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
15891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
15892         (_ZGVbN4v_expf_sse4): Likewise.
15893         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
15894         (_ZGVdN8v_expf_avx2): Likewise.
15895         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
15896         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
15897         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
15898         (_ZGVbN4v_logf_sse4): Likewise.
15899         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
15900         (_ZGVdN8v_logf_avx2): Likewise.
15901         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
15902         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
15903         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
15904         (_ZGVbN4vv_powf_sse4): Likewise.
15905         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
15906         (_ZGVdN8vv_powf_avx2): Likewise.
15907         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
15908         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
15909         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
15910         (_ZGVbN4vvv_sincosf_sse4): Likewise.
15911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
15912         (_ZGVdN8vvv_sincosf_avx2): Likewise.
15913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
15914         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
15915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
15916         (_ZGVbN4v_sinf_sse4): Likewise.
15917         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
15918         (_ZGVdN8v_sinf_avx2): Likewise.
15919         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15920         Use JUMPTARGET to call callee.
15921         (WRAPPER_IMPL_SSE2_ff): Likewise.
15922         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15923         (WRAPPER_IMPL_AVX): Likewise.
15924         (WRAPPER_IMPL_AVX_ff): Likewise.
15925         (WRAPPER_IMPL_AVX_fFF): Likewise.
15926         (WRAPPER_IMPL_AVX512): Likewise.
15927         (WRAPPER_IMPL_AVX512_ff): Likewise.
15928         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
15929         Likewise.
15930         (WRAPPER_IMPL_SSE2_ff): Likewise.
15931         (WRAPPER_IMPL_SSE2_fFF): Likewise.
15932         (WRAPPER_IMPL_AVX): Likewise.
15933         (WRAPPER_IMPL_AVX_ff): Likewise.
15934         (WRAPPER_IMPL_AVX_fFF): Likewise.
15935         (WRAPPER_IMPL_AVX512): Likewise.
15936         (WRAPPER_IMPL_AVX512_ff): Likewise.
15937         (WRAPPER_IMPL_AVX512_fFF): Likewise.
15939 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15941         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
15942         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
15943         qualifier.
15944         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
15945         internal_function qualifiers.
15947 2016-03-15  Carlos O'Donell <carlos@redhat.com>
15949         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
15950         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
15951         * math/atest-exp.c (exp_mpn): Mark chk unused.
15952         * math/atest-exp2.c (exp_mpn): Likewise.
15953         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
15954         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
15956 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
15958         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
15959         Remove macro.
15960         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
15961         <kernel-features.h>.
15962         [__NR_ppoll]: Make code unconditional.
15963         [!__ASSUME_PPOLL]: Remove conditional code.
15965         * sysdeps/unix/sysv/linux/kernel-features.h
15966         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
15967         (__ASSUME_ACCEPT4): Likewise.
15968         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15969         Define.
15970         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
15971         Likewise.
15972         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15973         Likewise.
15974         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
15975         Likewise.
15976         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
15977         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
15978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15979         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15980         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15982         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15983         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15984         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15985         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15986         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15987         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15990         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15991         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15992         Likewise.
15993         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15994         Likewise.
15995         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
15996         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
15997         0x040300].
15998         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15999         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16001         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16002         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16003         0x030300].
16004         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16005         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16006         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16007         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16008         0x040300].
16009         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16012         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16013         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16014         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16015         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16016         0x030300].
16017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16018         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16019         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16020         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16021         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16022         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16024         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16025         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16026         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16027         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16028         0x040300].
16029         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16030         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16031         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16032         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16033         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16034         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16035         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16036         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16037         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16040         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16041         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16043         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16044         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16045         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16046         Likewise.
16047         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16048         Likewise.
16050 2016-03-15  Andreas Schwab  <schwab@suse.de>
16052         [BZ #19257]
16053         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16054         statp->_u._ext.nscount as loop count.
16056 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16058         * math/test-signgam-finite-c99.c: Also #undef
16059         __LIBC_INTERNAL_MATH_INLINES.
16060         * math/test-signgam-main.c: Likewise.
16062 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16064         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16065         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16066         (MADV_FREE): Likewise.
16067         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16068         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16069         EPOLLEXCLUSIVE.
16071 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16073         * timezone/README: Remove mention of checktab.awk. Mention wiki
16074         SharedSourceFiles.
16076 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16078         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16079         WUNTRACED.
16081 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16083         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16084         order to match the type of p when calling atomic_exchange_acq().
16086 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16088         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16089         cfi_offset calls.
16090         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16091         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16092         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16093         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16094         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16096 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16098         * timezone/checktab.awk: Removed.
16100 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16102         * manual/math.texi (Errors in Math Functions): Document relaxed
16103         accuracy goals for IBM long double.
16104         * math/libm-test.inc (test_exceptions): Always allow spurious
16105         "underflow" and "inexact" exceptions for IBM long double.
16107 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16109         [BZ #19762]
16110         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16111         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16112         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16113         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16114         (bit_arch_*): This for feature array.
16115         (bit_*): Renamed to ...
16116         (bit_cpu_*): This for cpu array.
16117         (index_*): Renamed to ...
16118         (index_arch_*): This for feature array.
16119         (index_*): Renamed to ...
16120         (index_cpu_*): This for cpu array.
16121         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16122         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16123         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16124         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16125         bit_##name with index_cpu_##name and bit_cpu_##name.
16126         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16127         bit_##name with index_arch_##name and bit_arch_##name.
16129 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16131         [BZ #19792]
16132         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16133         Terminate FDE before return label.
16135 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16137         [BZ #19790]
16138         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16139         (rintl): Define as macro.
16140         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16141         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16142         of fesetround.  Ensure results are evaluated before end of scope.
16143         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16144         USE_AS_NEARBYINTL and include s_rintl.c.
16145         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16146         Disable exception traps in new environment.
16147         (libc_feholdsetround_ppc_ctx): Likewise.
16149 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16151         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16152         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16153         (tst_audit10_aux) [__AVX512F__]: ... here.
16155 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16157         * include/sys/auxv.h: New file.
16159 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16161         [BZ #19759]
16162         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16164 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16166         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16167         operand modifier.
16168         (feclearexcept): Likewise.
16170 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16172         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16173         to reflect the entire 32-bit HWCAP.
16174         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16175         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16177 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16179         [BZ #19783]
16180         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16181         $(test-via-rtld-prefix).
16182         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16184 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16186         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16187         union wait.  Report any non-zero exit status as error.
16189 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16191         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16192         configured with --enable-hardcoded-path-in-tests.
16194 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16196         [BZ #19677]
16197         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16198         (__ieee754_remainderl): Put zero low parts in canonical form.
16199         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16200         file.  Based on
16201         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16202         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16203         with wrapper round test-fmodrem-ldbl-128ibm.c.
16204         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16205         file.
16206         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16207         Likewise.
16208         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16209         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16211 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16213         [BZ #19610]
16214         * elf/ldconfig.c (opt_link): Update comment.
16215         (options): Update help string for option -X.
16216         (search_dir): Unlink stale symbolic link only if updating symbolic
16217         links.
16218         * elf/tst-ldconfig-X.sh: New file.
16219         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16220         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16222 2016-03-07  Andreas Schwab  <schwab@suse.de>
16224         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16225         needed arguments.
16227 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16229         [BZ #15333]
16230         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16231         to lstat64.
16233 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16235         * libio/filedoalloc.c (isatty): Remove.
16236         (local_isatty): Add comment.  Call __isatty directly.
16237         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16238         * libio/wfiledoalloc.c (isatty): Remove.
16239         (_IO_wfile_doallocate): Update comment.
16241 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16243         [BZ #19269]
16244         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16245         tst-audit4-aux.o.
16246         (tst-audit10): Depend on tst-audit10-aux.o.
16247         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16248         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16249         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16250         instead of inline AVX code.
16251         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16252         instead of inline AVX512 code.
16253         * sysdeps/x86_64/tst-audit4-aux.c: New file
16254         * sysdeps/x86_64/tst-audit10-aux.c: New file
16256         [BZ #19648]
16257         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16259 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16261         [BZ #14750]
16262         [BZ #10354]
16263         [BZ #18433]
16264         * include/sched.h (__clone): Add hidden prototype.
16265         (__clone2): Likewise.
16266         * include/unistd.h (__dup): Likewise.
16267         * posix/Makefile (tests): Add tst-spawn2.
16268         * posix/tst-spawn2.c: New file.
16269         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16270         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16271         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16272         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16273         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16274         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16275         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16276         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16277         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16278         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16279         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16281         Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16285         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16286         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16287         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16288         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16289         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16290         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16291         * sysdeps/unix/sysv/linux/nptl-signals.h
16292         (____nptl_is_internal_signal): New function.
16293         * sysdeps/unix/sysv/linux/spawni.c: New file.
16295         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16296         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16297         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16298         * posix/tst-execvp2.c (do_test): Likewise.
16299         * posix/tst-execvp3.c (do_test): Likewise.
16300         * posix/tst-execvp4.c (do_test): Likewise.
16301         * posix/tst-execvpe1.c: New file.
16302         * posix/tst-execvpe2.c: Likewise.
16303         * posix/tst-execvpe3.c: Likewise.
16304         * posix/tst-execvpe4.c: Likewise.
16305         * posix/tst-execvpe5.c: Likewise.
16306         * posix/tst-execvpe6.c: Likewise.
16308         [BZ #19534]
16309         * posix/execl.c (execl): Remove dynamic memory allocation.
16310         * posix/execle.c (execle): Likewise.
16311         * posix/execlp.c (execlp): Likewise.
16313 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16315         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16316         Replace .text with .text.avx512.
16317         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16318         Likewise.
16320 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16322         * sysdeps/generic/libnsl.abilist: New file.
16323         * sysdeps/generic/libutil.abilist: New file.
16325 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16327         [BZ #19762]
16328         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16329         HAS_ARCH_FEATURE with Fast_Rep_String.
16330         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16331         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16332         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16333         Likewise.
16334         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16335         Likewise.
16336         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16337         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16338         Likewise.
16339         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16340         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16341         Likewise.
16343 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16345         [BZ #19745]
16346         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16347         with *%rax in call.
16349 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16351         [BZ #19745]
16352         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16353         with *__libc_start_main@GOTPCREL(%rip) in call.
16355 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16357         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16358         inside conditional for nonempty $(CXX).
16360         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16361         nonempty.
16363         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16364         to test for empty $(CXX) rather than $(CXX) of "no".
16366 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16368         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16370 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16371             H.J. Lu  <hongjiu.lu@intel.com>
16373         [BZ #18880]
16374         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16375         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16376         enable __memcpy_ssse3_back.
16378 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16380         [BZ #19758]
16381         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16382         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16384 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16386         [BZ #19490]
16387         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16388         (__fentry__): Likewise.
16390 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16392         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16393         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16395 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16397         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16398         __mcount_internal directly.
16399         (C_LABEL(__fentry__)): Likewise.
16400         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16401         directly.
16403 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16405         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16406         (__start_context): Call __setcontext directly.
16408 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16410         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16411         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16412         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16413         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16414         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16415         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16416         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16417         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16418         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16419         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16420         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16421         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16422         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16424         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16425         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16426         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16427         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16428         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16429         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16430         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16431         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16432         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16433         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16434         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16435         Remove conditional code.
16436         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16437         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16438         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16439         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16440         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16441         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16442         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16443         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16444         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16445         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16446         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16447         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16449 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16451         * NEWS (2.23): Fix typo in bug 19048 text.
16453 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16455         [BZ #14259]
16456         * Makeconfig: Rename msgcatdir to localedir.
16457         Rename inst_msgcatdir to inst_localedir.
16458         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16459         * config.make.in: Add localedir.
16460         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16461         (ldd-rewrite): Likewise.
16462         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16463         (install-others): Use inst_localedir.
16464         (CPPFLAGS): Use localedir.
16465         * locale/Makefile (locale-CPPFLAGS): Likewise.
16466         * po/Makefile (mo-installed): Use inst_localedir.
16468         [BZ #19575]
16469         * localedata/charmaps/GB18030: Update comments regarding PAU to
16470         non-PUA mappings.
16472 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16474         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16475         test for header.
16476         * sysdeps/unix/sysv/linux/configure: Regenerated.
16477         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16478         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16479         Remove conditional code.
16480         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16482         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16483         Define to 3.2.0.
16484         (arch_minimum_kernel): Likewise.
16485         * sysdeps/unix/sysv/linux/configure: Regenerated.
16486         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16487         Define to 2.6.32.
16488         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16489         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16490         (arch_minimum_kernel): Define to 2.6.32.
16491         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16492         * README: Document Linux 3.2 requirement.
16493         * manual/install.texi (Linux): Document Linux 3.2 headers
16494         requirement.
16495         * INSTALL: Regenerated.
16497 2016-02-24  Andreas Schwab  <schwab@suse.de>
16499         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16500         if !NO_LONG_DOUBLE.
16502 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16504         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16505         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16507 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16509         [BZ #19512]
16510         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16512 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16514         * posix/tst-dir.c: Include libc-internal.h.
16516 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16518         [BZ #19056]
16519         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16520         * manual/filesys.texi (Reading/Closing Directory): Mention
16521         deprecaion.
16522         * posix/tst-dir.c (main): Disable deprecation warning in test.
16524 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16526         [BZ #19679]
16527         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16528         Renamed to ...
16529         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16530         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16531         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16532         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16533         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16534         * sysdeps/x86_64/dl-trampoline.h
16535         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16536         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16538 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16540         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16542 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16544         * elf/elf.h (R_386_GOT32X): New.
16545         (R_386_NUM): Update.
16546         (R_X86_64_GOTPCRELX: New.
16547         (R_X86_64_REX_GOTPCRELX): New.
16548         (R_X86_64_NUM): Update.
16550 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16552         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16554 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16556         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16557         assign attr->stackaddr to it, and adjust it down when
16558         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16559         [_STACK_GROWS_UP]: Delete assert.
16560         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16561         Implement stack grows up logic.
16562         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16563         stack grows up logic.
16565 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16567         * NEWS: Update with 2.24 template.
16569 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16571         [BZ #19678]
16572         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16573         Ensure +0.0 is returned when taking the next value below the least
16574         positive value.
16576 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16578         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16579         available.  Do not define NO_THREADS.
16580         * malloc/malloc.c: Do not check NO_THREADS.
16581         * malloc/arena.c: Likewise.
16583 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16585         * malloc/malloc.c (__libc_mallinfo): Update comment.
16586         (struct malloc_par): Remove max_total_mem member, it was always 0.
16587         (int_mallinfo): Store 0 into usmblks (no functional change).
16588         * malloc/hooks.c (struct malloc_state): Document that
16589         max_total_mem is always 0.
16590         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16591         always 0.
16592         * manual/memory.texi (Statistics of Malloc): Likewise.
16594 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16596         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16597         * malloc/arena.c (arena_max): Remove.
16598         (heap_trim, _int_new_arena): Do not update arena_max.
16600 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16602         * resolv/res_init.c (res_ninit): Update comment.
16604 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16606         [BZ #19505]
16607         * posix/spawn_int.h: Add headers and include guard.
16608         (__spawn_valid_fd): New function.
16609         * posix/spawn_faction_addopen.c
16610         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16611         * posix/spawn_faction_addclose.c
16612         (posix_spawn_file_actions_addclose): Likewise.
16613         * posix/spawn_faction_adddup2.c
16614         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16615         second file descriptor.
16616         * posix/spawn_valid_fd.c: New file.
16617         * posix/tst-posix_spawn-fd.c: New file.
16618         * posix/Makefile (routines): Add spawn_valid_fd.
16619         (tests): Add tst-posix_spawn-fd.
16621 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16623         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16624         (do_test): Limit the number of arenas, so that we can use fewer
16625         outer threads.  Limit timeout to 3 seconds, in preparation for a
16626         larger TIMEOUT value.
16628 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16630         [BZ #19674]
16631         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16632         sign in overflowing and underflowing results when overflow or
16633         underflow is detected early.  Include sign in result before rather
16634         than after scaling.
16636         [BZ #19603]
16637         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16638         (__ieee754_remainderl): Adjust sign of integer version of low part
16639         when taking absolute value of high part.
16640         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16641         * math/libm-test.inc (remainder_test_data): Add another test.
16642         (remquo_test_data): Likewise.
16644 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16646         [BZ #19602]
16647         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16648         equal high parts and both low parts zero specially.
16649         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16650         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16651         Add test-fmodl-ldbl-128ibm.
16653         [BZ #19595]
16654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16655         common logic for all cases of shifting subnormal results.  Do not
16656         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16657         exponent to ldbl_insert_mantissa in subnormal case.
16659         [BZ #19594]
16660         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16661         on high and low parts then adjust result and use
16662         ldbl_canonicalize_int if needed.
16664         [BZ #19593]
16665         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16666         on high part and __floor or __ceil on low part then use
16667         ldbl_canonicalize_int if needed.
16669         [BZ #19592]
16670         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16671         high and low parts then use ldbl_canonicalize_int if needed.
16673         [BZ #17899]
16674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16675         New function.
16676         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16677         on high and low parts then use ldbl_canonicalize_int if needed.
16679 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16681         * configure: Regenerated.
16683         * po/libc.pot: Regenerated.
16685         * po/be.po: Updated translation.
16686         * po/bg.po: Likewise.
16687         * po/ca.po: Likewise.
16688         * po/cs.po: Likewise.
16689         * po/da.po: Likewise.
16690         * po/el.po: Likewise.
16691         * po/eo.po: Likewise.
16692         * po/es.po: Likewise.
16693         * po/fi.po: Likewise.
16694         * po/fr.po: Likewise.
16695         * po/gl.po: Likewise.
16696         * po/hr.po: Likewise.
16697         * po/hu.po: Likewise.
16698         * po/ia.po: Likewise.
16699         * po/id.po: Likewise.
16700         * po/it.po: Likewise.
16701         * po/ja.po: Likewise.
16702         * po/lt.po: Likewise.
16703         * po/nb.po: Likewise.
16704         * po/nl.po: Likewise.
16705         * po/pt_BR.po: Likewise.
16706         * po/rw.po: Likewise.
16707         * po/sk.po: Likewise.
16708         * po/sl.po: Likewise.
16709         * po/sv.po: Likewise.
16710         * po/tr.po: Likewise.
16711         * po/zh_CN.po: Likewise.
16712         * po/zh_TW.po: Likewise.
16714         * version.h (RELEAES): Set to "development".
16715         (VERSION): Set to 2.23.90.
16717         * version.h (RELEASE): Set to "stable".
16718         (VERSION): Set to 2.23.
16719         * include/feature.h (__GLIBC_MINOR__): Set to 23.
16721         * NEWS: Updated fixed bugs.
16723 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
16724             Wilco Dijkstra  <wdijkstr@arm.com>
16726         [BZ #19462]
16727         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
16728         (_STRING_INLINE_unaligned): This.
16729         * include/string.h: Include <string_private.h>.
16730         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
16731         _STRING_INLINE_unaligned.
16732         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
16733         (_STRING_INLINE_unaligned): New.
16734         * sysdeps/aarch64/string_private.h: New file.
16735         * sysdeps/generic/string_private.h: Likewise.
16736         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
16737         * sysdeps/s390/string_private.h: Likewise.
16738         * sysdeps/x86/string_private.h: Likewise.
16739         * sysdeps/m68k/m680x0/m68020/bits/string.h
16740         (_STRING_ARCH_unaligned): Renamed to ...
16741         (_STRING_INLINE_unaligned): This.
16742         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
16743         to ...
16744         (_STRING_INLINE_unaligned): This.
16745         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
16746         to ...
16747         (_STRING_INLINE_unaligned): This.
16748         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
16749         to ...
16750         (_STRING_INLINE_unaligned): This.
16752 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
16753             H.J. Lu  <hongjiu.lu@intel.com>
16755         [BZ #19590]
16756         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
16757         relocation.
16759 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
16761         [BZ #18665]
16762         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
16763         *herrno_p.
16764         (gaih_getanswer): Document functional behviour. Return tryagain
16765         if any result is tryagain.
16766         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
16767         when freed.
16768         * resolv/res_send.c: Add copyright text.
16769         (__libc_res_nsend): Document that MAXPACKET is expected.
16770         (send_vc): Document. Remove buffer reuse.
16771         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
16772         size of the buffer. Add Dprint for truncated UDP buffer.
16774 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
16776         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
16777         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
16778         * INSTALL: Regenerate.
16780 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
16781             Jonathan Wakely  <jwakely@redhat.com>
16782             Carlos O'Donell  <carlos@redhat.com>
16784         [BZ 19439]
16785         * math/Makefile (tests): Add test-math-isinff.
16786         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
16787         * math/bits/mathcalls.h [__USE_MISC]: Use
16788         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
16789         functions not in C++11 and which don't conflict e.g. isinff,
16790         isinfl etc.
16791         * math/test-math-isinff.cc: New file.
16793 2016-02-12  Florian Weimer  <fweimer@redhat.com>
16795         * misc/bug18240.c (do_test): Set RLIMIT_AS.
16797 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16799         [BZ #19529]
16800         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
16802 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16804         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16806 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
16808         [BZ #19550]
16809         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
16810         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
16811         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
16812         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
16813         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
16814         New syscall entry.
16815         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
16816         New syscall entry.
16817         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
16818         syscall entry.
16820 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
16822         [BZ #18240]
16823         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
16824         unsigned int wraparound.
16826 2016-01-27  Florian Weimer  <fweimer@redhat.com>
16828         [BZ #18240]
16829         * misc/bug18240.c: New test.
16830         * misc/Makefile (tests): Add it.
16832 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
16833             Joseph Myers  <joseph@codesourcery.com>
16835         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
16836         load in branch delay slot when less than a word of input left.
16838 2016-01-27  Andreas Schwab  <schwab@suse.de>
16840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
16841         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
16842         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
16843         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
16845 2016-01-26  David S. Miller  <davem@davemloft.net>
16847         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
16849 2016-01-25  David S. Miller  <davem@davemloft.net>
16851         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
16852         __sqrtl_finite.
16853         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
16854         instead using versioned_symbol.
16855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
16856         of entries.
16858         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
16859         __sqrtl_finite to GLIBC_2.23
16861 2016-01-25  Ricchard Henderson  <rth@redhat.com>
16863         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16865 2016-01-25  Andreas Schwab  <schwab@suse.de>
16867         [BZ #17514]
16868         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
16869         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
16870         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
16871         * nptl/tst-mutex-errorcheck.c: New file.
16873 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16875         [BZ #18560]
16876         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
16877         (IPCOP_semop): Likewise.
16878         (IPCOP_semget): Likewise.
16879         (IPCOP_semctl): Likewise.
16880         (IPCOP_msgsnd): Likewise.
16881         (IPCOP_msgrcv): Likewise.
16882         (IPCOP_msgget): Likewise.
16883         (IPCOP_msgctl): Likewise.
16884         (IPCOP_shmat): Likewise.
16885         (IPCOP_shmdt): Likewise.
16886         (IPCOP_shmget): Likewise.
16887         (IPCOP_shmctl): Likewise.
16889 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16891         * string/tst-endian.c: Include <libc-internal.h>.
16892         (do_test): Ignore tautological-compare warnings around
16893         "htobeXX (beXXtoh (i)) != i" and
16894         "htoleXX (leXXtoh (i)) != i" if-statements.
16896 2016-01-24  David S. Miller  <davem@davemloft.net>
16898         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
16899         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
16900         alias.
16901         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
16902         __sqrtl_finite.
16904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16906 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
16908         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
16909         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
16910         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16912 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16914         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
16915         (thread_func): Use new function to simplify barrier check.
16916         (do_test): Use new function to simplify checking barrier exit
16917         code, and actually join the child thread.
16919 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16921         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
16922         semicolon.
16923         (__libc_tend): Likewise.
16924         (__libc_tabort): Likewise.
16926 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
16928         * sysdeps/nios2/libm-test-ulps: Update.
16929         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
16930         (__gtsf2): Likewise.
16931         (__unorddf2): Likewise.
16932         (__unordsf2): Likewise.
16933         (__ledf2): Likewise.
16935 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
16937         * nis/nis_table.c (__follow_path): Disable diagnostic for
16938         uninitialized variable that is a false positive for gcc 4.7.
16939         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
16941 2016-01-20  Roland McGrath  <roland@hack.frob.com>
16943         * sysdeps/nacl/lowlevellock-futex.h
16944         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
16945         Always evaluate PRIVATE argument.
16947 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
16949         [BZ #19490]
16950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
16951         (pthread_cond_broadcast): Use ENTRY/END
16952         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
16953         (pthread_cond_signal): Likewise.
16954         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
16955         Likewise.
16956         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
16957         Likewise.
16958         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
16959         Likewise.
16961 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
16963         * sysdeps/ieee754/dbl-64/s_finite.c
16964         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
16965         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
16966         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
16967         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
16968         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
16970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
16971         (__gtsf2): Add as optional for libc.so.
16972         (__unordsf2): Likewise.
16973         (__signbit): Remove for libc.so.
16974         (__signbitl): Likewise.
16976 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
16978         * iconvdata/bug-iconv11.c (test_ibm93x):
16979         Use %zu printf format specifier for size_t argument.
16981 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
16983         * math/gen-libm-test.pl (parse_ulps): Do not reduce
16984         already-recorded ulps.
16985         * sysdeps/arm/libm-test-ulps: Regenerated.
16986         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16987         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16988         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16990 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16991             Paul Pluzhnikov  <ppluzhnikov@google.com>
16993         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
16994         assembler not supporting AVX-512.
16996 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
16998         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17000 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17002         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17003         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17005         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17007         * sysdeps/arm/libm-test-ulps: Regenerated.
17009 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17011         [BZ #19451]
17012         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17014 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17016         [BZ #19486]
17017         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17018         * sysdeps/generic/fix-fp-int-convert-overflow.h
17019         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17020         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17021         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17022         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17023         Likewise.
17024         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17025         Avoid conversions to long int where inexact exceptions
17026         could be raised.
17027         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17028         Likewise.
17029         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17030         Avoid conversions to long long int where inexact exceptions
17031         could be raised.
17032         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17033         Likewise.
17035 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17037         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17038         * configure: Regenerated.
17040 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17042         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17044 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17046         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17047         outside of comment.
17049 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17051         * nptl/tst-barrier1.c: Add description on first line.
17052         * nptl/tst-barrier2.c: Likewise.
17053         * nptl/tst-barrier3.c: Likewise.
17054         * nptl/tst-barrier4.c: Likewise.
17055         * nptl/tst-barrier5.c: Likewise.
17057 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17059         [BZ #18868]
17060         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17062 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17065         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17066         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17067         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17068         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17069         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17070         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17071         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17072         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17073         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17074         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17076 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17078         [BZ #13065]
17079         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17080         new implementation.
17081         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17082         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17083         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17084         (BARRIER_IN_THRESHOLD): New macro.
17085         * nptl/pthread_barrierattr_setpshared.c
17086         (pthread_barrierattr_setpshared): Clean up.
17087         * nptl/tst-barrier4.c: Correct comment.
17088         * nptl/tst-barrier5.c: New file.
17089         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17090         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17091         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17092         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17093         * nptl/lowlevelbarrier.sym: Remove.
17094         * nptl/DESIGN-barrier.txt: Remove.
17095         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17096         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17097         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17098         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17099         error.
17100         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17101         implementation.
17103 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17105         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17106         (do_child): Mask SIGRTMIN while thr is running.
17108 2016-01-15  Martin Sebor  <msebor@redhat.com>
17110         [BZ #19432]
17111         * iconvdata/Makefile: Add bug-iconv11.
17112         * iconvdata/bug-iconv11.c: New test.
17113         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17114         * iconvdata/ibm933.c: Same.
17115         * iconvdata/ibm935.c: Same.
17116         * iconvdata/ibm937.c: Same.
17117         * iconvdata/ibm939.c: Same.
17119 2016-01-15  Martin Sebor  <msebor@redhat.com>
17121         [BZ #19443]
17122         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17123         [DEBUG] (_ufc_set_bits): Declare used.
17124         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17125         [DEBUG] (print_all): Declare used.
17126         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17127         operands of the ternary ?: expression to target type.
17128         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17129         calling the undeclared abort.
17130         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17132 2016-01-15  Martin Sebor  <msebor@redhat.com>
17134         [BZ #18755]
17135         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17136         warnings.
17137         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17138         (__gai_create_helper_thread): Same.
17139         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17140         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17141         to suppress -Wmaybe-uninitialized warnings.
17143 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17145         [BZ #19465]
17146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17147         inside if.
17148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17149         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17150         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17152 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17154         [BZ #19466]
17155         * time/tst-mktime2.c (time_t_max): Removed.
17156         (time_t_min): Likewise.
17157         (TYPE_SIGNED): New.
17158         (TYPE_MINIMUM): Likewise.
17159         (TYPE_MAXIMUM): Likewise.
17160         (TIME_T_MIN): Likewise.
17161         (TIME_T_MAX): Likewise.
17162         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17163         and TIME_T_MIN.
17164         (do_test): Likewise.
17166 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17168         [BZ #19467]
17169         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17170         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17172 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17174         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17176 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17178         * benchtests/Makefile (PYTHON): Define.
17179         (bench-func): Use $(PYTHON) to run python scripts.
17180         ($(objpfx)bench-%.c): Likewise.
17182 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17184         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17185         leading slash when `file_name' is "/".
17187 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17189         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17190         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17191         Likewise.
17192         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17193         Likewise.
17194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17195         Likewise.
17196         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17197         enum constant and macro.
17198         (PTRACE_SETSIGMASK): Likewise.
17199         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17200         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17201         (PTRACE_GETSIGMASK): Likewise.
17202         (PTRACE_SETSIGMASK): Likewise.
17203         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17204         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17205         Likewise.
17206         (PTRACE_SETSIGMASK): Likewise.
17207         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17208         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17209         (PTRACE_GETSIGMASK): Likewise.
17210         (PTRACE_SETSIGMASK): Likewise.
17211         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17212         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17213         Likewise.
17214         (PTRACE_SETSIGMASK): Likewise.
17215         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17216         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17217         Likewise.
17218         (PTRACE_SETSIGMASK): Likewise.
17219         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17220         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17221         Likewise.
17222         (PTRACE_SETSIGMASK): Likewise.
17223         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17225 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17226             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17228         [BZ #19439]
17229         * math/bits/mathcalls.h
17230         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17231         prototype.
17232         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17234 2016-01-11  Andreas Schwab  <schwab@suse.de>
17236         [BZ #19253]
17237         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17238         cache when TZDEFRULES was used.
17239         * time/tst-tzname.c: New file.
17240         * time/Makefile (test): Add tst-tzname.
17241         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17242         * timezone/Makefile (test-zones): Add $(posixrules-file).
17243         ($(testdata)/$(posixrules-file)): New rule.
17245 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17247         Fix doc quoting problems with Texinfo 5
17248         Without this change, in the info file output, Texinfo 5 quotes code
17249         in text with undirected single quotes 'like this' and generates
17250         code examples that with many PDF readers cannot be cut out of PDFs
17251         and pasted into code.
17252         * manual/libc.texinfo: Configure the libc manual like the GNU
17253         Emacs manual, by using @documentencoding and setting
17254         txicodequoteundirected and txicodequotebacktick.  This way,
17255         Texinfo 5 quotes code in text with directed single quotes ‘like
17256         this’ and produces examples that can be cut out of PDFs.  This
17257         change causes Texinfo 5 to generate info files that contain UTF-8
17258         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17259         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17261 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17263         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17264         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17265         barriers to their respective compiler built-ins.
17266         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17267         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17268         * sysdeps/powerpc/sysdep.h: Likewise.
17269         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17270         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17271         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17273 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17275         * scripts/config.guess: Revert previous shebang change.
17276         * scripts/config.sub: Likewise.
17277         * scripts/mkinstalldirs: Likewise.
17279 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17281         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17282         PPC_FEATURE2_HAS_IEEE128.
17283         * sysdeps/powerpc/dl-procinfo.c:
17284         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17286 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17288         [BZ #19415]
17289         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17290         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17291         (_dl_lookup_address): Rewrite using function resolver trampoline.
17292         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17293         two bits in address.
17295 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17297         * longlong.h: Change !__SHMEDIA__ to
17298         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17299         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17301 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17302             Joseph Myers  <joseph@codesourcery.com>
17303             Mark Shinwell  <shinwell@codesourcery.com>
17304             Andrew Stubbs  <ams@codesourcery.com>
17305             Rich Felker <dalias@libc.org>
17307         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17309 2016-01-07  Richard Henderson  <rth@redhat.com>
17311         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17313 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17315         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17316         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17317         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17318         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17319         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17321 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17322             Joseph Myers  <joseph@codesourcery.com>
17324         * timezone/private.h: Update from tzcode 2015g.
17325         * timezone/tzfile.h: Likewise.
17326         * timezone/tzselect.ksh: Likewise.
17327         * timezone/zdump.c: Likewise.
17328         * timezone/zic.c: Likewise.
17329         * timezone/ialloc.c: Remove file.
17330         * timezone/scheck.c: Likewise.
17331         * timezone/Makefile (extra-objs): Remove variable.
17332         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17333         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17334         -Wno-maybe-uninitialized.
17335         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17336         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17337         (CFLAGS-ialloc.c): Remove variable.
17338         (CFLAGS-scheck.c): Likewise.
17339         * timezone/README: Update list of files from tzcode.
17341 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17343         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17344         instead of __fxprintf when _LIBC is undefined.
17346 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17348         * catgets/test-gencat.sh: Remove space after shebang.
17349         * conform/GlibcConform.pm: Likewise.
17350         * conform/check-header-lists.sh: Likewise.
17351         * conform/conformtest.pl: Likewise.
17352         * conform/linknamespace.pl: Likewise.
17353         * conform/list-header-symbols.pl: Likewise.
17354         * debug/catchsegv.sh: Likewise.
17355         * elf/genrtldtbl.awk: Likewise.
17356         * elf/tst-pathopt.sh: Likewise.
17357         * elf/tst-rtld-load-self.sh: Likewise.
17358         * grp/tst_fgetgrent.sh: Likewise.
17359         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17360         * iconvdata/gen-8bit-gap.sh: Likewise.
17361         * iconvdata/gen-8bit.sh: Likewise.
17362         * iconvdata/run-iconv-test.sh: Likewise.
17363         * intl/tst-gettext.sh: Likewise.
17364         * intl/tst-gettext2.sh: Likewise.
17365         * intl/tst-gettext4.sh: Likewise.
17366         * intl/tst-gettext6.sh: Likewise.
17367         * intl/tst-translit.sh: Likewise.
17368         * io/ftwtest-sh: Likewise.
17369         * libio/test-freopen.sh: Likewise.
17370         * locale/gen-translit.pl: Likewise.
17371         * malloc/tst-mtrace.sh: Likewise.
17372         * manual/check-safety.sh: Likewise.
17373         * manual/libc-texinfo.sh: Likewise.
17374         * manual/tsort.awk: Likewise.
17375         * manual/xtract-typefun.awk: Likewise.
17376         * nptl/tst-cancel-wrappers.sh: Likewise.
17377         * nptl/tst-tls6.sh: Likewise.
17378         * posix/globtest.sh: Likewise.
17379         * posix/tst-getconf.sh: Likewise.
17380         * posix/wordexp-tst.sh: Likewise.
17381         * scripts/check-c++-types.sh: Likewise.
17382         * scripts/check-local-headers.sh: Likewise.
17383         * scripts/config.guess: Likewise.
17384         * scripts/config.sub: Likewise.
17385         * scripts/cpp: Likewise.
17386         * scripts/cross-test-ssh.sh: Likewise.
17387         * scripts/documented.sh: Likewise.
17388         * scripts/evaluate-test.sh: Likewise.
17389         * scripts/gen-libc-abis: Likewise.
17390         * scripts/gen-sorted.awk: Likewise.
17391         * scripts/list-fixed-bugs.py: Likewise.
17392         * scripts/merge-test-results.sh: Likewise.
17393         * scripts/mkinstalldirs: Likewise.
17394         * scripts/rellns-sh: Likewise.
17395         * scripts/test-installation.pl: Likewise.
17396         * scripts/update-copyrights: Likewise.
17397         * stdio-common/tst-printf.sh: Likewise.
17398         * stdio-common/tst-unbputc.sh: Likewise.
17399         * stdlib/tst-fmtmsg.sh: Likewise.
17400         * stdlib/tst-setcontext3.sh: Likewise.
17401         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17402         * sysdeps/unix/make-syscalls.sh: Likewise.
17404 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17406         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17407         asm stw with atomic_exchange_rel.  Add explanatory comment.
17408         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17409         Likewise.
17411 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17413         [BZ #19122]
17414         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17415         * sysdeps/generic/dl-unistd.h: New file.
17416         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17418 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17420          [BZ #19122]
17421          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17422          * sysdeps/generic/dl-mman.h: New file.
17423          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17425 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17427         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17428         trailing whitespace removed.
17429         * scripts/config.guess: Update to version 2016-01-01.
17430         * scripts/config.sub: Update to version 2016-01-01.
17431         * scripts/move-if-change: Update from gnulib.
17433 2016-01-04  Anton Blanchard  <anton@samba.org>
17435         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17436         for array indices.
17437         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17439 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17441         * NEWS: Update copyright dates.
17442         * catgets/gencat.c (print_version): Likewise.
17443         * csu/version.c (banner): Likewise.
17444         * debug/catchsegv.sh: Likewise.
17445         * debug/pcprofiledump.c (print_version): Likewise.
17446         * debug/xtrace.sh (do_version): Likewise.
17447         * elf/ldconfig.c (print_version): Likewise.
17448         * elf/ldd.bash.in: Likewise.
17449         * elf/pldd.c (print_version): Likewise.
17450         * elf/sotruss.sh: Likewise.
17451         * elf/sprof.c (print_version): Likewise.
17452         * iconv/iconv_prog.c (print_version): Likewise.
17453         * iconv/iconvconfig.c (print_version): Likewise.
17454         * locale/programs/locale.c (print_version): Likewise.
17455         * locale/programs/localedef.c (print_version): Likewise.
17456         * login/programs/pt_chown.c (print_version): Likewise.
17457         * malloc/memusage.sh (do_version): Likewise.
17458         * malloc/memusagestat.c (print_version): Likewise.
17459         * malloc/mtrace.pl: Likewise.
17460         * manual/libc.texinfo: Likewise.
17461         * nptl/version.c (banner): Likewise.
17462         * nscd/nscd.c (print_version): Likewise.
17463         * nss/getent.c (print_version): Likewise.
17464         * nss/makedb.c (print_version): Likewise.
17465         * posix/getconf.c (main): Likewise.
17466         * scripts/test-installation.pl: Likewise.
17467         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17469         * All files with FSF copyright notices: Update copyright dates
17470         using scripts/update-copyrights.
17471         * intl/plural.c: Regenerated.
17472         * locale/programs/charmap-kw.h: Likewise.
17473         * locale/programs/locfile-kw.h: Likewise.
17475 2016-01-02  Helge Deller  <deller@gmx.de>
17477         [BZ #19285]
17478         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17479         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17480         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17481         (MADV_xxK_PAGES): Remove.
17483 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17485         [BZ #15421]
17486         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17487         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17488         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17489         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17491 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17493         [BZ #19408]
17494         * sysdeps/unix/sysv/linux/personality.c: New file.
17495         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17496         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17497         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17498         (sysdep_routines): Add personality.
17499         (tests): Add tst-personality.
17500         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17501         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17502         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17503         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17504         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17505         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17506         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17507         Likewise.
17508         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17509         Likewise.
17510         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17511         Likewise.
17512         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17513         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17514         Likewise.
17516 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17518         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17519         (PATH_ARM_SYSTYPE): Remove.
17520         (PATH_CPUINFO): Likewise.
17521         (IO_BASE_FOOTBRIDGE): Likewise.
17522         (IO_SHIFT_FOOTBRIDGE): Likewise.
17523         (struct platform): Likewise.
17524         (init_iosys): Remove compatibility code for 2.4 kernels.
17525         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17527 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17529         * malloc/tst-malloc-thread-fail.c: New file.
17530         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17531         (tst-malloc-thread-fail): Link against libpthread.
17533 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17535         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17536         (get_parser): New function.
17537         (main): New function.
17539 2015-12-29  Rob Wu  <rob@robwu.nl>
17541         [BZ #19369]
17542         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17544 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17546         [BZ #19270]
17547         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17549 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17551         [BZ #15421]
17552         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17554 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17556         [BZ #13690]
17557         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17558         after releasing it.
17559         (__lll_robust_unlock): Likewise.
17560         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17561         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17562         (lll_robust_unlock): Likewise.
17563         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17564         Prevent warnings in callers.
17566 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17568         * malloc/arena.c (list_lock): Update comment.
17570 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17572         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17573         __parse_hwcap_and_convert_at_platform to libc.a.
17575 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17577         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17578         platform and feature support for POWER9.
17579         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17580         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17581         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17582         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17583         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17584         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17585         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17586         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17588 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17590         Harmonize generic stdio-lock support with nptl
17592         This fixes build when _IO_funlockfile is a macro, fixes build where
17593         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17594         stack unwind.
17596         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17597         _IO_release_lock ): Use cleanup attribute on new
17598         _IO_acquire_lock_file variable instead of assuming that
17599         _IO_release_lock will be called.
17600         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17601         _IO_acquire_lock_needs_exceptions_enabled.
17602         (_IO_acquire_lock_clear_flags2): New macro.
17604 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17606         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17608 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17610         [BZ #19182]
17611         * malloc/arena.c (list_lock): Document lock ordering requirements.
17612         (free_list_lock): New lock.
17613         (ptmalloc_lock_all): Comment on free_list_lock.
17614         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17615         (detach_arena): Update comment.  free_list_lock is now needed.
17616         (_int_new_arena): Use free_list_lock around detach_arena call.
17617         Acquire arena lock after list_lock.  Add comment, including FIXME
17618         about incorrect synchronization.
17619         (get_free_list): Switch to free_list_lock.
17620         (reused_arena): Acquire free_list_lock around detach_arena call
17621         and attached threads counter update.  Add two FIXMEs about
17622         incorrect synchronization.
17623         (arena_thread_freeres): Switch to free_list_lock.
17624         * malloc/malloc.c (struct malloc_state): Update comments to
17625         mention free_list_lock.
17627 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17629         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17630         Remove functions.
17631         (sloww, sloww1): Accept argument to offset quadrant.
17632         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17633         quadrant.
17634         (__sin, __cos): Consolidate common code into new functions.
17635         (reduce_sincos_1, do_sincos_1): New functions.
17636         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17638         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17639         code to new functions.
17640         (reduce_sincos_2, do_sincos_2): New functions.
17641         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17644         common code for sincos.
17645         (__cos) [!IN_SINCOS]: Likewise.
17646         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17647         New function.
17648         (__sincos): Use it.
17650 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17652         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17653         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17654         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17656 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17658         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17661         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17663         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17664         index_Prefer_No_VZEROUPPER): New feature.
17665         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17666         Prefer_No_VZEROUPPER for Knights Landing.
17668 015-12-18  Torvald Riegel  <triegel@redhat.com>
17670         * math/atest-exp2.c (mp_exp_m1): Remove.
17672 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17674         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17675         syscalls.
17676         (__SYSCALL0): New macro.
17677         (__SYSCALL1): Likewise.
17678         (__SYSCALL2): Likewise.
17679         (__SYSCALL3): Likewise.
17680         (__SYSCALL4): Likewise.
17681         (__SYSCALL5): Likewise.
17682         (__SYSCALL6): Likewise.
17683         (__SYSCALL_CONCAT_X): Likewise.
17684         (__SYSCALL_CONCAT): Likewise.
17685         (__SYSCALL_DIST): Likewise.
17686         (__SYSCALL_CALL): Likewise.
17688 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17690         [BZ #19363]
17691         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17693 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17695         [BZ #19375]
17696         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17697         negative subnormals.
17699 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17702         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17703         (INTERNAL_SYSCALL_NCS): Use it.
17704         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17706 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17708         [BZ #19243]
17709         * malloc/arena.c (get_free_list): Remove assert and adjust
17710         reference count handling.  Add comment about reused_arena
17711         interaction.
17712         (reused_arena): Add comments abount get_free_list interaction.
17713         * malloc/tst-malloc-thread-exit.c: New file.
17714         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17715         (tst-malloc-thread-exit): Link against libpthread.
17717 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17719         [BZ #19367]
17720         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
17721         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
17722         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
17723         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
17724         (index_Prefer_MAP_32BIT_EXEC): Likewise.
17726 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
17728         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
17729         Silvermont optimizations for Knights Landing.
17731 2015-12-15  Andreas Schwab  <schwab@suse.de>
17733         [BZ #17197]
17734         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
17735         immediately after emitting SI.
17736         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
17737         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
17738         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
17739         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
17740         * iconvdata/bug-iconv10.c: New file.
17741         * iconvdata/Makefile (tests): Add bug-iconv10.
17742         ($(objpfx)bug-iconv10.out): New rule.
17744 2015-12-15  Florian Weimer  <fweimer@redhat.com>
17746         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
17747         aliasing violation.
17749 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
17751         [BZ #18472]
17752         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
17753         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
17754         conditionals for them.
17755         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
17756         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
17757         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
17758         sys/kdaemon.h.
17759         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
17760         compat-only syscall, obsoleted in glibc 2.23.
17761         (create_module): Likewise.
17762         (get_kernel_syms): Likewise.
17763         (query_module): Likewise.
17764         (uselib): Likewise.
17765         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
17767 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
17769         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
17770         <linux/version.h>.
17771         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
17772         conditional code.
17773         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
17774         and ioshift_name initialization.
17776 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17779         Fix indentation.
17781 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17783         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
17785 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
17787         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
17789 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
17790             Jakub Wilk  <jwilk@debian.org>
17792         [BZ #19347]
17793         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
17794         to change the group of the device to the tty group.
17796 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
17798         Split large string section; add truncation advice
17799         * manual/examples/strncat.c: Remove.
17800         This example was misleading, as the code would have undefined
17801         behavior if "hello" was longer than SIZE.  Anyway, the manual
17802         shouldn't encourage strncpy+strncat for this sort of thing.
17803         * manual/string.texi (Copying Strings and Arrays): Split into
17804         three sections Copying Strings and Arrays, Concatenating Strings,
17805         and Truncating Strings, as this section was way too long.  All
17806         cross-referenced changed.  Add advice about string-truncation
17807         functions.  Remove misleading strncat example.
17809 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
17811         * manual/nss.texi (NSS Modules Interface): Document
17812         NSS_STATUS_NOTFOUND and SUCCESS.
17814 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17816         [BZ 18568]
17817         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
17818         201505L, for Unicode 8.
17820 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
17822         * locale/C-translit.h: Regenerate.
17824 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
17826         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
17827         and U+0153.
17829 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
17831         [BZ #19351]
17832         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
17833         expanding log(1+z), compare z rather than its square with epsilon
17834         to determine when to avoid evaluating the expansion.
17836         [BZ #19350]
17837         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17838         Increase overflow threshold.
17840         [BZ #19349]
17841         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
17842         when small.
17844         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17845         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17846         New macro.
17847         [__LINUX_KERNEL_VERSION >= 0x040300]
17848         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17850         Likewise.
17851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17852         Likewise.
17853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17854         Likewise.
17855         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17856         Likewise.
17857         [__LINUX_KERNEL_VERSION >= 0x040300]
17858         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17859         [__LINUX_KERNEL_VERSION >= 0x040300]
17860         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17861         [__LINUX_KERNEL_VERSION >= 0x040300]
17862         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17863         [__LINUX_KERNEL_VERSION >= 0x040300]
17864         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17865         [__LINUX_KERNEL_VERSION >= 0x040300]
17866         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17868         Likewise.
17869         [__LINUX_KERNEL_VERSION >= 0x040300]
17870         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17872         Likewise.
17873         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17874         Likewise.
17875         [__LINUX_KERNEL_VERSION >= 0x040300]
17876         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17877         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17878         Likewise.
17879         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17880         Likewise.
17881         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17882         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
17883         Likewise.
17884         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
17885         Likewise.
17886         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
17887         Likewise.
17888         [__LINUX_KERNEL_VERSION >= 0x040300]
17889         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
17891         Likewise.
17892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
17893         Likewise.
17894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
17895         Likewise.
17896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
17897         Likewise.
17898         [__LINUX_KERNEL_VERSION >= 0x040300]
17899         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
17900         [__LINUX_KERNEL_VERSION >= 0x040300]
17901         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17902         [__LINUX_KERNEL_VERSION >= 0x040300]
17903         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17904         [__LINUX_KERNEL_VERSION >= 0x040300]
17905         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17906         [__LINUX_KERNEL_VERSION >= 0x040300]
17907         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
17909         Likewise.
17910         [__LINUX_KERNEL_VERSION >= 0x040300]
17911         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
17912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
17913         Likewise.
17914         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
17915         Likewise.
17916         [__LINUX_KERNEL_VERSION >= 0x040300]
17917         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
17918         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
17919         Likewise.
17920         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
17921         Likewise.
17922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17923         (__ASSUME_SOCKET_SYSCALL): Likewise.
17924         (__ASSUME_BIND_SYSCALL): Likewise.
17925         (__ASSUME_CONNECT_SYSCALL): Likewise.
17926         (__ASSUME_LISTEN_SYSCALL): Likewise.
17927         (__ASSUME_ACCEPT_SYSCALL): Likewise.
17928         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17929         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17930         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17931         (__ASSUME_SEND_SYSCALL): Likewise.
17932         (__ASSUME_SENDTO_SYSCALL): Likewise.
17933         (__ASSUME_RECV_SYSCALL): Likewise.
17934         (__ASSUME_RECVFROM_SYSCALL): Likewise.
17935         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
17936         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17937         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17938         (__ASSUME_SENDMSG_SYSCALL): Likewise.
17939         (__ASSUME_RECVMSG_SYSCALL): Likewise.
17940         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
17942         Likewise.
17943         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
17944         Likewise.
17945         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
17946         Likewise.
17947         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
17948         Likewise.
17949         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
17950         Likewise.
17951         [__LINUX_KERNEL_VERSION >= 0x020625]
17952         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
17953         [__LINUX_KERNEL_VERSION >= 0x020625]
17954         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
17955         [__LINUX_KERNEL_VERSION >= 0x020625]
17956         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
17957         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
17958         Likewise.
17959         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
17960         Likewise.
17961         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
17962         Likewise.
17963         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
17964         Likewise.
17965         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
17966         Likewise.
17967         [__LINUX_KERNEL_VERSION >= 0x020625]
17968         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
17969         [__LINUX_KERNEL_VERSION >= 0x020625]
17970         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
17971         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
17972         Likewise.
17973         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
17974         Likewise.
17976 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17978         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
17979         record the current if the current ABI and CPU support the FP64
17980         extension.
17981         (has-modd-spreg): Define to record the current if the current ABI and
17982         CPU support 32-bit floating point values in odd FPU registers.
17983         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17984         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
17985         $(has-modd-spreg) equals yes.
17986         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
17987         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
17988         $(has-modd-spreg) equal yes.
17990 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
17992         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
17993         basename.
17995 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
17997         * benchtests/Makefile (bench-math): Move ffs and ffsll...
17998         (bench-string): ... here.
17999         (bench): Add bench-string.
18000         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18001         to *-benchset to reflect what they are.
18002         (benchset): Adjust.
18004         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18005         cos-inputs.
18007 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18009         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18010         __attribute__ ((__simd__)) for vector math function declarations.
18012 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18014         Fix typo in strncat, wcsncat manual entries
18015         * manual/string.texi (Copying and Concatenation): Fix typos in
18016         sample implementations of strncat and wcsncat, by having them use
18017         the old value of the destination length, not the new one.
18019 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18021         [BZ #16961]
18022         [BZ #16962]
18023         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18024         string on the stack for strtod.
18025         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18026         a string on the stack for strtof.
18027         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18028         constructing a string on the stack for strtold.
18029         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18030         __strtold_nan to GLIBC_PRIVATE.
18031         * math/test-nan-overflow.c: New file.
18032         * math/test-nan-payload.c: Likewise.
18033         * math/Makefile (tests): Add test-nan-overflow and
18034         test-nan-payload.
18036 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18038         Consistency about byte vs character in string.texi
18039         * manual/string.texi (String and Array Utilities):
18040         Distinguish more carefully among bytes, multibyte characters,
18041         and wide characters.  Use "byte" when talking about C 'char',
18042         to distinguish it more clearly from multibyte characters.
18043         Say "wide character" or "multibyte character" instead of
18044         "character", when a wide or multibyte character is intended.
18045         Similarly for "multibyte string" versus "string".
18046         Define these terms more carefully.
18048 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18050         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18051         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18052         Likewise.
18053         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18054         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18055         * sysdeps/sh/math_private.h: New file.
18056         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18057         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18058         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18059         long double function name.
18060         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18061         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18062         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18064         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18066         Remove __finitel, __isinfl, and __isnanl.
18067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18068         Likewise.
18069         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18071         Remove __finitel.
18072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18073         Likewise.
18074         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18076 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18078         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18079         installed libmvec_nonshared.a.
18081 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18083         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18084         (sysdep_routines): Likewise.
18085         (sysdep-rtld-routines): Likewise.
18086         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18087         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18088         * sysdeps/powerpc/Versions: Added new
18089         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18090         * sysdeps/powerpc/hwcapinfo.c: New file.
18091         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18092         and parse hwcap, hwcap2 and platform number information.
18093         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18094         to store HWCAP+HWCAP2 and platform number.
18095         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18096         for HWCAP+HWCAP2 and platform number in the TCB.
18097         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18098         the HWCAP, HWCAP2 and platform number in the TCB.
18099         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18100         (TLS_INIT_TP): Included calls to add the hwcap and
18101         at_platform values in the TCB in TP initialization.
18102         (TLS_DEFINE_INIT_TP): Likewise.
18103         (THREAD_GET_HWCAP): New macro.
18104         (THREAD_SET_HWCAP): Likewise.
18105         (THREAD_GET_AT_PLATFORM): Likewise.
18106         (THREAD_SET_AT_PLATFORM): Likewise.
18107         * sysdeps/powerpc/powerpc32/dl-machine.h:
18108         (dl_platform_init): New function that calls
18109         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18110         powerpc32.
18111         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18112         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18113         this functionality, static linking case.
18114         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18115         linking case.
18116         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18117         __parse_hwcap_and_convert_at_platform for the static linking case.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18119         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18120         ABI list for GLIBC 2.23.
18121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18122         Likewise.
18123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18124         Likewise.
18126 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18128         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18129         * configure: Regenerate.
18130         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18131         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18133 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18135         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18136         * iconvdata/ibm933.c: Likewise.
18137         * iconvdata/ibm935.c: Likewise.
18138         * iconvdata/ibm937.c: Likewise.
18139         * iconvdata/ibm939.c: Likewise.
18141 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18143         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18144         pthread_join.
18145         * nptl/tst-cancel21.c (tf): Likewise.
18147 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18149         [BZ #19313]
18150         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18151         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18152         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18153         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18154         Likewise.
18155         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18156         Likewise.
18157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18158         Likewise.
18159         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18160         Likewise.
18161         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18162         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18163         unsigned long int with __CPU_MASK_TYPE.
18165 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18167         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18169 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18171         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18172         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18173         t512.x.
18174         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18176 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18178         [BZ #19214]
18179         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18180         argument to return extended model.  Update family and model
18181         with extended family and model when family == 0x0f.
18182         (init_cpu_features): Updated.
18184 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18186         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18187         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18189         * sysdeps/mach/hurd/mmap64.c: New file.
18191 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18193         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18194         rights for its main user thread in NEWTASK.
18196 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18198         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18199         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18201 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18203         [BZ #14259]
18204         * Makeconfig: Rename localedir to complocaledir.
18205         Rename inst_localedir to inst_complocaledir.
18206         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18207         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18208         * configure.ac: Use libc_cv_complocaledir.
18209         * configure: Regenerate.
18210         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18211         -DCOMPLOCALEDIR.
18212         * locale/findlocale.c: Use COMPLOCALEDIR.
18213         * locale/loadarchive.c: Likewise.
18214         * locale/programs/locale.c: Likewise.
18215         * locale/programs/localedef.c: Likewise.
18216         * locale/programs/locarchive.c: Likewise.
18217         * localedata/Makefile: Use inst_complocaledir.
18218         * sysdeps/gnu/configure: Regenerate.
18219         * sysdeps/hppa/configure: Regenerate.
18220         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18221         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18223         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18224         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18225         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18226         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18228 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18230         [BZ #19058]
18231         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18232         AS_NEEDED.
18233         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18234         workaround.
18235         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18236         libmvec-static-only-routines): Added new file.
18237         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18239 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18241         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18242         of interrupted RPC instead of restoring it.
18244         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18245         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18246         libc_hidden_def.
18247         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18248         into initialized data instead of common. Define rtld_hidden_data_def.
18249         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18250         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18251         libc_hidden_def.
18252         (if_freenameindex): Add libc_hidden_weak.
18253         (if_nameindex): Add libc_hidden_weak.
18254         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18255         __open64.
18256         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18257         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18258         * sysdeps/mach/nanosleep.c: Include <time.h>
18259         (__nanosleep): Rename to __libc_nanosleep.
18260         (__nanosleep): Add weak_alias.
18261         (nanosleep): Update alias.
18263 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18265         * stdlib/strtod_nan.c: New file.
18266         * stdlib/strtod_nan_double.h: Likewise.
18267         * stdlib/strtod_nan_float.h: Likewise.
18268         * stdlib/strtod_nan_main.c: Likewise.
18269         * stdlib/strtod_nan_narrow.h: Likewise.
18270         * stdlib/strtod_nan_wide.h: Likewise.
18271         * stdlib/strtof_nan.c: Likewise.
18272         * stdlib/strtold_nan.c: Likewise.
18273         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18274         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18275         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18276         * wcsmbs/wcstod_nan.c: Likewise.
18277         * wcsmbs/wcstof_nan.c: Likewise.
18278         * wcsmbs/wcstold_nan.c: Likewise.
18279         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18280         strtold_nan.
18281         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18282         wcstof_nan.
18283         * include/stdlib.h (__strtof_nan): Declare and use
18284         libc_hidden_proto.
18285         (__strtod_nan): Likewise.
18286         (__strtold_nan): Likewise.
18287         (__wcstof_nan): Likewise.
18288         (__wcstod_nan): Likewise.
18289         (__wcstold_nan): Likewise.
18290         * include/wchar.h (____wcstoull_l_internal): Declare.
18291         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18292         (____strtoull_l_internal): Remove declaration.
18293         (STRTOF_NAN): Define macro.
18294         (SET_MANTISSA): Remove macro.
18295         (STRTOULL): Likewise.
18296         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18297         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18298         (STRTOF_NAN): Define macro.
18299         (SET_MANTISSA): Remove macro.
18300         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18301         (SET_MANTISSA): Remove macro.
18302         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18303         macro.
18304         (SET_MANTISSA): Remove macro.
18305         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18306         macro.
18307         (SET_MANTISSA): Remove macro.
18308         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18309         (SET_MANTISSA): Remove macro.
18310         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18311         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18312         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18314         [BZ #19266]
18315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18316         upper case and lower case letters inside NAN(), not using TOLOWER.
18317         * stdlib/tst-strtod-nan-locale-main.c: New file.
18318         * stdlib/tst-strtod-nan-locale.c: Likewise.
18319         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18320         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18321         Depend on $(gen-locales).
18322         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18323         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18324         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18325         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18326         Depend on $(gen-locales).
18327         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18329 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18331         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18333         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18335         __finitel, __isinfl, and __isnanl.
18336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18337         Likewise.
18338         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18340         __finitel.
18341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18342         Likewise.
18343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18345 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18347         * malloc/memusage.c (me): Remove redundant getenv call.
18349 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18351         [BZ #19143]
18352         [BZ #19164]
18353         * nptl/check-cpuset.h: Remove.
18354         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18355         Remove CPU set size check.
18356         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18357         Likewise.
18358         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18359         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18360         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18361         (__pthread_setaffinity_new): Remove CPU set size check.
18362         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18363         (__kernel_cpumask_size): Remove.
18364         (__sched_setaffinity_new): Remove CPU set size check.
18365         * manual/threads.texi (Default Thread Attributes): Remove stale
18366         reference to check_cpuset_attr, determine_cpumask_size in comment.
18367         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18368         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18369         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18370         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18371         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18372         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18373         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18374         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18375         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18376         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18377         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18378         skeleton test file.
18379         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18380         tst-affinity-pid.
18382 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18384         * scripts/update-abilist.sh: New file.
18385         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18386         * Makerules (update-all-abi-%, update-all-abi)
18387         (subdir_update-all-abi): New targets.
18388         * elf/Makefile (update-all-abi): New target.
18390 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18392         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18393         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18394         (__libc_lock_define_initialized): Use it.
18395         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18396         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18397         * malloc/malloc.c (main_arena): Likewise.
18398         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18399         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18401 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18403         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18404         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18405         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18406         (PTRACE_O_MASK): Update value.
18407         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18408         New value in enum __ptrace_setoptions.
18409         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18410         (PTRACE_O_MASK): Update value.
18411         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18412         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18413         (PTRACE_O_MASK): Update value.
18414         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18415         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18416         (PTRACE_O_MASK): Update value.
18417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18418         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18419         (PTRACE_O_MASK): Update value.
18420         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18421         New value in enum __ptrace_setoptions.
18422         (PTRACE_O_MASK): Update value.
18423         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18424         New value in enum __ptrace_setoptions.
18425         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18426         (PTRACE_O_MASK): Update value.
18428         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18429         New macro.
18430         (PACKET_AUXDATA): Likewise.
18431         (PACKET_ORIGDEV): Likewise.
18432         (PACKET_VERSION): Likewise.
18433         (PACKET_HDRLEN): Likewise.
18434         (PACKET_RESERVE): Likewise.
18435         (PACKET_TX_RING): Likewise.
18436         (PACKET_LOSS): Likewise.
18437         (PACKET_VNET_HDR): Likewise.
18438         (PACKET_TX_TIMESTAMP): Likewise.
18439         (PACKET_TIMESTAMP): Likewise.
18440         (PACKET_FANOUT): Likewise.
18441         (PACKET_TX_HAS_OFF): Likewise.
18442         (PACKET_QDISC_BYPASS): Likewise.
18443         (PACKET_ROLLOVER_STATS): Likewise.
18444         (PACKET_FANOUT_DATA): Likewise.
18445         (PACKET_MR_UNICAST): Likewise.
18447         [BZ #19242]
18448         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18449         (TOUPPER): Likewise.
18450         * stdlib/tst-strtol-locale-main.c: New file.
18451         * stdlib/tst-strtol-locale.c: Likewise.
18452         * stdlib/Makefile (tests): Add tst-strtol-locale.
18453         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18454         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18455         Depend on $(gen-locales).
18456         * wcsmbs/tst-wcstol-locale.c: New file.
18457         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18458         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18459         tr_TR.ISO-8859-9.
18460         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18461         Depend on $(gen-locales).
18463 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18465         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18466         __glibc_likely instead of __builtin_expect.  After falling back to
18467         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18468         system interface to register the code pages as occupied.
18470 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18472         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18473         [!ARM_MATH_PRIVATE_H].
18474         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18475         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18476         [!HPPA_MATH_PRIVATE_H].
18477         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18478         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18479         to [!I386_MATH_PRIVATE_H].
18480         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18481         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18482         Change guard to [!M68K_MATH_PRIVATE_H].
18483         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18484         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18485         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18486         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18487         macro.
18488         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18489         [!MIPS_MATH_PRIVATE_H].
18490         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18491         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18492         [!NIO2_MATH_PRIVATE_H].
18493         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18494         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18495         [!TILE_MATH_PRIVATE_H].
18496         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18498         [BZ #15421]
18499         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18500         initialize with 0 and define as weak alias of __signgam.
18501         * include/math.h [!_ISOMAC] (__signgam): Declare.
18502         * math/Makefile (libm-calls): Add w_lgamma_compat.
18503         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18504         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18505         test-signgam-ullong-init.
18506         (tests-static): Add test-signgam-uchar-static,
18507         test-signgam-uchar-init-static, test-signgam-uint-static,
18508         test-signgam-uint-init-static, test-signgam-ullong-static and
18509         test-signgam-ullong-init-static.
18510         (CFLAGS-test-signgam-uchar.c): New variable.
18511         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18512         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18513         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18514         (CFLAGS-test-signgam-uint.c): Likewise.
18515         (CFLAGS-test-signgam-uint-init.c): Likewise.
18516         (CFLAGS-test-signgam-uint-static.c): Likewise.
18517         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18518         (CFLAGS-test-signgam-ullong.c): Likewise.
18519         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18520         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18521         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18522         * math/Versions (libm): Add GLIBC_2.23.
18523         * math/lgamma-compat.h: New file.
18524         * math/test-signgam-main.c: Likewise.
18525         * math/test-signgam-uchar-init-static.c: Likewise.
18526         * math/test-signgam-uchar-init.c: Likewise.
18527         * math/test-signgam-uchar-static.c: Likewise.
18528         * math/test-signgam-uchar.c: Likewise.
18529         * math/test-signgam-uint-init-static.c: Likewise.
18530         * math/test-signgam-uint-init.c: Likewise.
18531         * math/test-signgam-uint-static.c: Likewise.
18532         * math/test-signgam-uint.c: Likewise.
18533         * math/test-signgam-ullong-init-static.c: Likewise.
18534         * math/test-signgam-ullong-init.c: Likewise.
18535         * math/test-signgam-ullong-static.c: Likewise.
18536         * math/test-signgam-ullong.c: Likewise.
18537         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18538         wrapper of w_lgamma_main.c.
18539         * math/w_lgamma_compat.c: New file.
18540         * math/w_lgamma_compatf.c: Likewise.
18541         * math/w_lgamma_compatl.c: Likewise.
18542         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18543         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18544         defining compatibility symbols.
18545         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18546         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18547         wrapper of w_lgammaf_main.c.
18548         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18549         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18550         defining compatibility symbols.
18551         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18552         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18553         wrapper of w_lgammal_main.c.
18554         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18555         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18556         defining compatibility symbols.
18557         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18558         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18559         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18560         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18561         <lgamma-compat.h>.
18562         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18563         (__ieee754_gamma): Define as alias.
18564         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18565         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18566         <lgamma-compat.h>.
18567         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18568         (__ieee754_gammaf): Define as alias.
18569         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18570         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18571         <lgamma-compat.h>.
18572         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18573         (__ieee754_gammal): Define as alias.
18574         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18575         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18576         <math/w_lgamma_compat.c>.
18577         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18578         Define as alias of __lgamma_compat and use in defining lgammal.
18579         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18580         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18581         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18582         (USE_AS_COMPAT): New macro.
18583         (LGAMMA_OLD_VER): Undefine and redefine.
18584         (lgammal): Do not define here.
18585         (gammal): Only define here if [GAMMA_ALIAS].
18586         * conform/linknamespace.pl (@whitelist): Remove signgam.
18587         * sysdeps/nacl/libm.abilist: Update.
18588         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18589         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18590         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18591         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18592         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18593         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18594         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18595         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18596         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18597         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18598         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18599         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18601         Likewise.
18602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18603         Likewise.
18604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18605         Likewise.
18606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18607         Likewise.
18608         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18609         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18610         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18611         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18612         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18614         Likewise.
18615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18616         Likewise.
18617         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18618         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18619         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18621 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18623         [BZ #16364]
18624         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18625         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18627 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18629         * sysdeps/s390/fpu/bits/mathinline.h:
18630         Use __asm__ [__volatile__] instead of asm [volatile].
18631         * sysdeps/s390/abort-instr.h: Likewise.
18632         * sysdeps/s390/atomic-machine.h: Likewise.
18633         * sysdeps/s390/bits/string.h: Likewise.
18634         * sysdeps/s390/dl-tls.h: Likewise.
18635         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18636         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18637         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18638         * sysdeps/s390/fpu/fesetround.c: Likewise.
18639         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18640         * sysdeps/s390/fpu/s_fma.c: Likewise.
18641         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18642         * sysdeps/s390/memusage.h: Likewise.
18643         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18644         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18645         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18646         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18647         * sysdeps/s390/nptl/tls.h: Likewise.
18648         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18649         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18650         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18651         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18653         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18654         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18655         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18656         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18657         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18658         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18659         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18660         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18661         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18662         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18663         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18664         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18665         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18666         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18668         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18670         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18672 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18673             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18675         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18676         Add lwarx hint, and use macro for acquire instruction.
18677         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18678         Likewise.
18679         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18680         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18681         update to use new atomic macros.
18683 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18685         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18686         (__lll_trylock_elision): Fix setting of adapt_count.
18687         * sysdeps/unix/sysv/linux/powerpc/htm.h
18688         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18689         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18690         (_ABORT_SYSCALL): Renumber, and clarify definition.
18691         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18693 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18695         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18696         after system headers to prevent MIN/MAX redefinition.  Define
18697         HAVE_ALLOCA to preserve builtin alloca usage.
18699 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18701         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18702         static and don't set or restore rounding.
18703         (__cos)[IN_SINCOS]: Likewise.
18704         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18705         (__sincos): Set and restore rounding mode.  Remove check for infinite
18706         or NaN input.
18708         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18710         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18711         as used.
18713 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18715         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18717 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
18719         * config.make.in (have-glob-dat-reloc): New.
18720         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
18721         target supports GLOB_DAT relocaton. AC_SUBST.
18722         * configure: Regenerated.
18723         * elf/Makefile (tests): Add tst-prelink.
18724         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18725         (tst-prelink-ENV): New.
18726         ($(objpfx)tst-prelink-conflict.out): Likewise.
18727         ($(objpfx)tst-prelink-cmp.out): Likewise.
18728         * sysdeps/x86/tst-prelink.c: Moved to ...
18729         * elf/tst-prelink.c: Here.
18730         * sysdeps/x86/tst-prelink.exp: Moved to ...
18731         * elf/tst-prelink.exp: Here.
18732         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
18733         (tst-prelink-ENV): Removed.
18734         ($(objpfx)tst-prelink-conflict.out): Likewise.
18735         ($(objpfx)tst-prelink-cmp.out): Likewise.
18736         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
18738 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
18740         [BZ #14551]
18741         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
18742         (__mpn_construct_long_double): If high part overflows to infinity,
18743         set errno and recompute overflowed result of the correct sign.
18744         * sysdeps/ieee754/ldbl-128ibm/Makefile
18745         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
18746         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
18747         $(libm).
18748         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
18750 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
18752         [BZ #15479]
18753         [BZ #19238]
18754         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
18755         floating-point state after first operation on input.  Restore full
18756         state rather than just rounding mode.
18757         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
18758         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
18759         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
18761         [BZ #19235]
18762         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
18763         add 0.5 to integer arguments.
18764         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
18765         Likewise.
18766         (.LC2): New object.
18768 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
18770         * scripts/pylintrc (reports): Set to no.
18772 2015-11-10  Roland McGrath  <roland@hack.frob.com>
18774         * elf/dl-load.c (open_verify): Take new argument FD.
18775         Skip __open call if passed FD is not -1.
18776         (_dl_map_object, open_path): Update callers.
18777         * elf/dl-sysdep-open.h: New file.
18778         * elf/dl-load.c: Include it.
18779         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
18780         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
18781         * sysdeps/nacl/dl-sysdep-open.h: New file.
18782         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
18783         from libc to rtld.
18785 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18787         [BZ #19228]
18788         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
18789         and restore full floating-point state.
18790         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18791         Likewise.
18792         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
18793         Likewise.
18794         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
18795         Likewise.
18796         * math/test-nearbyint-except-2.c: New file.
18797         * math/Makefile (tests): Add test-nearbyint-except-2.
18799 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
18801         [BZ #19178]
18802         * sysdeps/x86/Makefile (tests): Add tst-prelink.
18803         (tst-prelink-ENV): New.
18804         ($(objpfx)tst-prelink-conflict.out): Likewise.
18805         ($(objpfx)tst-prelink-cmp.out): Likewise.
18806         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
18807         * sysdeps/x86/tst-prelink.c: New file.
18808         * sysdeps/x86/tst-prelink.exp: Likewise.
18810 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
18812         * math/auto-libm-test-in: Add another test of pow.
18813         * math/auto-libm-test-out: Regenerated.
18814         * math/libm-test.inc (pow_test_data): Add another test.
18816 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18818         [BZ #19219]
18819         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
18820         weak_alias to nearbyintl.
18822 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18824         * sysdeps/aarch64/bits/string.h: New file.
18825         (_STRING_ARCH_unaligned): Define.
18827 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
18829         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
18830         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18831         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18832         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
18833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
18835 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
18837         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
18838         for original name of the DSO.  Add it to the name list of the DSO
18839         if it is actually given.
18840         (_dl_map_object): Keep track of whether an audit module rewrote
18841         the file name.  If yes, pass the original name to
18842         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
18843         debugging is enabled, log the change of the file name.
18844         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
18845         _dl_map_object_from_fd.
18846         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
18847         * elf/tst-audit11.c: New file
18848         * elf/tst-auditmod11.c: New file.
18849         * elf/tst-audit11mod1.c: New file.
18850         * elf/tst-audit11mod2.c: New file.
18851         * elf/tst-audit11mod2.map: New file.
18852         * elf/tst-audit12.c: New file
18853         * elf/tst-auditmod12.c: New file.
18854         * elf/tst-audit12mod1.c: New file.
18855         * elf/tst-audit12mod2.c: New file.
18856         * elf/tst-audit12mod2.map: New file.
18857         * elf/tst-audit12mod3.c: New file.
18859 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18861         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
18862         Don't create weak aliases,
18863         because versioned symbols are created later.
18864         * sysdeps/s390/s390-32/setjmp.S
18865         (setjmp, _setjmp): Remove weak and rename to an unique name
18866         in SHARED case due to existing versioned symbols.
18867         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18868         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
18869         (getcontext): Create weak alias only in non SHARED case.
18870         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18872 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
18874         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
18875         (__ASSUME_*_SYSCALL) Define new macros.
18876         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
18877         Remove socketcall syscalls.
18878         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
18879         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
18880         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
18881         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
18882         * sysdeps/unix/sysv/linux/send.c (__libc_send):
18883         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
18885 2015-11-09  Florian Weimer  <fweimer@redhat.com>
18887         [BZ #12926]
18888         Terminate process on invalid netlink response.
18889         * sysdeps/unix/sysv/linux/netlinkaccess.h
18890         (__netlink_assert_response): Declare.
18891         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
18892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
18893         (sysdep_routines): Add netlink_assert_response.
18894         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
18895         __netlink_assert_response.
18896         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18897         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18898         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
18899         __netlink_assert_response.
18901 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
18903         [BZ #19178]
18904         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
18905         (RTYPE_CLASS_PLT): Likewise.
18906         (RTYPE_CLASS_COPY): Likewise.
18907         (RTYPE_CLASS_TLS): Likewise.
18908         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
18909         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
18910         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
18911         DL_DEBUG_PRELINK.
18913 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
18915         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
18916         calls with argument -0.5.
18917         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
18919         * configure.ac (libc_cv_z_nodelete): Remove configure test.
18920         (libc_cv_z_nodlopen): Likewise.
18921         (libc_cv_z_initfirst): Likewise.
18922         * configure: Regenerated.
18924 2015-11-06  Florian Weimer  <fweimer@redhat.com>
18926         Simplify abilist format to be line-based.
18927         * scripts/abilist.awk: Collect descriptors in the descs variable.
18928         (emit): Write descs variable and sort it
18929         externally, with sort.
18930         * sysdeps/**/*.abilist: Convert to new format.
18932 2015-11-06  Mark Wielaard  <mjw@redhat.com>
18934         [BZ #11460]
18935         * io/Makefile (routines): Add fts64.
18936         (tests): Add tst-fts and tst-fts-lfs.
18937         (CFLAGS-fts64.c): New.
18938         * io/Versions (GLIBC_2.23): New.
18939         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
18940         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
18941         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
18942         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
18943         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
18944         (FTSENT64): Likewise.
18945         (fts64_children): Likewise.
18946         (fts64_close): Likewise.
18947         (fts64_open): Likewise.
18948         (fts64_read): Likewise.
18949         (fts64_set): Likewise.
18950         * io/fts64.c: New file.
18951         * io/tst-fts.c: New test.
18952         * io/tst-fts-lfs.c: Likewise.
18953         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
18954         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
18955         fts64_set.
18956         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18957         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
18958         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18959         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18960         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18961         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18962         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18963         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18964         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18965         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18966         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18967         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18968         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
18969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18970         Likewise.
18971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18972         Likewise.
18973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18975         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18976         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18977         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18978         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18979         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18982         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18983         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18984         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18985         * sysdeps/wordsize-64/fts.c: New file.
18986         * sysdeps/wordsize-64/fts64.c: Likewise.
18987         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
18988         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
18989         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
18990         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
18992 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
18994         * math/libm-test.inc (NON_FINITE): New macro.
18995         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
18996         * math/gen-libm-test.pl (show_exceptions): Add argument
18997         $non_finite.
18998         (parse_args): Update call to show_exceptions.
18999         * math/test-math-finite.h: New file.
19000         * math/test-math-no-finite.h: Likewise.
19001         * math/test-double-finite.c: Likewise.
19002         * math/test-float-finite.c: Likewise.
19003         * math/test-ldouble-finite.c: Likewise.
19004         * math/test-double.c: Include "test-math-no-finite.h".
19005         * math/test-float.c: Include "test-math-no-finite.h".
19006         * math/test-ldouble.c: Include "test-math-no-finite.h".
19007         * math/test-math-inline.h (TEST_FINITE): New macro.
19008         * math/test-math-vector.h (TEST_FINITE): Likewise.
19009         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19010         (libm-tests): Add test-float-finite and test-double-finite.
19011         ($(objpfx)test-float-finite.o): New dependency on
19012         $(objpfx)libm-test.stmp.
19013         ($(objpfx)test-double-finite.o): Likewise.
19014         ($(objpfx)test-ldouble-finite.o): Likewise.
19015         (libm-test-no-inline-cflags): New variable.
19016         (libm-test-finite-cflags): Likewise.
19017         (CFLAGS-test-float-finite.c): Likewise.
19018         (CFLAGS-test-double-finite.c): Likewise.
19019         (CFLAGS-test-ldouble-finite.c): Likewise.
19020         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19021         (CFLAGS-test-double.c): Likewise.
19022         (CFLAGS-test-ldouble.c): Likewise.
19024 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19026         * io/fcntl.c (__fcntl): Add ... to prototype.
19027         * misc/ioctl.c (__ioctl): Likewise.
19028         * misc/syscall.c (syscall): Likewise.
19030 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19032         * scripts/list-fixed-bugs.py: New file.
19034         [BZ #19213]
19035         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19036         returned for argument 1.
19037         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19038         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19039         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19040         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19041         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19042         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19044         [BZ #19211]
19045         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19046         __USE_XOPEN], not if [!__USE_ISOC99].
19047         (lgammaf): Likewise.
19048         (lgammal): Likewise.
19049         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19050         (gammaf): Likewise.
19051         (gammal): Likewise.
19052         * math/test-signgam-finite-c11.c: New file.
19053         * math/test-signgam-finite-c99.c: Likewise.
19054         * math/test-signgam-finite.c: Likewise.
19055         * math/Makefile (tests): Add test-signgam-finite,
19056         test-signgam-finite-c99 and test-signgam-finite-c11.
19057         (CFLAGS-test-signgam-finite.c): New variable.
19058         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19059         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19061         [BZ #19212]
19062         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19063         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19064         500].
19065         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19066         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19067         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19068         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19069         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19070         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19071         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19072         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19073         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19074         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19076         [BZ #19209]
19077         * math/bits/math-finite.h (ldexp): Remove declaration.
19078         (ldexpf): Likewise.
19079         (ldexpl): Likewise.
19081         [BZ #19205]
19082         * math/bits/math-finite.h (acosf): Condition declaration on
19083         [__USE_ISOC99].
19084         (acosl): Likewise.
19085         (acoshf): Likewise.
19086         (acoshl): Likewise.
19087         (asinf): Likewise.
19088         (asinl): Likewise.
19089         (atan2f): Likewise.
19090         (atan2l): Likewise.
19091         (atanhf): Likewise.
19092         (atanhl): Likewise.
19093         (coshf): Likewise.
19094         (coshl): Likewise.
19095         (expf): Likewise.
19096         (expl): Likewise.
19097         (fmodf): Likewise.
19098         (fmodl): Likewise.
19099         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19100         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19101         (j0l): Likewise.
19102         (y0f): Likewise.
19103         (y0l): Likewise.
19104         (j1f): Likewise.
19105         (j1l): Likewise.
19106         (y1f): Likewise.
19107         (y1l): Likewise.
19108         (jnf): Likewise.
19109         (jnl): Likewise.
19110         (ynf): Likewise.
19111         (ynl): Likewise.
19112         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19113         (lgammal_r): Likewise.
19114         (__lgamma_r_finite): New declaration.
19115         (__lgammaf_r_finite): Likewise.
19116         (__lgammal_r_finite): Likewise.
19117         (lgamma): Use __lgamma_r_finite.
19118         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19119         __lgammaf_r_finite.
19120         (lgammal): Condition definition on [__USE_ISOC99].  Use
19121         __lgammal_r_finite.
19122         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19123         __lgamma_r_finite.
19124         (gammaf): Condition definition on [__USE_ISOC99].  Use
19125         __lgammaf_r_finite.
19126         (gammal): Condition definition on [__USE_ISOC99].  Use
19127         __lgammal_r_finite.
19128         (logf): Condition declaration on [__USE_ISOC99].
19129         (logl): Likewise.
19130         (log10f): Likewise.
19131         (log10l): Likewise.
19132         (ldexpf): Likewise.
19133         (ldexpl): Likewise.
19134         (powf): Likewise.
19135         (powl): Likewise.
19136         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19137         __USE_ISOC99].
19138         (remainderf): Condition declaration on [__USE_ISOC99].
19139         (remainderl): Likewise.
19140         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19141         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19142         (scalbl): Likewise.
19143         (sinhf): Condition declaration on [__USE_ISOC99].
19144         (sinhl): Likewise.
19145         (sqrtf): Likewise.
19146         (sqrtl): Likewise.
19148 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19150         * sysdeps/arm/atomic-machine.h
19151         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19152         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19153         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19154         Remove conditional code.
19155         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19156         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19157         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19158         Change conditional to [__ASSEMBLER__].
19159         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19160         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19161         [!__ASSEMBLER__].
19162         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19163         code.
19164         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19165         conditional macro definitions.
19166         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19167         (__arch_compare_and_exchange_val_16_acq): Likewise.
19168         (__arch_compare_and_exchange_val_32_acq): Likewise.
19169         (atomic_exchange_and_add): Likewise.
19170         (atomic_add): Likewise.
19171         (atomic_add_negative): Likewise.
19172         (atomic_add_zero): Likewise.
19173         (atomic_bit_set): Likewise.
19174         (atomic_bit_test_set): Likewise.
19175         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19176         code unconditional.
19177         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19179         * math/test-math-errno.h: New file.
19180         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19181         empty.
19182         (TEST_ERRNO): New macro.
19183         (TEST_EXCEPTIONS): Likewise.
19184         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19185         (TEST_EXCEPTIONS): Likewise.
19186         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19187         * math/test-double.c: Include "test-math-errno.h".
19188         * math/test-float.c: Likewise.
19189         * math/test-ldouble.c: Likewise.
19190         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19191         code unconditional.
19192         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19193         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19194         unconditional.
19195         (test_errno): Only run code if TEST_ERRNO.
19196         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19198 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19200         * nptl/tst-once5.cc: Remove attribution.
19202 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19204         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19205         sqrt, tan, tanh, y0, y1 and yn.
19206         * math/auto-libm-test-out: Regenerated.
19207         * math/libm-test.inc (scalb_test_data): Add more tests.
19208         (scalbn_test_data): Likewise.
19209         (scalbln_test_data): Likewise.
19210         (signbit_test_data): Likewise.
19211         (sin_test_data): Likewise.
19212         (sincos_test_data): Likewise.
19213         (sinh_test_data): Likewise.
19214         (sqrt_test_data): Likewise.
19215         (tan_test_data): Likewise.
19216         (tanh_test_data): Likewise.
19217         (tgamma_test_data): Likewise.
19218         (y0_test_data): Likewise.
19219         (y1_test_data): Likewise.
19220         (yn_test_data): Likewise.
19221         (significand_test_data): Likewise.
19222         * sysdeps/i386/fpu/libm-test-ulps: Update.
19224 2015-11-03  David Kastrup  <dak@gnu.org>
19226         [BZ #18604]
19227         * assert/assert.h (assert): Don't macro-expand failed assertion
19228         expression in error message.
19229         * malloc/malloc.c (assert): Likewise.
19231 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19233         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19234         test.
19235         * configure: Regenerated.
19237 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19239         * math/libm-test.inc (modf_test_data): Add more tests.
19240         (nearbyint_test_data): Likewise.
19241         (nextafter_test_data): Likewise.
19242         (nexttoward_test_data): Likewise.
19243         (pow_test_data): Likewise.
19244         (remainder_test_data): Likewise.
19245         (remquo_test_data): Likewise.
19246         (rint_test_data): Likewise.
19248         [BZ #19201]
19249         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19250         Check for zero remainder in case of large exponents and ensure
19251         correct sign of result in that case.
19252         * math/libm-test.inc (remainder_test_data): Add more tests.
19254         [BZ #6799]
19255         * math/s_nextafter.c: Include <errno.h>.
19256         (__nextafter): Set errno on overflow and underflow.
19257         * math/s_nexttowardf.c: Include <errno.h>.
19258         (__nexttowardf): Set errno on overflow and underflow.
19259         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19260         (__nextafterl): Set errno on overflow and underflow.
19261         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19262         (__nexttoward): Set errno on overflow and underflow.
19263         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19264         (__nexttowardf): Set errno on overflow and underflow.
19265         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19266         (__nextafterf): Set errno on overflow and underflow.
19267         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19268         (__nextafterl): Set errno on overflow and underflow.
19269         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19270         (__nexttoward): Set errno on overflow and underflow.
19271         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19272         (__nexttowardf): Set errno on overflow and underflow.
19273         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19274         (__nextafterl): Set errno on overflow and underflow.
19275         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19276         (__nexttoward): Set errno on overflow and underflow.
19277         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19278         (__nexttowardf): Set errno on overflow and underflow.
19279         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19280         (__nexttoward): Set errno on overflow and underflow.
19281         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19282         (__nexttowardf): Set errno on overflow and underflow.
19283         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19284         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19285         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19286         (__nextafterl): Set errno on overflow and underflow.
19287         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19288         setting to be missing on overflow.  Add more tests.
19289         (nexttoward_test_data): Likewise.
19291         * configure.ac (libc_cv_initfini_array): Remove configure test.
19292         * configure: Regenerated.
19294 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #19189]
19297         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19298         non-finite argument handle arguments with negative sign.
19300         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19301         result from infinite argument.
19302         (j1_test_data): Likewise.
19303         (jn_test_data): Likewise.
19304         (y0_test_data): Likewise.
19305         (y1_test_data): Likewise.
19306         (yn_test_data): Likewise.
19308         [BZ #16171]
19309         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19310         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19311         * math/w_remainderf.c (dremf): Define as weak alias of
19312         __remainderf.
19313         * math/w_remainderl.c (dreml): Define as weak alias of
19314         __remainderl.
19315         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19316         __remainder.
19317         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19318         __remainderf.
19319         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19320         __remainderl.
19321         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19322         weak alias of remainderl.
19323         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19324         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19325         alias of __remainder.
19326         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19327         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19328         strong alias of __remainderl.
19329         (dreml): Use long_double_symbol.
19330         * math/Makefile (libm-calls): Remove w_drem.
19331         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19332         (CFLAGS-nldbl-drem.c): Remove variable.
19333         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19334         * math/w_drem.c: Remove file.
19335         * math/w_dremf.c: Likewise.
19336         * math/w_dreml.c: Likewise.
19337         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19338         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19339         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19341         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19342         * sysdeps/i386/configure: Regenerated.
19343         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19344         * sysdeps/x86_64/configure: Regenerated.
19346         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19347         test.
19348         (libc_cv_visibility_attribute): Likewise.
19349         (libc_cv_protected_data): Test unconditionally.
19350         (libc_cv_broken_visibility_attribute): Remove configure test.
19351         (libc_cv_have_sdata_section): Test unconditionally.
19352         * configure: Regenerated.
19354         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19355         * include/scratch_buffer.h: Include <stddef.h> instead of
19356         <libc-internal.h>.
19357         (struct scratch_buffer): Use max_align_t instead of
19358         libc_max_align_t.
19360 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19362         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19363         instead of extend_alloca.  Change control flow to avoid a goto.
19364         Remove assert which is trivially always true.
19366 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19368         [BZ #16068]
19369         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19370         (FE_ALL_EXCEPT_X86): New macro.
19371         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19372         FE_ALL_EXCEPT.  Ensure precision control is included in
19373         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19374         handle "denormal operand exception" and clear FZ and DAZ bits.
19375         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19376         (FE_ALL_EXCEPT_X86): New macro.
19377         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19378         FE_ALL_EXCEPT.  Ensure precision control is included in
19379         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19380         handle "denormal operand exception" and clear FZ and DAZ bits.
19381         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19382         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19383         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19384         test-fenv-x87 and test-fenv-sse-2.
19385         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19387         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19388         * math/test-double.h (BUILD_COMPLEX): New macro.
19389         * math/test-float.h (BUILD_COMPLEX): Likewise.
19390         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19392         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19393         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19394         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19396         instead of DBL_DENORM_MIN in comment.
19397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19398         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19399         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19400         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19401         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19402         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19404 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19406         [BZ# 19048]
19407         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19408         attached_threads member.
19409         (main_arena): Initialize attached_threads.
19410         * malloc/arena.c (list_lock): Update comment.
19411         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19412         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19413         (deattach_arena): New function.
19414         (_int_new_arena): Initialize arena reference count and deattach
19415         replaced arena.
19416         (get_free_list, reused_arena): Update reference count and deattach
19417         replaced arena.
19418         (arena_thread_freeres): Update arena reference count and only put
19419         unreferenced arenas on the free list.
19421 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19423         [BZ #19181]
19424         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19425         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19426         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19427         * math/test-fenv-clear-main.c: New file.
19428         * math/test-fenv-clear.c: Likewise.
19429         * math/Makefile (tests): Add test-fenv-clear.
19430         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19431         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19432         test-fenv-clear-sse.
19433         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19435         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19436         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19437         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19439 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19441         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19442         static libc.
19444 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19446         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19447         test.
19448         * sysdeps/i386/configure: Regenerated.
19449         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19450         test.
19451         * sysdeps/x86_64/configure: Regenerated.
19452         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19454         memset-avx2 unconditionally instead of conditionally on
19455         [$(config-cflags-avx2) = yes].
19456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19457         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19458         unconditional.
19459         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19460         * sysdeps/x86_64/multiarch/memset_chk.S
19461         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19462         to [IS_IN (libc) && SHARED].
19464 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19466         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19467         configure test.
19468         * sysdeps/arm/configure: Regenerated.
19469         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19470         Define variable if not already defined.
19472         [BZ #17404]
19473         * sysdeps/mips/atomic-machine.h
19474         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19475         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19476         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19478         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19479         unconditional.
19480         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19481         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19482         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19483         unconditional.
19484         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19485         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19486         unconditional.
19487         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19488         * stdlib/setenv.c
19489         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19490         code unconditional.
19491         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19492         Remove conditional code.
19493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19494         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19495         unconditional.
19496         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19497         code.
19498         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19499         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19500         unconditional.
19501         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19502         code.
19503         * sysdeps/ieee754/ldbl-128/k_tanl.c
19504         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19505         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19506         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19507         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19508         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19509         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19510         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19511         unconditional.
19512         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19513         code.
19514         * sysdeps/ieee754/ldbl-96/k_tanl.c
19515         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19516         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19518         * nptl/tst-initializers1-c11.c: New file.
19519         * nptl/tst-initializers1-gnu11.c: Likewise.
19520         * nptl/Makefile (tests): Add these new tests.
19521         (CFLAGS-tst-initializers1-c11.c): New variable.
19522         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19524         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19525         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19526         instead of -std=gnu99.
19527         * configure.ac (systemtap): Test with -std=gnu11 instead of
19528         -std=gnu99.
19529         * configure: Regenerated.
19530         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19531         in compilation command in comment.
19533         * sysdeps/nptl/configure.ac: Remove file.
19534         * sysdeps/nptl/configure: Remove generated file.
19535         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19536         * configure: Regenerated.
19537         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19538         * config.make.in (have-forced-unwind): Remove variable.
19539         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19540         unconditional.
19541         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19542         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19543         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19544         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19545         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19546         unconditional.
19548 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19550         [BZ #19174]
19551         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19552         .skip_lock_out_of_tbegin_retries.
19553         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19554         (__lll_lock_elision): Likewise, and respect a value of
19555         try_tbegin <= 0.
19557 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19559         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19560         statement.
19562 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19564         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19565         variable.
19566         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19567         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19569         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19570         of -std=c1x -D_ISOC11_SOURCE.
19572         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19573         * configure: Regenerated.
19574         * manual/install.texi (Tools for Compilation): Document
19575         requirement for GCC 4.7 or later.
19576         * INSTALL: Regenerated.
19578 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19580         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19581         on CNT to a conditional jump to 'puntdata'.
19583 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19585         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19586         (libc_cv_gcc_tls_model_attr): Likewise.
19587         * configure: Regenerated.
19589         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19590         * configure: Regenerated.
19591         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19593 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19595         * configure.ac (old_glibc_headers): Remove configure test.
19596         * configure: Regenerated.
19597         * config.make.in (old-glibc-headers): Remove variable.
19598         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19599         (install): Remove dependency on remove-old-headers.
19600         (headers2_0): Remove variable.
19601         (remove-old-headers): Remove rule.
19603         * configure.ac (libc_cv_dot_text): Remove configure test.
19604         (libc_cv_asm_set_directive): Use .text instead of
19605         ${libc_cv_dot_text} in configure test.
19606         * configure: Regenerated.
19608 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19610         [BZ #19168]
19611         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19613 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19615         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19616         not support static linking.
19617         * configure: Regenerate.
19619 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19621         * math/libm-test.inc (check_float_internal): Do not special-case
19622         errors up to 0.5 ulp.
19624         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19625         log2.
19626         * math/auto-libm-test-out: Regenerated.
19627         * math/libm-test.inc (MAX_EXP): New macro.
19628         (ilogb_test_data): Add more tests.
19629         (isfinite_test_data): Likewise.
19630         (isgreater_test_data): Likewise.
19631         (isgreaterequal_test_data): Likewise.
19632         (isinf_test_data): Likewise.
19633         (isless_test_data): Likewise.
19634         (islessequal_test_data): Likewise.
19635         (islessgreater_test_data): Likewise.
19636         (isnan_test_data): Likewise.
19637         (isnormal_test_data): Likewise.
19638         (issignaling_test_data): Likewise.
19639         (isunordered_test_data): Likewise.
19640         (j0_test_data): Likewise.
19641         (j1_test_data): Likewise.
19642         (jn_test_data): Likewise.
19643         (lgamma_test_data): Likewise.
19644         (log_test_data): Likewise.
19645         (log10_test_data): Likewise.
19646         (log1p_test_data): Likewise.
19647         (log2_test_data): Likewise.
19648         (logb_test_data): Likewise.
19649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19651         [BZ #18611]
19652         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19653         avoid excess range and precision on underflow.
19654         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19655         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19656         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19657         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19658         underflow.
19659         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19661         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19662         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19663         * math/auto-libm-test-in: Do not allow missing errno setting for
19664         tests of j1 and jn.
19665         * math/auto-libm-test-out: Regenerated.
19667 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19669         [BZ #15491]
19670         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19671         floating-point environment instead of clearing all exceptions.
19672         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19673         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19674         merging in "invalid" exceptions from frndint.
19675         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19676         * math/test-nearbyint-except.c: New file.
19677         * math/Makefile (tests): Add test-nearbyint-except.
19679 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19681         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19683         * sysdeps/tile/libm-test-ulps: Regenerated.
19685 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19688         (__NR_sync_file_range2): Assume it is always defined.
19689         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19690         (__NR_sync_file_range): Assume it is always defined.
19692 2015-10-22  Andreas Schwab  <schwab@suse.de>
19694         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19695         INTERNAL_SYSCALL_ERRNO.
19696         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19697         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19698         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19699         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19700         Likewise.
19701         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19703 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19705         * io/tst-fcntl.c (fd): New static variable.
19706         (do_prepare): Open temporary file here....
19707         (do_test): ...not here.
19709         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19711 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19713         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19714         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19715         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19716         Moved before "#ifdef __ASSEMBLER__".
19718 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19720         [BZ #19156]
19721         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
19722         arguments very close to 0.
19724 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
19726         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
19727         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
19729 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19731         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19732         New.  Defined for GCC 5 and above when not compiling for
19733         profiling.
19734         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19736         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19737         Renamed to ...
19738         (CFLAGS-epoll_pwait.o): This.
19739         (CFLAGS-mmap.c): Renamed to ...
19740         (CFLAGS-mmap.o): This.
19741         (CFLAGS-mmap64.c): Renamed to ...
19742         (CFLAGS-mmap64.o): This.
19743         (CFLAGS-epoll_pwait.os): New.
19744         (CFLAGS-mmap.os): Likewise.
19745         (CFLAGS-mmap64.os): Likewise.
19746         (CFLAGS-semtimedop.os): Likewise.
19747         (CFLAGS-semtimedop.c): Renamed to ...
19748         (CFLAGS-semtimedop.o): This.
19750 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19752         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
19753         warning message.
19755 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19757         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
19758         * Makefile ($(objpfx)c++-types-check.out): Filter out
19759         $(+gccwarn-c) instead of -Wstrict-prototypes.
19761         * io/fts.c (fts_open): Convert to prototype-style function
19762         definition.
19763         * malloc/mcheck.c (mcheck): Likewise.
19764         (mcheck_pedantic): Likewise.
19765         * posix/regexec.c (re_search_2_stub): Likewise.  Use
19766         internal_function.
19767         (re_search_internal): Likewise.
19768         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
19769         prototype-style function definition.
19770         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
19771         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
19772         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
19773         (xdr_utmpptr): Likewise.
19774         (xdr_utmparr): Likewise.
19775         (xdr_utmpidle): Likewise.
19776         (xdr_utmpidleptr): Likewise.
19777         (xdr_utmpidlearr): Likewise.
19779         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
19780         log, log10 and log2.
19781         * math/auto-libm-test-out: Regenerated.
19782         * math/libm-test.inc (fmod_test_data): Add more tests.
19783         (fpclassify_test_data): Likewise.
19784         (frexp_test_data): Likewise.
19785         (hypot_test_data): Likewise.
19786         (ilogb_test_data): Likewise.
19788 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
19790         * debug/fortify_fail.c (__fortify_fail): Convert to
19791         prototype-style function definition.  Use internal_function.
19792         * libio/genops.c (save_for_backup): Convert to prototype-style
19793         function definition.
19794         * libio/wgenops.c (save_for_wbackup): Likewise.
19795         * login/grantpt.c (grantpt): Likewise.
19796         * login/ptsname.c (ptsname): Likewise.
19797         (__ptsname_r): Likewise.
19798         * login/unlockpt.c (unlockpt): Likewise.
19799         * mach/msgserver.c (__mach_msg_server): Likewise.
19800         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
19801         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
19802         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
19803         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
19804         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
19805         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
19806         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
19807         Likewise.
19808         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
19809         internal_function.
19810         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
19811         prototype-style function definition.
19812         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
19813         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
19814         (__pthread_create_2_0): Likewise.
19815         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
19816         * nptl/register-atfork.c (__register_atfork): Likewise.
19817         * posix/glob.c (glob): Likewise.
19818         * posix/regcomp.c (re_comp): Likewise.
19819         * posix/regexec.c (re_exec): Likewise.
19820         * stdlib/add_n.c [__STDC__]: Make code unconditional.
19821         [!__STDC__]: Remove conditional code.
19822         * stdlib/cmp.c [__STDC__]: Make code unconditional.
19823         [!__STDC__]: Remove conditional code.
19824         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
19825         [!__STDC__]: Remove conditional code.
19826         * stdlib/divrem.c [__STDC__]: Make code unconditional.
19827         [!__STDC__]: Remove conditional code.
19828         * stdlib/lshift.c [__STDC__]: Make code unconditional.
19829         [!__STDC__]: Remove conditional code.
19830         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
19831         [!__STDC__]: Remove conditional code.
19832         * stdlib/mul.c [__STDC__]: Make code unconditional.
19833         [!__STDC__]: Remove conditional code.
19834         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
19835         [!__STDC__]: Remove conditional code.
19836         * stdlib/rshift.c [__STDC__]: Make code unconditional.
19837         [!__STDC__]: Remove conditional code.
19838         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
19839         function definition.
19840         (STRTOF): Likewise.
19841         * stdlib/strtod_l.c (__STRTOF): Likewise.
19842         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
19843         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
19844         (__strtol_l): Likewise.
19845         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
19846         [!__STDC__]: Remove conditional code.
19847         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
19848         definition.
19849         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19850         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19851         type.
19852         (__strcasecmp): Convert to prototype-style function definition.
19853         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
19854         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19855         type.
19856         (__strncasecmp): Convert to prototype-style function definition.
19857         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
19858         * sunrpc/xdr.c (xdr_union): Likewise.
19859         * sunrpc/xdr_array.c (xdr_array): Likewise.
19860         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
19861         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
19862         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
19863         Likewise.
19864         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
19865         Likewise.
19866         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
19867         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19868         Likewise.
19869         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
19870         (LOCALE_PARAM_PROTO): Likewise.
19871         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
19872         argument type.
19873         (ut_argument_spec): Remove macro.
19874         (ut_argument_spec_iso): Rename to ut_argument_spec.
19875         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
19876         prototype-style function definition.
19877         (memcpy_uppcase): Likewise.
19878         (__strftime_internal): Likewise.
19879         (my_strftime): Likewise.
19880         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
19881         (LOCALE_PARAM_DECL): Likewise.
19882         [_LIBC] (LOCALE_PARAM): Include argument type.
19883         (__strptime_internal): Convert to prototype-style function
19884         definition.
19885         (strptime): Likewise.
19886         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
19887         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19888         type.
19889         (__wcscasecmp): Convert to prototype-style function definition.
19890         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
19891         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
19892         type.
19893         (__wcsncasecmp): Convert to prototype-style function definition.
19895         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
19896         function definition.
19897         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
19898         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
19899         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
19900         * elf/dl-minimal.c (_itoa): Likewise.
19901         * hurd/hurdmalloc.c (malloc): Likewise.
19902         (free): Likewise.
19903         (realloc): Likewise.
19904         * inet/inet6_option.c (inet6_option_space): Likewise.
19905         (inet6_option_init): Likewise.
19906         (inet6_option_append): Likewise.
19907         (inet6_option_alloc): Likewise.
19908         (inet6_option_next): Likewise.
19909         (inet6_option_find): Likewise.
19910         * io/ftw.c (FTW_NAME): Likewise.
19911         (NFTW_NAME): Likewise.
19912         (NFTW_NEW_NAME): Likewise.
19913         (NFTW_OLD_NAME): Likewise.
19914         * libio/iofwide.c (_IO_fwide): Likewise.
19915         * libio/strops.c (_IO_str_init_static_internal): Likewise.
19916         (_IO_str_init_static): Likewise.
19917         (_IO_str_init_readonly): Likewise.
19918         (_IO_str_overflow): Likewise.
19919         (_IO_str_underflow): Likewise.
19920         (_IO_str_count): Likewise.
19921         (_IO_str_seekoff): Likewise.
19922         (_IO_str_pbackfail): Likewise.
19923         (_IO_str_finish): Likewise.
19924         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
19925         (_IO_wstr_overflow): Likewise.
19926         (_IO_wstr_underflow): Likewise.
19927         (_IO_wstr_count): Likewise.
19928         (_IO_wstr_seekoff): Likewise.
19929         (_IO_wstr_pbackfail): Likewise.
19930         (_IO_wstr_finish): Likewise.
19931         * locale/programs/localedef.c (normalize_codeset): Likewise.
19932         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
19933         (add_locales_to_archive): Likewise.
19934         (delete_locales_from_archive): Likewise.
19935         * malloc/malloc.c (__libc_mallinfo): Likewise.
19936         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
19937         * misc/tsearch.c (__tfind): Likewise.
19938         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
19939         * nptl/pthread_attr_getdetachstate.c
19940         (__pthread_attr_getdetachstate): Likewise.
19941         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
19942         Likewise.
19943         * nptl/pthread_attr_getinheritsched.c
19944         (__pthread_attr_getinheritsched): Likewise.
19945         * nptl/pthread_attr_getschedparam.c
19946         (__pthread_attr_getschedparam): Likewise.
19947         * nptl/pthread_attr_getschedpolicy.c
19948         (__pthread_attr_getschedpolicy): Likewise.
19949         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
19950         Likewise.
19951         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
19952         Likewise.
19953         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
19954         Likewise.
19955         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
19956         Likewise.
19957         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
19958         (__pthread_attr_init_2_0): Likewise.
19959         * nptl/pthread_attr_setdetachstate.c
19960         (__pthread_attr_setdetachstate): Likewise.
19961         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
19962         Likewise.
19963         * nptl/pthread_attr_setinheritsched.c
19964         (__pthread_attr_setinheritsched): Likewise.
19965         * nptl/pthread_attr_setschedparam.c
19966         (__pthread_attr_setschedparam): Likewise.
19967         * nptl/pthread_attr_setschedpolicy.c
19968         (__pthread_attr_setschedpolicy): Likewise.
19969         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
19970         Likewise.
19971         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
19972         Likewise.
19973         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
19974         Likewise.
19975         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
19976         Likewise.
19977         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
19978         Likewise.
19979         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
19980         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19981         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
19982         use internal_function.
19983         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
19984         prototype-style function definition.
19985         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
19986         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
19987         internal_function.
19988         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
19989         Convert to prototype-style function definition.
19990         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
19991         Likewise.
19992         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
19993         Likewise.
19994         (__pthread_mutex_unlock): Likewise.
19995         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
19996         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
19997         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
19998         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
19999         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20000         * nss/makedb.c (process_input): Likewise.
20001         * posix/fnmatch.c (__strchrnul): Likewise.
20002         (__wcschrnul): Likewise.
20003         (fnmatch): Likewise.
20004         * posix/fnmatch_loop.c (FCT): Likewise.
20005         * posix/glob.c (globfree): Likewise.
20006         (__glob_pattern_type): Likewise.
20007         (__glob_pattern_p): Likewise.
20008         * posix/regcomp.c (re_compile_pattern): Likewise.
20009         (re_set_syntax): Likewise.
20010         (re_compile_fastmap): Likewise.
20011         (regcomp): Likewise.
20012         (regerror): Likewise.
20013         (regfree): Likewise.
20014         * posix/regexec.c (regexec): Likewise.
20015         (re_match): Likewise.
20016         (re_search): Likewise.
20017         (re_match_2): Likewise.
20018         (re_search_2): Likewise.
20019         (re_search_stub): Likewise.  Use internal_function
20020         (re_copy_regs): Likewise.
20021         (re_set_registers): Convert to prototype-style function
20022         definition.
20023         (prune_impossible_nodes): Likewise.  Use internal_function.
20024         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20025         prototype-style function definition.
20026         (inet_net_pton_ipv4): Likewise.
20027         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20028         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20029         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20030         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20031         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20032         Make variadic.
20033         * time/strptime_l.c (localtime_r): Convert to prototype-style
20034         function definition.
20035         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20036         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20037         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20038         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20040         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20041         definition.
20042         (_ufc_doit_r): Likewise.
20043         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20044         (_ufc_output_conversion_r): Likewise.
20045         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20046         * inet/rcmd.c (rcmd_af): Likewise.
20047         (rcmd): Likewise.
20048         (ruserok_af): Likewise.
20049         (ruserok): Likewise.
20050         (ruserok2_sa): Likewise.
20051         (ruserok_sa): Likewise.
20052         (iruserok_af): Likewise.
20053         (iruserok): Likewise.
20054         (__ivaliduser): Likewise.
20055         (__validuser2_sa): Likewise.
20056         * inet/rexec.c (rexec_af): Likewise.
20057         (rexec): Likewise.
20058         * inet/ruserpass.c (ruserpass): Likewise.
20059         * locale/programs/xmalloc.c (xcalloc): Likewise.
20060         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20061         * math/w_drem.c (__drem): Likewise.
20062         * math/w_dremf.c (__dremf): Likewise.
20063         * math/w_dreml.c (__dreml): Likewise.
20064         * misc/daemon.c (daemon): Likewise.
20065         * resolv/res_debug.c (p_fqnname): Likewise.
20066         * stdlib/div.c (div): Likewise.
20067         * string/memcmp.c (memcmp_bytes): Likewise.
20068         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20069         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20071         * crypt/cert.c (main): Convert to prototype-style function
20072         definition.
20073         * io/pipe.c (__pipe): Likewise.
20074         * io/pipe2.c (__pipe2): Likewise.
20075         * misc/futimesat.c (futimesat): Likewise.
20076         * misc/utimes.c (__utimes): Likewise.
20077         * posix/execve.c (__execve): Likewise.
20078         * posix/execvp.c (execvp): Likewise.
20079         * posix/execvpe.c (__execvpe): Likewise.
20080         * posix/fexecve.c (fexecve): Likewise.
20081         * socket/socketpair.c (socketpair): Likewise.
20082         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20083         * stdlib/erand48.c (erand48): Likewise.
20084         * stdlib/erand48_r.c (__erand48_r): Likewise.
20085         * stdlib/jrand48.c (jrand48): Likewise.
20086         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20087         * stdlib/lcong48.c (lcong48): Likewise.
20088         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20089         * stdlib/nrand48.c (nrand48): Likewise.
20090         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20091         * stdlib/seed48.c (seed48): Likewise.
20092         * stdlib/seed48_r.c (__seed48_r): Likewise.
20093         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20094         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20095         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20097 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20099         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20100         * configure: Regenerated.
20101         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20102         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20103         unconditional.
20104         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20105         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20106         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20107         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20108         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20109         unconditional.
20110         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20112         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20113         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20115         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20116         function definition.
20117         * crypt/crypt_util.c (__encrypt_r): Likewise.
20118         * libio/genops.c (_IO_no_init): Likewise.
20119         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20120         (_IO_old_fopencookie): Likewise.
20121         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20122         * libio/iogetline.c (_IO_getline): Likewise.
20123         (_IO_getline_info): Likewise.
20124         * libio/iogetwline.c (_IO_getwline): Likewise.
20125         (_IO_getwline_info): Likewise.
20126         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20127         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20128         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20129         (find_entry): Likewise.
20130         (iterate_table): Likewise.
20131         (lookup): Likewise.
20132         * login/forkpty.c (forkpty): Likewise.
20133         * misc/hsearch_r.c (__hsearch_r): Likewise.
20134         * misc/select.c (__select): Likewise.
20135         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20136         Likewise.
20137         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20138         Likewise.
20139         * nptl/old_pthread_cond_timedwait.c
20140         (__pthread_cond_timedwait_2_0): Likewise.
20141         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20142         * nptl/pthread_barrierattr_getpshared.c
20143         (pthread_barrierattr_getpshared): Likewise.
20144         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20145         Likewise.
20146         * nptl/pthread_mutex_setprioceiling.c
20147         (pthread_mutex_setprioceiling): Likewise.
20148         * nptl/pthread_mutexattr_getprioceiling.c
20149         (pthread_mutexattr_getprioceiling): Likewise.
20150         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20151         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20152         Likewise.
20153         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20154         Likewise.
20155         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20156         Likewise.
20157         * socket/recvfrom.c (__recvfrom): Likewise.
20158         * socket/sendto.c (__sendto): Likewise.
20159         * socket/setsockopt.c (__setsockopt): Likewise.
20160         * stdio-common/_itoa.c (_itoa): Likewise.
20161         * stdio-common/_itowa.c (_itowa): Likewise.
20162         * stdio-common/reg-printf.c (__register_printf_specifier):
20163         Likewise.
20164         (__register_printf_function): Likewise.
20165         * stdio-common/tempname.c (__path_search): Likewise.
20166         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20167         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20168         * stdlib/random_r.c (__initstate_r): Likewise.
20169         * stdlib/setenv.c (__add_to_environ): Likewise.
20170         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20171         * streams/getpmsg.c (getpmsg): Likewise.
20172         * streams/putmsg.c (putmsg): Likewise.
20173         * streams/putpmsg.c (putpmsg): Likewise.
20174         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20175         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20176         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20177         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20178         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20179         * sunrpc/svc_udp.c (cache_get): Likewise.
20180         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20181         * sysdeps/mach/hurd/getcwd.c
20182         (__canonicalize_directory_name_internal): Likewise.
20183         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20184         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20185         * sysdeps/mach/hurd/select.c (__select): Likewise.
20186         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20187         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20188         * sysdeps/sparc/nptl/pthread_barrier_init.c
20189         (__pthread_barrier_init): Likewise.
20190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20191         (__pthread_cond_timedwait): Likewise.
20192         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20193         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20194         Likewise.
20195         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20196         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20197         Likewise.
20198         * sysvipc/semtimedop.c (semtimedop): Likewise.
20199         * time/setitimer.c (__setitimer): Likewise.
20200         * time/strftime_l.c (emacs_strftime): Likewise.
20202 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20204         * config.make.in (have-ssp): Delete.
20205         (stack-protector): New variable.
20206         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20207         cache test for -fstack-protector-strong.  Export stack_protector to
20208         the best ssp flag.
20209         * configure: Regenerated.
20210         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20211         * nscd/Makefile (CFLAGS-nscd): Likewise.
20212         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20214 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20216         [BZ #19122]
20217         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20218         attribute_hidden.
20220 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20222         [BZ #18743]
20223         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20224         code to...
20225         (ELIDE_LOCK): ...here.
20226         (__get_new_count): New function with part of the code from
20227         __elide_lock that updates the value of adapt_count after a
20228         transaction abort.
20229         (__elided_trylock): Moved this code to...
20230         (ELIDE_TRYLOCK): ...here.
20232 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20234         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20235         * configure: Regenerate.
20236         * INSTALL: Regenerate.
20237         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20238         and tweak grammar.
20240 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20242         * login/programs/pt_chown.c: Include signal.h
20243         (main): Clear any signal mask from the parent process.
20245 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20247         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20248         * configure: Regenerated.
20249         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20250         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20251         $(gnu89-inline-CFLAGS).
20253         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20254         test.
20255         (libc_cv_asm_weakext_directive): Likewise.
20256         * configure: Regenerated.
20257         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20258         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20259         * include/libc-symbols.h
20260         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20261         #error.
20262         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20263         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20265         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20266         prototype-style function definition.
20267         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20268         * sysdeps/i386/ffs.c (__ffs): Likewise.
20269         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20270         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20271         Likewise.
20272         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20273         Likewise.
20274         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20276         Likewise.
20277         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20278         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20279         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20280         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20281         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20282         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20283         * sysdeps/mach/hurd/access.c (__access): Likewise.
20284         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20285         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20286         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20287         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20288         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20289         (cthread_getspecific): Likewise.
20290         (cthread_setspecific): Likewise.
20291         (__libc_getspecific): Likewise.
20292         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20293         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20294         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20295         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20296         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20297         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20298         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20299         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20300         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20301         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20302         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20303         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20304         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20305         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20306         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20307         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20308         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20309         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20310         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20311         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20312         * sysdeps/mach/hurd/link.c (__link): Likewise.
20313         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20314         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20315         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20316         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20317         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20318         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20319         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20320         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20321         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20322         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20323         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20324         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20325         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20326         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20327         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20328         * sysdeps/mach/hurd/send.c (__send): Likewise.
20329         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20330         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20331         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20332         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20333         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20334         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20335         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20336         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20337         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20338         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20339         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20340         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20341         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20342         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20343         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20344         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20345         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20346         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20347         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20348         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20349         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20350         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20351         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20352         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20353         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20354         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20355         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20356         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20357         * sysdeps/posix/alarm.c (alarm): Likewise.
20358         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20359         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20360         * sysdeps/posix/dup.c (__dup): Likewise.
20361         * sysdeps/posix/dup2.c (__dup2): Likewise.
20362         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20363         (main): Likewise.
20364         * sysdeps/posix/flock.c (__flock): Likewise.
20365         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20366         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20367         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20368         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20369         * sysdeps/posix/isatty.c (__isatty): Likewise.
20370         * sysdeps/posix/killpg.c (killpg): Likewise.
20371         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20372         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20373         * sysdeps/posix/raise.c (raise): Likewise.
20374         * sysdeps/posix/remove.c (remove): Likewise.
20375         * sysdeps/posix/rename.c (rename): Likewise.
20376         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20377         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20378         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20379         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20380         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20381         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20382         * sysdeps/posix/sigset.c (sigset): Likewise.
20383         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20384         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20385         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20386         * sysdeps/posix/time.c (time): Likewise.
20387         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20388         (ttyname): Likewise.
20389         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20390         * sysdeps/posix/utime.c (utime): Likewise.
20391         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20392         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20393         Likewise.
20394         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20395         (pthread_spin_trylock): Likewise.
20396         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20397         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20398         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20399         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20400         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20401         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20402         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20403         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20404         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20405         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20406         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20407         * sysdeps/s390/ffs.c (__ffs): Likewise.
20408         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20409         Likewise.
20410         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20411         Likewise.
20412         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20413         Likewise.
20414         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20415         (pthread_barrier_destroy): Likewise.
20416         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20417         (__pthread_barrier_wait): Likewise.
20418         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20419         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20420         (__pthread_barrier_wait): Likewise.
20421         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20422         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20423         (memcmp_not_common_alignment): Likewise.
20424         (MEMCMP): Likewise.
20425         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20426         (_wordcopy_fwd_dest_aligned): Likewise.
20427         (_wordcopy_bwd_aligned): Likewise.
20428         (_wordcopy_bwd_dest_aligned): Likewise.
20429         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20430         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20431         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20432         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20433         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20434         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20435         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20436         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20437         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20438         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20439         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20440         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20441         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20442         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20443         * sysdeps/unix/stime.c (stime): Likewise.
20444         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20445         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20446         Likewise.  Use internal_function.
20447         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20448         Convert to prototype-style function definition.
20449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20450         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20452         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20453         Likewise.  Use internal_function.
20454         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20455         prototype-style function definition
20456         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20457         Likewise.
20458         (__getlogin_r): Likewise.
20459         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20461         (__pthread_cond_broadcast): Likewise.
20462         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20463         (__pthread_cond_destroy): Likewise.
20464         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20465         (__pthread_cond_init): Likewise.
20466         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20467         (__pthread_cond_signal): Likewise.
20468         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20469         (__pthread_cond_wait): Likewise.
20470         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20471         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20472         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20473         Likewise.
20474         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20475         Likewise.
20476         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20477         Likewise.
20478         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20479         Likewise.
20480         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20482         (__ftruncate64): Likewise.
20483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20484         (truncate64): Likewise.
20485         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20486         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20487         (pthread_getcpuclockid): Likewise.
20488         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20489         Likewise.
20490         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20491         Likewise.
20492         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20493         Likewise.
20494         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20495         Likewise.
20496         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20497         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20498         (__libc_sigaction): Likewise.
20499         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20500         Likewise.
20501         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20502         (__sigprocmask): Likewise.
20503         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20504         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20505         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20506         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20507         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20508         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20509         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20510         Likewise.
20511         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20512         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20513         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20514         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20515         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20516         Likewise.
20517         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20518         (__sigprocmask): Likewise.
20519         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20520         (cfgetispeed): Likewise.
20521         (cfsetospeed): Likewise.
20522         (cfsetispeed): Likewise.
20523         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20524         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20525         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20526         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20527         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20528         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20529         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20530         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20531         Likewise.
20532         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20533         Likewise.
20534         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20535         Likewise.
20536         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20537         Likewise.
20538         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20540 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20542         sunrpc: Rewrite with explicit TLS access using __thread.
20543         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20544         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20545         directly.
20546         (__rpc_thread_variables): Access thread_rpc_vars directly.
20547         Eliminate redundant assignment of the tvp variable.
20549 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20551         malloc: Rewrite with explicit TLS access using __thread.
20552         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20553         (tsd_setspecific, tsd_getspecific): Remove.
20554         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20555         (tsd_setspecific, tsd_getspecific): Likewise.
20556         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20557         (tsd_setspecific, tsd_getspecific): Likewise.
20558         * malloc/arena.c (thread_arena): New TLS variable.
20559         (arena_key): Remove variable.
20560         (arena_get): Use thread_arena.
20561         (arena_lookup): Remove macro.
20562         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20563         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20564         (_int_new_arena, get_free_list, reused_arena)
20565         (arena_thread_freeres): Use thread_arena.
20566         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20567         tsd_getspecific, tsd_setspecific from safety annotations.
20568         (Allocating Cleared Space): Remove arena_lookup from safety
20569         annotations.
20571 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20573         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20574         struct scratch_buffer instead of extend_alloca.
20576 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20578         * sysdeps/unix/sysv/linux/kernel-features.h
20579         (__ASSUME_SOCK_CLOEXEC): Remove.
20580         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20581         (__have_paccept): Remove unused macro.
20582         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20583         * misc/syslog.c (openlog_internal): Remove fallback code for
20584         !__ASSUME_SOCK_CLOEXEC.
20585         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20586         missing SOCK_CLOEXEC.
20587         * nscd/connections.c (have_sock_cloexec): Remove definition.
20588         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20589         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20590         !__ASSUME_SOCK_CLOEXEC.
20591         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20592         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20593         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20594         definition.
20595         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20596         code for !__ASSUME_SOCK_CLOEXEC.
20598 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20600         [BZ #18982]
20601         * manual/stdio.texi (Variable Arguments Output): Add portability
20602         note, explaining that vfprintf clobbers the va_list pointer.
20604 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20606         * math/libm-test.inc (fabs_test_data): Add more tests.
20607         (fdim_test_data): Likewise.
20608         (fma_test_data): Likewise.
20609         (fmax_test_data): Likewise.
20610         (fmin_test_data): Likewise.
20611         (fmod_test_data): Likewise.
20613 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20615         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20616         data.
20618 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20620         * math/libm-test.inc (ceil_test_data): Add more tests and more
20621         expectations for "inexact".
20622         (floor_test_data): Add more tests.
20623         (round_test_data): Likewise.
20624         (trunc_test_data): Likewise.
20626         * crypt/cert.c (good_bye): Convert to prototype-style function
20627         definition.
20628         (get8): Likewise.
20629         (put8): Likewise.
20630         * crypt/crypt-entry.c (crypt): Likewise.
20631         (__fcrypt): Likewise.
20632         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20633         (_ufc_set_bits): Likewise.
20634         (_ufc_clearmem): Likewise.
20635         (__init_des_r): Likewise.
20636         (shuffle_sb): Likewise.
20637         (shuffle_sb): Likewise.
20638         (_ufc_setup_salt_r): Likewise.
20639         (_ufc_mk_keytab_r): Likewise.
20640         (_ufc_dofinalperm_r): Likewise.
20641         (encrypt): Likewise.
20642         (__setkey_r): Likewise.
20643         (setkey): Likewise.
20644         * crypt/md5.c (md5_init_ctx): Likewise.
20645         (md5_read_ctx): Likewise.
20646         (md5_finish_ctx): Likewise.
20647         (md5_stream): Likewise.
20648         (md5_buffer): Likewise.
20649         (md5_process_bytes): Likewise.
20650         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20651         (__sha256_finish_ctx): Likewise.
20652         (__sha256_process_bytes): Likewise.
20653         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20654         (__sha512_finish_ctx): Likewise.
20655         (__sha512_process_bytes): Likewise.
20656         * ctype/isctype.c (__isctype): Likewise.
20657         * debug/backtrace.c (__backtrace): Likewise.
20658         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20659         * debug/fgets_chk.c (__fgets_chk): Likewise.
20660         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20661         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20662         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20663         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20664         * debug/memset_chk.c (__memset_chk): Likewise.
20665         * debug/strcat_chk.c (__strcat_chk): Likewise.
20666         * debug/strncat_chk.c (__strncat_chk): Likewise.
20667         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20668         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20669         * dirent/dirfd.c (dirfd): Likewise.
20670         * dirent/getdents.c (__getdirentries): Likewise.
20671         * dirent/getdents64.c (getdirentries64): Likewise.
20672         * dirent/rewinddir.c (__rewinddir): Likewise.
20673         * dirent/seekdir.c (seekdir): Likewise.
20674         * dirent/telldir.c (telldir): Likewise.
20675         * elf/sln.c (makesymlinks): Likewise.
20676         (makesymlink): Likewise.
20677         * gmon/gmon.c (__moncontrol): Likewise.
20678         (__monstartup): Likewise.
20679         (write_hist): Likewise.
20680         (write_call_graph): Likewise.
20681         (write_bb_counts): Likewise.
20682         * grp/setgroups.c (setgroups): Likewise.
20683         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20684         * inet/inet_net.c (inet_network): Likewise.
20685         * inet/inet_netof.c (inet_netof): Likewise.
20686         * inet/rcmd.c (rresvport_af): Likewise.
20687         (rresvport): Likewise.
20688         * io/access.c (__access): Likewise.
20689         * io/chdir.c (__chdir): Likewise.
20690         * io/chmod.c (__chmod): Likewise.
20691         * io/chown.c (__chown): Likewise.
20692         * io/close.c (__close): Likewise.
20693         * io/creat.c (creat): Likewise.
20694         * io/creat64.c (creat64): Likewise.
20695         * io/dup.c (__dup): Likewise.
20696         * io/dup2.c (__dup2): Likewise.
20697         * io/dup3.c (__dup3): Likewise.
20698         * io/euidaccess.c (__euidaccess): Likewise.
20699         * io/faccessat.c (faccessat): Likewise.
20700         * io/fchmod.c (__fchmod): Likewise.
20701         * io/fchmodat.c (fchmodat): Likewise.
20702         * io/fchown.c (__fchown): Likewise.
20703         * io/fchownat.c (fchownat): Likewise.
20704         * io/fcntl.c (__fcntl): Likewise.
20705         * io/flock.c (__flock): Likewise.
20706         * io/fts.c (fts_load): Likewise.
20707         (fts_close): Likewise.
20708         (fts_read): Likewise.
20709         (fts_set): Likewise.
20710         (fts_children): Likewise.
20711         (fts_build): Likewise.
20712         (fts_stat): Likewise.
20713         (fts_sort): Likewise.
20714         (fts_alloc): Likewise.
20715         (fts_lfree): Likewise.
20716         (fts_palloc): Likewise.
20717         (fts_padjust): Likewise.
20718         (fts_maxarglen): Likewise.
20719         (fts_safe_changedir): Likewise.
20720         * io/getwd.c (getwd): Likewise.
20721         * io/isatty.c (__isatty): Likewise.
20722         * io/lchown.c (__lchown): Likewise.
20723         * io/link.c (__link): Likewise.
20724         * io/linkat.c (linkat): Likewise.
20725         * io/lseek.c (__libc_lseek): Likewise.
20726         * io/mkdir.c (__mkdir): Likewise.
20727         * io/mkdirat.c (mkdirat): Likewise.
20728         * io/mkfifo.c (mkfifo): Likewise.
20729         * io/mkfifoat.c (mkfifoat): Likewise.
20730         * io/open.c (__libc_open): Likewise.
20731         * io/open64.c (__libc_open64): Likewise.
20732         * io/readlink.c (__readlink): Likewise.
20733         * io/readlinkat.c (readlinkat): Likewise.
20734         * io/rmdir.c (__rmdir): Likewise.
20735         * io/symlink.c (__symlink): Likewise.
20736         * io/symlinkat.c (symlinkat): Likewise.
20737         * io/ttyname.c (ttyname): Likewise.
20738         * io/ttyname_r.c (__ttyname_r): Likewise.
20739         * io/umask.c (__umask): Likewise.
20740         * io/unlink.c (__unlink): Likewise.
20741         * io/unlinkat.c (unlinkat): Likewise.
20742         * io/utime.c (utime): Likewise.
20743         * libio/clearerr.c (clearerr): Likewise.
20744         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
20745         * libio/feof.c (_IO_feof): Likewise.
20746         * libio/feof_u.c (feof_unlocked): Likewise.
20747         * libio/ferror.c (_IO_ferror): Likewise.
20748         * libio/ferror_u.c (ferror_unlocked): Likewise.
20749         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20750         * libio/fileno.c (__fileno): Likewise.
20751         * libio/fputc.c (fputc): Likewise.
20752         * libio/fputc_u.c (fputc_unlocked): Likewise.
20753         * libio/fputwc.c (fputwc): Likewise.
20754         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
20755         * libio/freopen.c (freopen): Likewise.
20756         * libio/freopen64.c (freopen64): Likewise.
20757         * libio/fseek.c (fseek): Likewise.
20758         * libio/fseeko.c (fseeko): Likewise.
20759         * libio/fseeko64.c (fseeko64): Likewise.
20760         * libio/ftello.c (__ftello): Likewise.
20761         * libio/ftello64.c (ftello64): Likewise.
20762         * libio/fwide.c (fwide): Likewise.
20763         * libio/genops.c (_IO_un_link): Likewise.
20764         (_IO_link_in): Likewise.
20765         (_IO_least_marker): Likewise.
20766         (_IO_switch_to_main_get_area): Likewise.
20767         (_IO_switch_to_backup_area): Likewise.
20768         (_IO_switch_to_get_mode): Likewise.
20769         (_IO_free_backup_area): Likewise.
20770         (_IO_switch_to_put_mode): Likewise.
20771         (__overflow): Likewise.
20772         (__underflow): Likewise.
20773         (__uflow): Likewise.
20774         (_IO_setb): Likewise.
20775         (_IO_doallocbuf): Likewise.
20776         (_IO_default_underflow): Likewise.
20777         (_IO_default_uflow): Likewise.
20778         (_IO_default_xsputn): Likewise.
20779         (_IO_sgetn): Likewise.
20780         (_IO_default_xsgetn): Likewise.
20781         (_IO_sync): Likewise.
20782         (_IO_default_setbuf): Likewise.
20783         (_IO_default_seekpos): Likewise.
20784         (_IO_default_doallocate): Likewise.
20785         (_IO_init): Likewise.
20786         (_IO_old_init): Likewise.
20787         (_IO_default_sync): Likewise.
20788         (_IO_default_finish): Likewise.
20789         (_IO_default_seekoff): Likewise.
20790         (_IO_sputbackc): Likewise.
20791         (_IO_sungetc): Likewise.
20792         (_IO_set_column): Likewise.
20793         (_IO_set_column): Likewise.
20794         (_IO_adjust_column): Likewise.
20795         (_IO_get_column): Likewise.
20796         (_IO_init_marker): Likewise.
20797         (_IO_remove_marker): Likewise.
20798         (_IO_marker_difference): Likewise.
20799         (_IO_marker_delta): Likewise.
20800         (_IO_seekmark): Likewise.
20801         (_IO_unsave_markers): Likewise.
20802         (_IO_nobackup_pbackfail): Likewise.
20803         (_IO_default_pbackfail): Likewise.
20804         (_IO_default_seek): Likewise.
20805         (_IO_default_stat): Likewise.
20806         (_IO_default_read): Likewise.
20807         (_IO_default_write): Likewise.
20808         (_IO_default_showmanyc): Likewise.
20809         (_IO_default_imbue): Likewise.
20810         (_IO_iter_next): Likewise.
20811         (_IO_iter_file): Likewise.
20812         * libio/getc.c (_IO_getc): Likewise.
20813         * libio/getwc.c (_IO_getwc): Likewise.
20814         * libio/iofclose.c (_IO_new_fclose): Likewise.
20815         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20816         * libio/iofflush.c (_IO_fflush): Likewise.
20817         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
20818         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
20819         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
20820         * libio/iofgets.c (_IO_fgets): Likewise.
20821         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
20822         * libio/iofgetws.c (fgetws): Likewise.
20823         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20824         * libio/iofopen64.c (_IO_fopen64): Likewise.
20825         * libio/iofopncook.c (_IO_cookie_read): Likewise.
20826         (_IO_cookie_write): Likewise.
20827         (_IO_cookie_seek): Likewise.
20828         (_IO_cookie_close): Likewise.
20829         (_IO_cookie_seekoff): Likewise.
20830         (_IO_old_cookie_seek): Likewise.
20831         * libio/iofputs.c (_IO_fputs): Likewise.
20832         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
20833         * libio/iofputws.c (fputws): Likewise.
20834         * libio/iofputws_u.c (fputws_unlocked): Likewise.
20835         * libio/iofread.c (_IO_fread): Likewise.
20836         * libio/iofread_u.c (__fread_unlocked): Likewise.
20837         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
20838         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
20839         * libio/ioftell.c (_IO_ftell): Likewise.
20840         * libio/iofwrite.c (_IO_fwrite): Likewise.
20841         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20842         * libio/iogets.c (_IO_gets): Likewise.
20843         * libio/iopadn.c (_IO_padn): Likewise.
20844         * libio/iopopen.c (_IO_new_proc_open): Likewise.
20845         (_IO_new_popen): Likewise.
20846         (_IO_new_proc_close): Likewise.
20847         * libio/ioputs.c (_IO_puts): Likewise.
20848         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
20849         (_IO_seekoff): Likewise.
20850         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
20851         (_IO_seekpos): Likewise.
20852         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
20853         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
20854         * libio/ioungetc.c (_IO_ungetc): Likewise.
20855         * libio/ioungetwc.c (ungetwc): Likewise.
20856         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20857         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
20858         * libio/iowpadn.c (_IO_wpadn): Likewise.
20859         * libio/libc_fatal.c (__libc_fatal): Likewise.
20860         * libio/memstream.c (__open_memstream): Likewise.
20861         (_IO_mem_sync): Likewise.
20862         (_IO_mem_finish): Likewise.
20863         * libio/oldfileops.c (_IO_old_file_init): Likewise.
20864         (_IO_old_file_close_it): Likewise.
20865         (_IO_old_file_finish): Likewise.
20866         (_IO_old_file_fopen): Likewise.
20867         (_IO_old_file_attach): Likewise.
20868         (_IO_old_file_setbuf): Likewise.
20869         (_IO_old_do_write): Likewise.
20870         (old_do_write): Likewise.
20871         (_IO_old_file_underflow): Likewise.
20872         (_IO_old_file_overflow): Likewise.
20873         (_IO_old_file_sync): Likewise.
20874         (_IO_old_file_seekoff): Likewise.
20875         (_IO_old_file_write): Likewise.
20876         (_IO_old_file_xsputn): Likewise.
20877         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
20878         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20879         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
20880         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
20881         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20882         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
20883         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
20884         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
20885         (_IO_old_popen): Likewise.
20886         (_IO_old_proc_close): Likewise.
20887         * libio/oldpclose.c (__old_pclose): Likewise.
20888         * libio/pclose.c (__new_pclose): Likewise.
20889         * libio/peekc.c (_IO_peekc_locked): Likewise.
20890         * libio/putc.c (_IO_putc): Likewise.
20891         * libio/putc_u.c (putc_unlocked): Likewise.
20892         * libio/putchar.c (putchar): Likewise.
20893         * libio/putchar_u.c (putchar_unlocked): Likewise.
20894         * libio/putwc.c (putwc): Likewise.
20895         * libio/putwc_u.c (putwc_unlocked): Likewise.
20896         * libio/putwchar.c (putwchar): Likewise.
20897         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
20898         * libio/rewind.c (rewind): Likewise.
20899         * libio/setbuf.c (setbuf): Likewise.
20900         * libio/setlinebuf.c (setlinebuf): Likewise.
20901         * libio/vasprintf.c (_IO_vasprintf): Likewise.
20902         * libio/vscanf.c (_IO_vscanf): Likewise.
20903         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
20904         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
20905         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20906         * libio/wgenops.c (_IO_least_wmarker): Likewise.
20907         (_IO_switch_to_main_wget_area): Likewise.
20908         (_IO_switch_to_wbackup_area): Likewise.
20909         (_IO_wsetb): Likewise.
20910         (_IO_wdefault_pbackfail): Likewise.
20911         (_IO_wdefault_finish): Likewise.
20912         (_IO_wdefault_uflow): Likewise.
20913         (__woverflow): Likewise.
20914         (__wuflow): Likewise.
20915         (__wunderflow): Likewise.
20916         (_IO_wdefault_xsputn): Likewise.
20917         (_IO_wdefault_xsgetn): Likewise.
20918         (_IO_wdoallocbuf): Likewise.
20919         (_IO_wdefault_doallocate): Likewise.
20920         (_IO_switch_to_wget_mode): Likewise.
20921         (_IO_free_wbackup_area): Likewise.
20922         (_IO_switch_to_wput_mode): Likewise.
20923         (_IO_sputbackwc): Likewise.
20924         (_IO_sungetwc): Likewise.
20925         (_IO_adjust_wcolumn): Likewise.
20926         (_IO_init_wmarker): Likewise.
20927         (_IO_wmarker_delta): Likewise.
20928         (_IO_seekwmark): Likewise.
20929         (_IO_unsave_wmarkers): Likewise.
20930         * libio/wmemstream.c (open_wmemstream): Likewise.
20931         (_IO_wmem_sync): Likewise.
20932         (_IO_wmem_finish): Likewise.
20933         * locale/nl_langinfo.c (nl_langinfo): Likewise.
20934         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
20935         * locale/programs/simple-hash.c (init_hash): Likewise.
20936         (delete_hash): Likewise.
20937         (insert_entry): Likewise.
20938         (set_entry): Likewise.
20939         (next_prime): Likewise.
20940         (is_prime): Likewise.
20941         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
20942         (xmalloc): Likewise.
20943         (xrealloc): Likewise.
20944         * locale/programs/xstrdup.c (xstrdup): Likewise.
20945         * localedata/collate-test.c (xstrcoll): Likewise.
20946         * localedata/xfrm-test.c (xstrcmp): Likewise.
20947         * login/getlogin_r.c (__getlogin_r): Likewise.
20948         * login/getpt.c (__posix_openpt): Likewise.
20949         * login/login_tty.c (login_tty): Likewise.
20950         * login/setlogin.c (setlogin): Likewise.
20951         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
20952         (mach_msg_destroy_port): Likewise.
20953         (mach_msg_destroy_memory): Likewise.
20954         * malloc/mcheck.c (flood): Likewise.
20955         * misc/acct.c (acct): Likewise.
20956         * misc/brk.c (__brk): Likewise.
20957         * misc/chflags.c (chflags): Likewise.
20958         * misc/chroot.c (chroot): Likewise.
20959         * misc/fchflags.c (fchflags): Likewise.
20960         * misc/fstab.c (getfsspec): Likewise.
20961         (getfsfile): Likewise.
20962         * misc/fsync.c (fsync): Likewise.
20963         * misc/ftruncate.c (__ftruncate): Likewise.
20964         * misc/ftruncate64.c (__ftruncate64): Likewise.
20965         * misc/getdomain.c (getdomainname): Likewise.
20966         (getdomainname): Likewise.
20967         * misc/gethostname.c (__gethostname): Likewise.
20968         * misc/getpass.c (getpass): Likewise.
20969         * misc/getttyent.c (skip): Likewise.
20970         (value): Likewise.
20971         * misc/gtty.c (gtty): Likewise.
20972         * misc/hsearch.c (hsearch): Likewise.
20973         (hcreate): Likewise.
20974         * misc/hsearch_r.c (__hcreate_r): Likewise.
20975         (__hdestroy_r): Likewise.
20976         * misc/ioctl.c (__ioctl): Likewise.
20977         * misc/mkdtemp.c (mkdtemp): Likewise.
20978         * misc/mkostemp.c (mkostemp): Likewise.
20979         * misc/mkostemp64.c (mkostemp64): Likewise.
20980         * misc/mkostemps.c (mkostemps): Likewise.
20981         * misc/mkostemps64.c (mkostemps64): Likewise.
20982         * misc/mkstemp.c (mkstemp): Likewise.
20983         * misc/mkstemp64.c (mkstemp64): Likewise.
20984         * misc/mkstemps.c (mkstemps): Likewise.
20985         * misc/mkstemps64.c (mkstemps64): Likewise.
20986         * misc/mktemp.c (__mktemp): Likewise.
20987         * misc/preadv.c (preadv): Likewise.
20988         * misc/preadv64.c (preadv64): Likewise.
20989         * misc/pwritev.c (pwritev): Likewise.
20990         * misc/pwritev64.c (pwritev64): Likewise.
20991         * misc/readv.c (__readv): Likewise.
20992         * misc/revoke.c (revoke): Likewise.
20993         * misc/setdomain.c (setdomainname): Likewise.
20994         * misc/setegid.c (setegid): Likewise.
20995         * misc/seteuid.c (seteuid): Likewise.
20996         * misc/sethostid.c (sethostid): Likewise.
20997         * misc/sethostname.c (sethostname): Likewise.
20998         * misc/setregid.c (__setregid): Likewise.
20999         * misc/setreuid.c (__setreuid): Likewise.
21000         * misc/sstk.c (sstk): Likewise.
21001         * misc/stty.c (stty): Likewise.
21002         * misc/syscall.c (syscall): Likewise.
21003         * misc/syslog.c (setlogmask): Likewise.
21004         * misc/truncate.c (__truncate): Likewise.
21005         * misc/truncate64.c (truncate64): Likewise.
21006         * misc/ualarm.c (ualarm): Likewise.
21007         * misc/usleep.c (usleep): Likewise.
21008         * misc/ustat.c (ustat): Likewise.
21009         * misc/writev.c (__writev): Likewise.
21010         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21011         * nptl/old_pthread_cond_broadcast.c
21012         (__pthread_cond_broadcast_2_0): Likewise.
21013         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21014         Likewise.
21015         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21016         Likewise.
21017         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21018         Likewise.
21019         * nptl/pt-raise.c (raise): Likewise.
21020         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21021         Likewise.
21022         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21023         * nptl/pthread_barrierattr_destroy.c
21024         (pthread_barrierattr_destroy): Likewise.
21025         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21026         Likewise.
21027         * nptl/pthread_barrierattr_setpshared.c
21028         (pthread_barrierattr_setpshared): Likewise.
21029         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21030         Likewise.
21031         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21032         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21033         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21034         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21035         Likewise.
21036         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21037         Likewise.
21038         * nptl/pthread_condattr_getpshared.c
21039         (pthread_condattr_getpshared): Likewise.
21040         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21041         Likewise.
21042         * nptl/pthread_condattr_setpshared.c
21043         (pthread_condattr_setpshared): Likewise.
21044         * nptl/pthread_detach.c (pthread_detach): Likewise.
21045         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21046         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21047         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21048         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21049         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21050         Likewise.
21051         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21052         Likewise.
21053         * nptl/pthread_mutex_getprioceiling.c
21054         (pthread_mutex_getprioceiling): Likewise.
21055         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21056         Likewise.
21057         * nptl/pthread_mutexattr_getprotocol.c
21058         (pthread_mutexattr_getprotocol): Likewise.
21059         * nptl/pthread_mutexattr_getpshared.c
21060         (pthread_mutexattr_getpshared): Likewise.
21061         * nptl/pthread_mutexattr_getrobust.c
21062         (pthread_mutexattr_getrobust): Likewise.
21063         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21064         Likewise.
21065         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21066         Likewise.
21067         * nptl/pthread_mutexattr_setprioceiling.c
21068         (pthread_mutexattr_setprioceiling): Likewise.
21069         * nptl/pthread_mutexattr_setprotocol.c
21070         (pthread_mutexattr_setprotocol): Likewise.
21071         * nptl/pthread_mutexattr_setpshared.c
21072         (pthread_mutexattr_setpshared): Likewise.
21073         * nptl/pthread_mutexattr_setrobust.c
21074         (pthread_mutexattr_setrobust): Likewise.
21075         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21076         Likewise.
21077         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21078         Likewise.
21079         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21080         Likewise.
21081         * nptl/pthread_rwlockattr_getkind_np.c
21082         (pthread_rwlockattr_getkind_np): Likewise.
21083         * nptl/pthread_rwlockattr_getpshared.c
21084         (pthread_rwlockattr_getpshared): Likewise.
21085         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21086         Likewise.
21087         * nptl/pthread_rwlockattr_setkind_np.c
21088         (pthread_rwlockattr_setkind_np): Likewise.
21089         * nptl/pthread_rwlockattr_setpshared.c
21090         (pthread_rwlockattr_setpshared): Likewise.
21091         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21092         Likewise.
21093         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21094         Likewise.
21095         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21096         Likewise.
21097         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21098         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21099         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21100         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21101         * nptl/sem_close.c (sem_close): Likewise.
21102         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21103         * nptl/sem_init.c (__old_sem_init): Likewise.
21104         * nptl/sigaction.c (__sigaction): Likewise.
21105         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21106         * posix/_exit.c (_exit): Likewise.
21107         * posix/alarm.c (alarm): Likewise.
21108         * posix/confstr.c (confstr): Likewise.
21109         * posix/fpathconf.c (__fpathconf): Likewise.
21110         * posix/getgroups.c (__getgroups): Likewise.
21111         * posix/getpgid.c (__getpgid): Likewise.
21112         * posix/group_member.c (__group_member): Likewise.
21113         * posix/pathconf.c (__pathconf): Likewise.
21114         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21115         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21116         * posix/setgid.c (__setgid): Likewise.
21117         * posix/setpgid.c (__setpgid): Likewise.
21118         * posix/setuid.c (__setuid): Likewise.
21119         * posix/sleep.c (__sleep): Likewise.
21120         * posix/sysconf.c (__sysconf): Likewise.
21121         * posix/times.c (__times): Likewise.
21122         * posix/uname.c (__uname): Likewise.
21123         * posix/waitid.c (__waitid): Likewise.
21124         * pwd/getpw.c (__getpw): Likewise.
21125         * resolv/base64.c (b64_pton): Likewise.
21126         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21127         * resolv/gethnamaddr.c (Dprintf): Likewise.
21128         (gethostbyname): Likewise.
21129         (gethostbyname2): Likewise.
21130         (gethostbyaddr): Likewise.
21131         (_sethtent): Likewise.
21132         (_gethtbyname): Likewise.
21133         (_gethtbyname2): Likewise.
21134         (_gethtbyaddr): Likewise.
21135         (map_v4v6_address): Likewise.
21136         (map_v4v6_hostent): Likewise.
21137         (addrsort): Likewise.
21138         (ht_sethostent): Likewise.
21139         (ht_gethostbyname): Likewise.
21140         (ht_gethostbyaddr): Likewise.
21141         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21142         (inet_net_ntop_ipv4): Likewise.
21143         * resolv/inet_neta.c (inet_neta): Likewise.
21144         * resolv/inet_ntop.c (inet_ntop): Likewise.
21145         (inet_ntop4): Likewise.
21146         (inet_ntop6): Likewise.
21147         * resolv/inet_pton.c (__inet_pton): Likewise.
21148         (inet_pton4): Likewise.
21149         (inet_pton6): Likewise.
21150         * resolv/res_debug.c (loc_aton): Likewise.
21151         (loc_ntoa): Likewise.
21152         * resource/getpriority.c (__getpriority): Likewise.
21153         * resource/getrusage.c (__getrusage): Likewise.
21154         * resource/nice.c (nice): Likewise.
21155         * resource/setpriority.c (__setpriority): Likewise.
21156         * resource/setrlimit64.c (setrlimit64): Likewise.
21157         * resource/vlimit.c (vlimit): Likewise.
21158         * resource/vtimes.c (vtimes): Likewise.
21159         * rt/aio_error.c (aio_error): Likewise.
21160         * rt/aio_return.c (aio_return): Likewise.
21161         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21162         * signal/kill.c (__kill): Likewise.
21163         * signal/killpg.c (killpg): Likewise.
21164         * signal/raise.c (raise): Likewise.
21165         * signal/sigaction.c (__sigaction): Likewise.
21166         * signal/sigaddset.c (sigaddset): Likewise.
21167         * signal/sigaltstack.c (sigaltstack): Likewise.
21168         * signal/sigandset.c (sigandset): Likewise.
21169         * signal/sigblock.c (__sigblock): Likewise.
21170         * signal/sigdelset.c (sigdelset): Likewise.
21171         * signal/sigempty.c (sigemptyset): Likewise.
21172         * signal/sigfillset.c (sigfillset): Likewise.
21173         * signal/sighold.c (sighold): Likewise.
21174         * signal/sigignore.c (sigignore): Likewise.
21175         * signal/sigintr.c (siginterrupt): Likewise.
21176         * signal/sigisempty.c (sigisemptyset): Likewise.
21177         * signal/sigismem.c (sigismember): Likewise.
21178         * signal/signal.c (signal): Likewise.
21179         * signal/sigorset.c (sigorset): Likewise.
21180         * signal/sigpause.c (__sigpause): Likewise.
21181         * signal/sigpending.c (sigpending): Likewise.
21182         * signal/sigprocmask.c (__sigprocmask): Likewise.
21183         * signal/sigrelse.c (sigrelse): Likewise.
21184         * signal/sigreturn.c (__sigreturn): Likewise.
21185         * signal/sigset.c (sigset): Likewise.
21186         * signal/sigsetmask.c (__sigsetmask): Likewise.
21187         * signal/sigstack.c (sigstack): Likewise.
21188         * signal/sigsuspend.c (__sigsuspend): Likewise.
21189         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21190         * signal/sysv_signal.c (__sysv_signal): Likewise.
21191         * socket/accept.c (accept): Likewise.
21192         * socket/accept4.c (__libc_accept4): Likewise.
21193         * socket/bind.c (__bind): Likewise.
21194         * socket/connect.c (__connect): Likewise.
21195         * socket/getpeername.c (getpeername): Likewise.
21196         * socket/getsockname.c (__getsockname): Likewise.
21197         * socket/getsockopt.c (getsockopt): Likewise.
21198         * socket/listen.c (__listen): Likewise.
21199         * socket/recv.c (__recv): Likewise.
21200         * socket/recvmsg.c (__recvmsg): Likewise.
21201         * socket/send.c (__send): Likewise.
21202         * socket/sendmsg.c (__sendmsg): Likewise.
21203         * socket/shutdown.c (shutdown): Likewise.
21204         * socket/sockatmark.c (sockatmark): Likewise.
21205         * socket/socket.c (__socket): Likewise.
21206         * stdio-common/ctermid.c (ctermid): Likewise.
21207         * stdio-common/cuserid.c (cuserid): Likewise.
21208         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21209         * stdio-common/remove.c (remove): Likewise.
21210         * stdio-common/rename.c (rename): Likewise.
21211         * stdio-common/renameat.c (renameat): Likewise.
21212         * stdio-common/tempname.c (__gen_tempname): Likewise.
21213         * stdio-common/xbug.c (InitBuffer): Likewise.
21214         (AppendToBuffer): Likewise.
21215         (ReadFile): Likewise.
21216         * stdlib/a64l.c (a64l): Likewise.
21217         * stdlib/drand48_r.c (drand48_r): Likewise.
21218         * stdlib/getcontext.c (getcontext): Likewise.
21219         * stdlib/getenv.c (getenv): Likewise.
21220         * stdlib/l64a.c (l64a): Likewise.
21221         * stdlib/llabs.c (llabs): Likewise.
21222         * stdlib/lldiv.c (lldiv): Likewise.
21223         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21224         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21225         * stdlib/putenv.c (putenv): Likewise.
21226         * stdlib/random.c (__srandom): Likewise.
21227         (__initstate): Likewise.
21228         (__setstate): Likewise.
21229         * stdlib/random_r.c (__srandom_r): Likewise.
21230         (__setstate_r): Likewise.
21231         (__random_r): Likewise.
21232         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21233         * stdlib/setcontext.c (setcontext): Likewise.
21234         * stdlib/setenv.c (setenv): Likewise.
21235         (unsetenv): Likewise.
21236         * stdlib/srand48.c (srand48): Likewise.
21237         * stdlib/srand48_r.c (__srand48_r): Likewise.
21238         * stdlib/swapcontext.c (swapcontext): Likewise.
21239         * stdlib/system.c (__libc_system): Likewise.
21240         * stdlib/tst-strtod.c (expand): Likewise.
21241         * stdlib/tst-strtol.c (expand): Likewise.
21242         * stdlib/tst-strtoll.c (expand): Likewise.
21243         * streams/fattach.c (fattach): Likewise.
21244         * streams/fdetach.c (fdetach): Likewise.
21245         * streams/getmsg.c (getmsg): Likewise.
21246         * streams/isastream.c (isastream): Likewise.
21247         * string/ffs.c (__ffs): Likewise.
21248         * string/ffsll.c (ffsll): Likewise.
21249         * string/memcmp.c (memcmp_common_alignment): Likewise.
21250         (memcmp_not_common_alignment): Likewise.
21251         (MEMCMP): Likewise.
21252         * string/memcpy.c (memcpy): Likewise.
21253         * string/memmove.c (MEMMOVE): Likewise.
21254         * string/memset.c (memset): Likewise.
21255         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21256         * string/strchrnul.c (STRCHRNUL): Likewise.
21257         * string/strerror.c (strerror): Likewise.
21258         * string/strndup.c (__strndup): Likewise.
21259         * string/strverscmp.c (__strverscmp): Likewise.
21260         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21261         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21262         (clnttcp_freeres): Likewise.
21263         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21264         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21265         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21266         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21267         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21268         (xdr_callhdr): Likewise.
21269         * sunrpc/rpcinfo.c (udpping): Likewise.
21270         (tcpping): Likewise.
21271         (pstatus): Likewise.
21272         (pmapdump): Likewise.
21273         (brdcst): Likewise.
21274         (deletereg): Likewise.
21275         (getprognum): Likewise.
21276         (getvers): Likewise.
21277         (get_inet_address): Likewise.
21278         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21279         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21280         (svcudp_stat): Likewise.
21281         (svcudp_recv): Likewise.
21282         (svcudp_reply): Likewise.
21283         (svcudp_getargs): Likewise.
21284         (svcudp_freeargs): Likewise.
21285         (svcudp_destroy): Likewise.
21286         * sunrpc/xdr.c (xdr_bytes): Likewise.
21287         (xdr_netobj): Likewise.
21288         (xdr_string): Likewise.
21289         (xdr_wrapstring): Likewise.
21290         * sunrpc/xdr_float.c (xdr_float): Likewise.
21291         (xdr_double): Likewise.
21292         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21293         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21294         * sysvipc/ftok.c (ftok): Likewise.
21295         * sysvipc/msgctl.c (msgctl): Likewise.
21296         * sysvipc/msgget.c (msgget): Likewise.
21297         * sysvipc/msgrcv.c (msgrcv): Likewise.
21298         * sysvipc/msgsnd.c (msgsnd): Likewise.
21299         * sysvipc/semget.c (semget): Likewise.
21300         * sysvipc/semop.c (semop): Likewise.
21301         * sysvipc/shmat.c (shmat): Likewise.
21302         * sysvipc/shmctl.c (shmctl): Likewise.
21303         * sysvipc/shmdt.c (shmdt): Likewise.
21304         * sysvipc/shmget.c (shmget): Likewise.
21305         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21306         * termios/speed.c (cfgetospeed): Likewise.
21307         (cfgetispeed): Likewise.
21308         (cfsetospeed): Likewise.
21309         (cfsetispeed): Likewise.
21310         * termios/tcflow.c (tcflow): Likewise.
21311         * termios/tcflush.c (tcflush): Likewise.
21312         * termios/tcgetattr.c (__tcgetattr): Likewise.
21313         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21314         * termios/tcgetsid.c (tcgetsid): Likewise.
21315         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21316         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21317         * time/adjtime.c (__adjtime): Likewise.
21318         * time/dysize.c (dysize): Likewise.
21319         * time/ftime.c (ftime): Likewise.
21320         * time/getitimer.c (__getitimer): Likewise.
21321         * time/gettimeofday.c (__gettimeofday): Likewise.
21322         * time/gmtime.c (__gmtime_r): Likewise.
21323         (gmtime): Likewise.
21324         * time/localtime.c (__localtime_r): Likewise.
21325         (localtime): Likewise.
21326         * time/offtime.c (__offtime): Likewise.
21327         * time/settimeofday.c (__settimeofday): Likewise.
21328         * time/stime.c (stime): Likewise.
21329         * time/strftime_l.c (tm_diff): Likewise.
21330         (iso_week_days): Likewise.
21331         * time/strptime.c (strptime): Likewise.
21332         * time/time.c (time): Likewise.
21333         * time/timespec_get.c (timespec_get): Likewise.
21334         * time/tzset.c (tzset_internal): Likewise.
21335         (compute_change): Likewise.
21336         (__tz_compute): Likewise.
21337         * wcsmbs/btowc.c (__btowc): Likewise.
21338         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21339         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21340         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21341         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21342         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21343         * wcsmbs/wcscat.c (__wcscat): Likewise.
21344         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21345         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21346         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21347         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21348         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21349         * wcsmbs/wcslen.c (__wcslen): Likewise.
21350         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21351         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21352         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21353         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21354         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21355         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21356         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21357         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21358         * wcsmbs/wcstok.c (wcstok): Likewise.
21359         * wcsmbs/wctob.c (wctob): Likewise.
21360         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21361         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21362         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21363         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21364         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21365         * wcsmbs/wmemset.c (__wmemset): Likewise.
21366         * wctype/wcfuncs.c (__towlower): Likewise.
21367         (__towupper): Likewise.
21369         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21370         (lll_unlock_elision): Add adapt_count parameter.
21372 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21374         * sysdeps/nptl/configure.ac: Do not give errors based on the
21375         results of top-level configure tests.
21376         * sysdeps/nptl/configure: Regenerated.
21378         * configure.ac (libc_cv_Bgroup): Remove configure test.
21379         * configure: Regenerated.
21380         * config.make.in (have-Bgroup): Remove variable.
21382         * configure.ac (sizeof_long_double): Remove configure test.
21383         * configure: Regenerated.
21384         * config.make.in (sizeof-long-double): Remove variable.
21386         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21387         * configure: Regenerated.
21388         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21389         variable.
21390         (exceptions): Likewise.
21391         * sysdeps/arm/configure: Regenerated.
21392         * config.make.in (exceptions): Remove variable.
21393         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21394         $(exceptions).
21395         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21396         (CFLAGS-vdprintf_chk.c): Likewise.
21397         (CFLAGS-printf_chk.c): Likewise.
21398         (CFLAGS-fprintf_chk.c): Likewise.
21399         (CFLAGS-vprintf_chk.c): Likewise.
21400         (CFLAGS-vfprintf_chk.c): Likewise.
21401         (CFLAGS-gets_chk.c): Likewise.
21402         (CFLAGS-fgets_chk.c): Likewise.
21403         (CFLAGS-fgets_u_chk.c): Likewise.
21404         (CFLAGS-fread_chk.c): Likewise.
21405         (CFLAGS-fread_u_chk.c): Likewise.
21406         (CFLAGS-wprintf_chk.c): Likewise.
21407         (CFLAGS-fwprintf_chk.c): Likewise.
21408         (CFLAGS-vwprintf_chk.c): Likewise.
21409         (CFLAGS-vfwprintf_chk.c): Likewise.
21410         (CFLAGS-fgetws_chk.c): Likewise.
21411         (CFLAGS-fgetws_u_chk.c): Likewise.
21412         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21413         (CFLAGS-fputc.c): Likewise.
21414         (CFLAGS-fputwc.c): Likewise.
21415         (CFLAGS-freopen64.c): Likewise.
21416         (CFLAGS-freopen.c): Likewise.
21417         (CFLAGS-fseek.c): Likewise.
21418         (CFLAGS-fseeko64.c): Likewise.
21419         (CFLAGS-fseeko.c): Likewise.
21420         (CFLAGS-ftello64.c): Likewise.
21421         (CFLAGS-ftello.c): Likewise.
21422         (CFLAGS-fwide.c): Likewise.
21423         (CFLAGS-genops.c): Likewise.
21424         (CFLAGS-getc.c): Likewise.
21425         (CFLAGS-getchar.c): Likewise.
21426         (CFLAGS-getwc.c): Likewise.
21427         (CFLAGS-getwchar.c): Likewise.
21428         (CFLAGS-iofclose.c): Likewise.
21429         (CFLAGS-iofflush.c): Likewise.
21430         (CFLAGS-iofgetpos64.c): Likewise.
21431         (CFLAGS-iofgetpos.c): Likewise.
21432         (CFLAGS-iofgets.c): Likewise.
21433         (CFLAGS-iofgetws.c): Likewise.
21434         (CFLAGS-iofputs.c): Likewise.
21435         (CFLAGS-iofputws.c): Likewise.
21436         (CFLAGS-iofread.c): Likewise.
21437         (CFLAGS-iofsetpos64.c): Likewise.
21438         (CFLAGS-iofsetpos.c): Likewise.
21439         (CFLAGS-ioftell.c): Likewise.
21440         (CFLAGS-iofwrite.c): Likewise.
21441         (CFLAGS-iogetdelim.c): Likewise.
21442         (CFLAGS-iogetline.c): Likewise.
21443         (CFLAGS-iogets.c): Likewise.
21444         (CFLAGS-iogetwline.c): Likewise.
21445         (CFLAGS-ioputs.c): Likewise.
21446         (CFLAGS-ioseekoff.c): Likewise.
21447         (CFLAGS-ioseekpos.c): Likewise.
21448         (CFLAGS-iosetbuffer.c): Likewise.
21449         (CFLAGS-iosetvbuf.c): Likewise.
21450         (CFLAGS-ioungetc.c): Likewise.
21451         (CFLAGS-ioungetwc.c): Likewise.
21452         (CFLAGS-oldfileops.c): Likewise.
21453         (CFLAGS-oldiofclose.c): Likewise.
21454         (CFLAGS-oldiofgetpos64.c): Likewise.
21455         (CFLAGS-oldiofgetpos.c): Likewise.
21456         (CFLAGS-oldiofsetpos64.c): Likewise.
21457         (CFLAGS-oldiofsetpos.c): Likewise.
21458         (CFLAGS-peekc.c): Likewise.
21459         (CFLAGS-putc.c): Likewise.
21460         (CFLAGS-putchar.c): Likewise.
21461         (CFLAGS-putwc.c): Likewise.
21462         (CFLAGS-putwchar.c): Likewise.
21463         (CFLAGS-rewind.c): Likewise.
21464         (CFLAGS-wfileops.c): Likewise.
21465         (CFLAGS-wgenops.c): Likewise.
21466         (CFLAGS-oldiofopen.c): Likewise.
21467         (CFLAGS-iofopen.c): Likewise.
21468         (CFLAGS-iofopen64.c): Likewise.
21469         (CFLAGS-oldtmpfile.c): Likewise.
21470         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21471         (CFLAGS-fprintf.c): Likewise.
21472         (CFLAGS-printf.c): Likewise.
21473         (CFLAGS-vfwprintf.c): Likewise.
21474         (CFLAGS-vfscanf.c): Likewise.
21475         (CFLAGS-vfwscanf.c): Likewise.
21476         (CFLAGS-fscanf.c): Likewise.
21477         (CFLAGS-scanf.c): Likewise.
21478         (CFLAGS-isoc99_vfscanf.c): Likewise.
21479         (CFLAGS-isoc99_vscanf.c): Likewise.
21480         (CFLAGS-isoc99_fscanf.c): Likewise.
21481         (CFLAGS-isoc99_scanf.c): Likewise.
21482         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21483         (CFLAGS-isoc99_fwscanf.c): Likewise.
21484         (CFLAGS-isoc99_vwscanf.c): Likewise.
21485         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21487         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21488         after mkstemp64.
21489         * login/tst-utmp.c (do_prepare): Likewise.
21490         * rt/tst-aio.c (do_prepare): Likewise.
21491         * rt/tst-aio64.c (do_prepare): Likewise.
21493 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21495         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21496         (__lll_lock_elision): Remove adapt_count decrement...
21497         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21498         (__lll_trylock_elision): Likewise.
21499         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21500         (__lll_unlock_elision): ... to here. And utilize
21501         new adapt_count parameter.
21502         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21503         (__lll_unlock_elision): Update to include adapt_count
21504         parameter.
21505         (lll_unlock_elision): Pass pointer to adapt_count
21506         variable.
21508 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21510         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21511         Add elision adapt_count parameter to list of arguments.
21512         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21513         (lll_unlock_elision): Update with new parameter list
21514         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21515         (lll_unlock_elision): Likewise.
21516         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21517         (lll_unlock_elision): Likewise.
21519 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21521         [BZ #19122]
21522         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21523         attribute_hidden.
21525         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21526         attribute_hidden.
21527         [IS_IN (rtld)] (__strdup): Likewise.
21528         [IS_IN (rtld)] (__strerror_r): Likewise.
21529         [IS_IN (rtld)] (__strsep_g): Likewise.
21530         [IS_IN (rtld)] (memchr): Likewise.
21531         [IS_IN (rtld)] (memcmp): Likewise.
21532         [IS_IN (rtld)] (memcpy): Likewise.
21533         [IS_IN (rtld)] (memmove): Likewise.
21534         [IS_IN (rtld)] (memset): Likewise.
21535         [IS_IN (rtld)] (rawmemchr): Likewise.
21536         [IS_IN (rtld)] (stpcpy): Likewise.
21537         [IS_IN (rtld)] (strchr): Likewise.
21538         [IS_IN (rtld)] (strcmp): Likewise.
21539         [IS_IN (rtld)] (strlen): Likewise.
21540         [IS_IN (rtld)] (strnlen): Likewise.
21541         [IS_IN (rtld)] (strsep): Likewise.
21543         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21544         attribute_hidden.
21545         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21547         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21548         attribute_hidden.
21549         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21551         * include/setjmp.h (__longjmp): Add attribute_hidden.
21552         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21554         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21555         Add attribute_hidden.
21557         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21558         [IS_IN (rtld)] (__open): Likewise.
21559         [IS_IN (rtld)] (__fcntl): Likewise.
21561         * include/dirent.h (__opendirat): Add attribute_hidden.
21562         (__getdents): Likewise.
21563         (__getdents64): Likewise.
21564         (__alloc_dir): Likewise.
21565         [IS_IN (rtld)] (__closedir): Likewise.
21566         [IS_IN (rtld)] (__fdopendir): Likewise.
21567         [IS_IN (rtld)] (__readdir): Likewise.
21568         [IS_IN (rtld)] (__readdir64): Likewise.
21569         [IS_IN (rtld)] (__rewinddir): Likewise.
21571         * include/dlfcn.h (_dl_catch_error): Moved to ...
21572         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21573         attribute_hidden.
21575         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21576         (_itoa_word): Likewise.
21578         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21579         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21580         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21581         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21582         (_dl_higher_prime_number): Likewise.
21583         (_dl_debug_printf_c): Likewise.
21584         (_dl_signal_cerror): Likewise.
21585         (_dl_receive_error): Likewise.
21586         (_dl_reloc_bad_type): Likewise.
21587         (_dl_resolve_conflicts): Likewise.
21588         (_dl_check_all_versions): Likewise.
21589         (_dl_check_map_versions): Likewise.
21590         (_dl_sort_fini): Likewise.
21591         (_dl_debug_initialize): Likewise.
21592         (_dl_init_paths): Likewise.
21593         (_dl_show_auxv): Likewise.
21594         (_dl_next_ld_env_entry): Likewise.
21595         (_dl_important_hwcaps): Likewise.
21596         (_dl_load_cache_lookup): Likewise.
21597         (_dl_update_slotinfo): Likewise.
21598         (_dl_show_scope): Likewise.
21600         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21601         attribute_hidden.
21602         (_wordcopy_fwd_dest_aligned): Likewise.
21603         (_wordcopy_bwd_aligned): Likewise.
21604         (_wordcopy_bwd_dest_aligned): Likewise.
21606         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21607         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21608         Likewise.
21609         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21610         Likewise.
21611         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21613 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21616         GCC 5 requirement.
21618 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21620         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21621         test.
21622         * sysdeps/i386/configure: Regenerated.
21623         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21624         code unconditional.
21626         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21627         test.
21628         (libc_cv_asm_popsection_directive): Likewise.
21629         * configure: Regenerated.
21630         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21631         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21632         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21633         (__make_section_unallocated): Make definition unconditional.
21634         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21635         Remove conditional definition.
21636         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21637         (__make_section_unallocated): Likewise.
21639         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21640         * configure: Regenerated.
21641         * config.make.in (static-libgcc): Remove variable.
21642         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21643         $(static-libgcc).
21644         (build-module-helper): Likewise.
21646         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21647         * configure: Regenerated.
21649 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21651         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21652         (struct char_buffer): New type.
21653         (char_buffer_start, char_buffer_size, char_buffer_error)
21654         (char_buffer_rewind, char_buffer_add): New functions.
21655         (ADDW): Remove macro, replaced by the char_buffer_add function.
21656         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21657         of extend_alloca.  Make control flow more explicit.
21659 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21661         [BZ #19137]
21662         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21663         Add -fomit-frame-pointer.
21664         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21666 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21668         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21669         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21671         only if !__GNUC_PREREQ (5,0).
21672         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21673         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21674         (INTERNAL_SYSCALL_NCS): Likewise.
21675         (LOADREGS_0): New macro for GCC 5.
21676         (ASMARGS_0): Likewise.
21677         (LOADREGS_1): Likewise.
21678         (ASMARGS_1): Likewise.
21679         (LOADREGS_2): Likewise.
21680         (ASMARGS_2): Likewise.
21681         (LOADREGS_3): Likewise.
21682         (ASMARGS_3): Likewise.
21683         (LOADREGS_4): Likewise.
21684         (ASMARGS_4): Likewise.
21685         (LOADREGS_5): Likewise.
21686         (ASMARGS_5): Likewise.
21687         (LOADREGS_6): Likewise.
21688         (ASMARGS_6): Likewise.
21690 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21692         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21693         -fomit-frame-pointer.
21694         (CFLAGS-mmap64.c): Likewise.
21695         (CFLAGS-semtimedop.c): Likewise.
21696         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21697         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21698         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21699         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21701 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21703         [BZ #18928]
21704         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21705         _dl_pointer_guard member.
21706         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21707         initializer.
21708         (security_init): Always set up pointer guard.
21709         (process_envvars): Do not process LD_POINTER_GUARD.
21711 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21713         [BZ #19134]
21714         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21715         (.LC2): Likewise.
21716         (.LC3): Likewise.
21717         (__lround): Do not add 0.5 to integer or out-of-range arguments.
21719 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21721         [BZ #19129]
21722         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
21723         r0 and r1.
21725 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
21727         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
21729 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
21731         * include/stap-probe.h: Fix macro definition formatting.
21733 2015-10-14  Florian Weimer  <fweimer@redhat.com>
21735         [BZ #19074]
21736         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
21737         load and store num_ifs.
21739 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21741         [BZ #18822]
21742         * sysdeps/unix/sysv/linux/sched_getaffinity.c
21743         (__sched_getaffinity_new): Add libc_hidden_proto and
21744         libc_hidden_def.
21746 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21748         [BZ #19007]
21749         * scripts/localplt.awk: Also allow GOT references.
21750         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
21751         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
21752         with "+ REL R_386_GLOB_DAT".
21753         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
21754         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
21756 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
21758         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
21759         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21760         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
21761         Likewise.
21762         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21763         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
21764         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21765         INTERNAL_SYSCALLINTERNAL_SYSCALL and
21766         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21767         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21768         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21769         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21770         Likewise.
21771         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21773 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21775         [BZ #19125]
21776         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
21777         <math_private.h> and <stdint.h>.
21778         (__llround): Avoid conversions to and from long long int, and
21779         subtractions, where those might raise spurious exceptions.
21780         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
21781         <math_private.h> and <stdint.h>.
21782         (__llroundf): Avoid conversions to and from long long int, and
21783         subtractions, where those might raise spurious exceptions.
21785 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21787         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
21788         INLINE_SYSCALL_ERROR_RETURN_VALUE.
21789         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21790         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
21791         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21792         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21793         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
21794         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
21795         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
21796         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21797         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21798         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21799         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
21800         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21801         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21802         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
21803         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
21804         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21805         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
21806         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
21807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21808         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
21809         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
21810         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21811         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
21812         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
21813         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
21814         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21815         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21816         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
21817         (__xstat64_conv): Likewise.
21818         (__xstat32_conv): Likewise.
21820 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21822         * sysdeps/unix/sysv/linux/sysdep.h: New file.
21823         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
21824         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
21825         <sysdeps/unix/sysv/linux/sysdep.h>.
21826         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
21827         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
21828         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
21829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21830         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
21831         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
21832         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
21833         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
21834         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21837         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21838         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21839         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21840         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
21841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21842         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
21843         (sysdep-dl-routines): Add sysdep.
21844         [$(subdir) == nptl] (libpthread-routines): Likewise.
21845         [$(subdir) == rt] (librt-routines): Likewise.
21846         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
21847         PIC when branching to SYSCALL_ERROR_LABEL.
21848         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
21849         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
21850         <sysdeps/unix/sysv/linux/sysdep.h>.
21851         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
21852         (SYSCALL_ERROR_ERRNO): Removed.
21853         (SYSCALL_ERROR_HANDLER): Changed to empty.
21854         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
21855         (__syscall_error): New prototype.
21856         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
21857         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
21859 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
21861         [BZ #19124]
21862         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
21863         (_dl_runtime_resolve_avx512): Make it a hidden alias of
21864         _dl_runtime_resolve_avx.
21865         (_dl_runtime_profile_avx512): Make it a hidden alias of
21866         _dl_runtime_profile_avx.
21868 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
21870         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
21871         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
21872         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
21873         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
21875         [BZ #16422]
21876         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
21877         New configure test.
21878         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
21879         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
21880         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
21881         <math_private.h> and <stdint.h>.
21882         (__llrint): Avoid conversions to long long int where those might
21883         raise spurious exceptions.
21884         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
21885         <math_private.h> and <stdint.h>.
21886         (__llrintf): Avoid conversions to long long int where those might
21887         raise spurious exceptions.
21889 2015-10-12  Andreas Schwab  <schwab@suse.de>
21891         [BZ #18969]
21892         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
21893         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
21894         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
21895         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
21896         $(gen-locales).
21897         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
21898         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
21899         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
21900         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
21901         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
21902         $(gen-locales).
21903         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
21904         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
21905         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
21906         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
21907         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
21908         ($(objpfx)tst-ftell-active-handler.out)
21909         ($(objpfx)tst-ftell-append.out)
21910         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
21911         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
21912         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
21913         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
21914         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
21915         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
21916         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
21917         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
21918         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
21919         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
21920         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
21921         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
21922         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
21923         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
21924         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
21925         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
21926         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
21927         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
21928         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
21929         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
21930         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
21931         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
21932         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
21933         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
21934         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
21935         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
21936         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
21937         $(gen-locales).
21938         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
21939         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
21940         $(gen-locales).
21941         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
21942         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
21943         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
21944         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
21945         $(gen-locales).
21946         * libio/tst_wprintf2.c (main): Use explicit locale.
21947         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
21949 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21951         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
21952         __msg_sig_post.
21953         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
21955 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
21957         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21958         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21960         * sysdeps/arm/libm-test-ulps: Regenerated.
21962         [BZ #15470]
21963         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
21965         [BZ #16399]
21966         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
21967         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
21968         and <fix-fp-int-convert-overflow.h>.
21969         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21970         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21971         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
21972         and <fix-fp-int-convert-overflow.h>.
21973         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
21974         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21975         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
21976         <fix-fp-int-convert-overflow.h>.
21977         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
21978         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21979         * sysdeps/ieee754/dbl-64/s_lround.c: Include
21980         <fix-fp-int-convert-overflow.h>.
21981         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
21982         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21983         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
21984         and <fix-fp-int-convert-overflow.h>.
21985         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21986         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21987         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
21988         <limits.h> and <fix-fp-int-convert-overflow.h>.
21989         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21990         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21991         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
21992         and <fix-fp-int-convert-overflow.h>.
21993         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
21994         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21995         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
21996         and <fix-fp-int-convert-overflow.h>.
21997         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
21998         FIX_DBL_LLONG_CONVERT_OVERFLOW.
21999         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22001 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22003         [BZ #18589]
22004         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22005         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22006         $(gen-locales).
22008 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22009             Phil Blundell <pb@pbcl.net>
22011         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22012         * nptl/tst-cancel26.c: New file.
22013         * nptl/tst-cancel27.c: Likewise.
22015 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22017         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22018         __ILP32__ isn't defined.
22019         (lrint): Likewise.
22020         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22021         (lrintf): Likewise.
22022         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22023         (lrintl): Likewise.
22024         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22025         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22026         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22028 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22030         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22031         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22033         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22034         file.
22035         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22036         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22038 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22040         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22041         configure test.
22042         * sysdeps/i386/configure: Regenerated.
22043         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22044         configure test.
22045         * sysdeps/x86_64/configure: Regenerated.
22046         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22047         Make code unconditional.
22049         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22050         test.
22051         * sysdeps/i386/configure: Regenerated.
22052         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22053         test.
22054         * sysdeps/x86_64/configure: Regenerated.
22055         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22056         Make code unconditional.
22057         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22058         Likewise.
22059         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22060         Likewise.
22061         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22062         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22063         code unconditional.
22064         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22065         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22066         code unconditional.
22067         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22068         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22069         code unconditional.
22070         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22071         code unconditional.
22072         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22073         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22074         code unconditional.
22075         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22076         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22077         code unconditional.
22078         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22079         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22080         code unconditional.
22081         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22082         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22083         code unconditional.
22084         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22085         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22087         [BZ #19095]
22088         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22089         mantissa to long int before shifting left.
22091 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22093         [BZ #19094]
22094         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22095         <limits.h>.
22096         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22097         when result overflows but exception would not result from cast.
22098         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22099         <limits.h>.
22100         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22101         when result overflows but exception would not result from cast.
22102         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22103         <limits.h>.
22104         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22105         when result overflows but exception would not result from cast.
22106         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22107         <limits.h>.
22108         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22109         when result overflows but exception would not result from cast.
22110         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22111         <limits.h>.
22112         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22113         when result overflows but exception would not result from cast.
22114         * math/libm-test.inc (lrint_test_data): Add more tests.
22115         (llrint_test_data): Likewise.
22117 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22119         [BZ #18872]
22120         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22121         Move out from under [$(run-built-tests) = yes] conditional.
22122         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22123         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22125 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22127         [BZ #18589]
22128         * string/Makefile (tests): Add bug-strcoll2.
22129         (LOCALES): Add cs_CZ.UTF-8.
22130         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22132         [BZ #18589]
22133         * string/bug-strcoll2.c: New file.
22134         * locale/categories.def: Revert commit
22135         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22136         * locale/langinfo.h: Likewise.
22137         * locale/localeinfo.h: Likewise.
22138         * locale/C-collate.c: Likewise.
22139         * locale/programs/ld-collate.c (collate_output): Likewise.
22140         * string/strcoll_l.c (STRDIFF): Likewise.
22141         (STRCOLL): Likewise.
22142         * wcsmbs/wcscoll_l.c: Likewise.
22144 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22146         * math/libm-test.inc (lround_test_data): Do not expect the absence
22147         of "inexact" for some tests with non-integer arguments.
22148         (llround_test_data): Likewise.
22150         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22151         test.
22152         (libc_cv_cc_sse2avx): Likewise.
22153         * sysdeps/i386/configure: Regenerated.
22154         * sysdeps/i386/i686/multiarch/Makefile
22155         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22156         [$(subdir) = math].
22157         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22158         code unconditional.
22159         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22160         Likewise.
22161         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22162         Likewise.
22163         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22164         Likewise.
22165         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22166         test.
22167         (libc_cv_cc_sse2avx): Likewise.
22168         * sysdeps/x86_64/configure: Regenerated.
22169         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22170         unconditional.
22171         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22172         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22173         unconditional.
22174         (_dl_runtime_profile)
22175         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22176         conditional code.
22177         * sysdeps/x86_64/fpu/multiarch/Makefile
22178         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22180         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22181         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22182         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22183         * sysdeps/x86_64/fpu/multiarch/e_log.c
22184         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22185         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22186         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22187         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22188         Likewise.
22189         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22190         Likewise.
22191         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22192         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22193         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22194         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22195         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22196         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22197         (HAVE_SSE2AVX_SUPPORT): Likewise.
22199 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22201         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22202         instead of #pragma optimize.
22204 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22206         [BZ #17195]
22207         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22208         as is similarly done in systrim and _int_free already.
22210 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22212         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22214 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22216         [BZ #19088]
22217         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22218         <limits.h>.
22219         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22220         overflows but exception would not result from cast.
22221         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22222         and <limits.h>.
22223         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22224         overflows but exception would not result from cast.
22225         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22226         <limits.h>.
22227         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22228         overflows but exception would not result from cast.
22229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22230         <limits.h>.
22231         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22232         overflows but exception would not result from cast.
22233         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22234         <limits.h>.
22235         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22236         overflows but exception would not result from cast.
22237         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22238         <limits.h>.
22239         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22240         overflows but exception would not result from cast.
22241         * math/libm-test.inc (lround_test_data): Add more tests.
22242         (llround_test_data): Likewise.
22244 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22246         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22247         (CFLAGS-ialloc.c): Ditto.
22248         (CFLAGS-scheck.c): Ditto.
22250 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22252         [BZ #19086]
22253         * manual/filesys.texi (Storage Allocation): Fix argument order for
22254         posix_fallocate64.
22256 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22258         [BZ #19085]
22259         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22260         exponent below 48 inside case for non-overflowing exponent.
22261         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22263 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22265         * iconvdata/cp737.h (from_idx): Add const.
22266         * iconvdata/cp775.h (from_idx): Likewise.
22268 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22270         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22271         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22272         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22274         [BZ #19079]
22275         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22276         file, conditioned on [!_LP64].
22277         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22278         [!_LP64] (__lround): Do not define as function or alias.
22279         [!_LP64] (lround): Likewise.
22280         [!_LP64] (__lroundl): Likewise.
22281         [!_LP64] (lroundl): Likewise.
22282         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22283         macro.
22284         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22285         Likewise.
22287 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22289         * math/libm-test.inc (lrint_test_data): Add more tests.
22290         (llrint_test_data): Likewise.
22291         (lround_test_data): Likewise.
22292         (llround_test_data): Likewise.
22294         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22295         (llrint_test_data): Add tests used for lrint.
22297         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22298         test.
22299         * sysdeps/i386/configure: Regenerated.
22300         * sysdeps/i386/i686/multiarch/Makefile
22301         [$(config-cflags-sse4) = yes]: Make code unconditional.
22302         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22303         Likewise.
22304         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22305         Likewise.
22306         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22307         test.
22308         * sysdeps/x86_64/configure: Regenerated.
22309         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22310         Make code unconditional.
22311         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22312         Likewise.
22313         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22314         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22316         * scripts/rpm2dynsym.sh: Remove file.
22318 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22320         * configure.ac (libc_cv_cxx_thread_local): Define.
22321         * configure: Regenerate.
22322         * config.make.in (have-cxx-thread_local): Define.
22323         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22324         (LDLIBS-tst-thread_local1): Define.
22325         (tests): Add tst-thread_local1.
22326         [have-cxx-thread_local != yes] (tests-unsupported): Add
22327         tst-thread_local1.
22328         * nptl/tst-thread_local1.cc: New file.
22330 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22332         [BZ #19078]
22333         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22334         (u_thres): Likewise.
22335         (__expl): Determine whether to call __kernel_standard_l based on
22336         value of result, not argument.
22338         * math/libm-test.inc (scalb_test_data): Add more expectations for
22339         the "inexact" exception.
22341         [BZ #19077]
22342         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22343         0.0L for argument 1.0L.
22345         [BZ #19076]
22346         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22347         constant 0.0L when computing infinite result.
22349 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22351         [BZ #10432]
22352         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22353         malloc_usable_size.
22355 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22357         [BZ #19018]
22358         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22359         Mangle function pointer before storing it.
22360         (__call_tls_dtors): Demangle function pointer before calling it.
22362 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22364         [BZ #19012]
22365         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22366         Clean up on failure.
22368 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22370         [BZ #19071]
22371         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22372         long int variable to store possibly incremented high part of
22373         mantissa.
22374         * math/libm-test.inc (lround_test_data): Add tests used for
22375         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22376         for tests requiring 64-bit long.  Do not condition tests on
22377         [TEST_FLOAT] unnecessarily.
22378         (llround_test_data): Add tests used for lround.  Add another
22379         expectation for the "inexact" exception.  Do not condition tests
22380         on [TEST_FLOAT] unnecessarily.
22382         [BZ #887]
22383         [BZ #19049]
22384         [BZ #19050]
22385         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22386         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22387         <fix-int-fp-convert-zero.h>.
22388         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22389         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22390         <fix-int-fp-convert-zero.h>.
22391         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22392         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22393         <fix-int-fp-convert-zero.h>.
22394         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22395         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22396         <fix-int-fp-convert-zero.h>.
22397         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22398         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22399         <fix-int-fp-convert-zero.h>.
22400         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22401         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22402         <fix-int-fp-convert-zero.h>.
22403         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22404         * sysdeps/ieee754/flt-32/s_erff.c: Include
22405         <fix-int-fp-convert-zero.h>.
22406         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22407         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22408         <fix-int-fp-convert-zero.h>.
22409         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22411         <fix-int-fp-convert-zero.h>.
22412         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22413         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22414         <fix-int-fp-convert-zero.h>.
22415         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22416         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22417         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22418         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22419         file.
22420         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22422 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22426 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22428         [BZ #19059]
22429         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22430         overflowing computation.
22431         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22432         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22434         Likewise.
22435         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22436         Likewise.
22437         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22438         Likewise.
22439         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22440         Likewise.
22441         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22442         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22443         Likewise.
22444         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22445         Likewise.
22446         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22448         * nss/rewrite_field.c (__nss_rewrite_field): Use
22449         internal_function.
22450         * nss/valid_field.c (__nss_valid_field): Likewise.
22451         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22453 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22455         [BZ #18724]
22456         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22457         (__nss_invalid_field_characters, __nss_valid_field)
22458         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22459         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22460         tst-field.c: New file.
22461         * nss/Makefile (routines): Add valid_field, rewrite_field.
22462         (tests-static): Define unconditionally.
22463         (tests): Include tests-static.
22464         [build-static-nss] (tests-static): Use append.
22465         [build-static-nss] (tests): Remove modification.
22466         * nss/getent.c (print_group): Call putgrent.  Report error.
22467         (print_gshadow): Call putsgent.  Report error.
22468         (print_passwd): Call putpwent.  Report error.
22469         (print_shadow): Call putspent.  Report error.
22470         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22471         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22472         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22473         name, password, directory, shell fields for valid syntax.  Rewrite
22474         GECOS field to match syntax.
22475         * pwd/Makefile (tests): Add tst-putpwent.
22476         * pwd/tst-putpwent.c: New file.
22477         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22478         Check grName, grpasswd, gr_mem fields for valid syntax.
22479         Change loop variable i to size_t.
22480         * grp/Makefile (tests): Add tst-putgrent.
22481         * grp/tst-putgrent.c: New file.
22482         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22483         valid syntax.
22484         * shadow/Makefile (tests): Add tst-putspent.
22485         * shadow/tst-putspent.c: New file.
22486         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22487         sg_mem fields for valid syntax.
22488         * gshadow/Makefile (tests): Add tst-putsgent.
22489         * gshadow/tst-putsgent.c: New file.
22491 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22493         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22494         assembly instructions.
22496 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22498         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22499         prefix from operands.
22501 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22503         [BZ #16347]
22504         [BZ #19046]
22505         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22506         <libc-internal.h>.
22507         (MAXLGM): Do not use diagnostic control macros.
22508         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22509         threshold for ldbl-128ibm.
22510         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22511         instead of multiplying by log then subtracting.
22512         * math/auto-libm-test-in: Add more tests of lgamma.
22513         * math/auto-libm-test-out: Regenerated.
22515         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22516         (TYPE_HEX_DIG): Likewise.
22517         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22518         precisions when printing floating-point numbers.
22519         (check_float_internal): Likewise.
22521 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22523         [BZ #16620]
22524         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22525         of log (10) rounded downward to 48 bits.
22526         (log10_low): Use corresponding low part of log (10).
22528         [BZ #19032]
22529         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22530         compute result as (x - x) / (x - x) not as 0 / 0.
22531         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22532         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22534         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22535         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22536         and expm1.
22537         * math/auto-libm-test-out: Regenerated.
22538         * math/libm-test.inc (acos_test_data): Add more tests.
22539         (asin_test_data): Likewise.
22540         (asinh_test_data): Likewise.
22541         (atan_test_data): Likewise.
22542         (atanh_test_data): Likewise.
22543         (atan2_test_data): Likewise.
22544         (cbrt_test_data): Likewise.
22545         (ceil_test_data): Likewise.
22546         (copysign_test_data): Likewise.
22547         (cos_test_data): Likewise.
22548         (cosh_test_data): Likewise.
22549         (erf_test_data): Likewise.
22550         (erfc_test_data): Likewise.
22551         (exp_test_data): Likewise.
22552         (exp10_test_data): Likewise.
22553         (exp2_test_data): Likewise.
22554         (expm1_test_data): Likewise.
22555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22557 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22559         [BZ #19006]
22560         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22561         to ...
22562         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22563         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22564         to ...
22565         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22566         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22567         to ...
22568         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22569         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22570         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22571         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22572         to ...
22573         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22574         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22575         Moved to ...
22576         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22577         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22578         Moved to ...
22579         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22581         to ...
22582         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22583         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22584         Moved to ...
22585         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22586         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22587         to ...
22588         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22589         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22590         Removed.
22591         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22594         Likewise.
22595         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22596         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22597         Likewise.
22598         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22599         Likewise.
22600         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22601         Likewise.
22602         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22603         Likewise.
22604         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22605         Likewise.
22606         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22607         Likewise.
22608         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22609         Likewise.
22610         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22611         Likewise.
22612         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22613         Likewise.
22614         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22615         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22616         Likewise.
22617         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22618         Likewise.
22619         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22620         Likewise.
22621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22622         Likewise.
22623         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22624         Likewise.
22625         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22626         Replace ../i486/pthread_cond_timedwait.S with
22627         ../pthread_cond_timedwait.S.
22629 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22631         * math/libm-test.inc (acos_test_data): Refine expectations for
22632         errno and "inexact" exceptions.
22633         (acosh_test_data): Likewise.
22634         (asin_test_data): Likewise.
22635         (asinh_test_data): Likewise.
22636         (atan_test_data): Likewise.
22637         (atanh_test_data): Likewise.
22638         (atan2_test_data): Likewise.
22639         (cbrt_test_data): Likewise.
22640         (ceil_test_data): Likewise.
22641         (copysign_test_data): Likewise.
22642         (cosh_test_data): Likewise.
22643         (erf_test_data): Likewise.
22644         (erfc_test_data): Likewise.
22645         (exp_test_data): Likewise.
22646         (exp10_test_data): Likewise.
22647         (exp2_test_data): Likewise.
22648         (expm1_test_data): Likewise.
22649         (fabs_test_data): Likewise.
22650         (floor_test_data): Likewise.
22651         (fma_test_data): Likewise.
22652         (fmax_test_data): Likewise.
22653         (fmin_test_data): Likewise.
22654         (fmod_test_data): Likewise.
22655         (fpclassify_test_data): Likewise.
22656         (frexp_test_data): Likewise.
22657         (hypot_test_data): Likewise.
22658         (ilogb_test_data): Likewise.
22659         (isgreater_test_data): Likewise.
22660         (isgreaterequal_test_data): Likewise.
22661         (isinf_test_data): Likewise.
22662         (isless_test_data): Likewise.
22663         (islessequal_test_data): Likewise.
22664         (islessgreater_test_data): Likewise.
22665         (isnan_test_data): Likewise.
22666         (isnormal_test_data): Likewise.
22667         (issignaling_test_data): Likewise.
22668         (isunordered_test_data): Likewise.
22669         (j0_test_data): Likewise.
22670         (j1_test_data): Likewise.
22671         (jn_test_data): Likewise.
22672         (lgamma_test_data): Likewise.
22673         (lrint_test_data): Likewise.
22674         (llrint_test_data): Likewise.
22675         (log_test_data): Likewise.
22676         (log10_test_data): Likewise.
22677         (log1p_test_data): Likewise.
22678         (log2_test_data): Likewise.
22679         (logb_test_data): Likewise.
22680         (lround_test_data): Likewise.
22681         (llround_test_data): Likewise.
22682         (modf_test_data): Likewise.
22683         (nearbyint_test_data): Likewise.
22684         (nextafter_test_data): Likewise.
22685         (nexttoward_test_data): Likewise.
22686         (pow_test_data): Likewise.
22687         (remainder_test_data): Likewise.
22688         (remquo_test_data): Likewise.
22689         (rint_test_data): Likewise.
22690         (round_test_data): Likewise.
22691         (signbit_test_data): Likewise.
22692         (sinh_test_data): Likewise.
22693         (sqrt_test_data): Likewise.
22694         (tanh_test_data): Likewise.
22695         (tgamma_test_data): Likewise.
22696         (trunc_test_data): Likewise.
22697         (y0_test_data): Likewise.
22698         (y1_test_data): Likewise.
22699         (yn_test_data): Likewise.
22700         (significand_test_data): Likewise.
22702 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22704         * manual/filesys.texi (Storage Allocation): Document that
22705         posix_fallocate emulation fails when fd is open with O_WRONLY.
22707 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22709         [BZ #19016]
22710         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22711         allow more cases with X^2 + Y^2 >= 0.5.
22712         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22713         normal element in sum instead of special-casing based on values of
22714         arguments.
22715         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22716         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22717         -1 as normal element in sum instead of special-casing based on
22718         values of arguments.
22719         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
22720         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
22721         (__x2y2m1): Update comment.
22722         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
22723         as normal element in sum instead of special-casing based on values
22724         of arguments.
22725         * math/s_clog.c (__clog): Handle more cases using log1p without
22726         hypot.
22727         * math/s_clog10.c (__clog10): Likewise.
22728         * math/s_clog10f.c (__clog10f): Likewise.
22729         * math/s_clog10l.c (__clog10l): Likewise.
22730         * math/s_clogf.c (__clogf): Likewise.
22731         * math/s_clogl.c (__clogl): Likewise.
22732         * math/auto-libm-test-in: Add more tests of clog and clog10.
22733         * math/auto-libm-test-out: Regenerated.
22734         * sysdeps/i386/fpu/libm-test-ulps: Update.
22735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22737 2015-09-28  Martin Sebor  <msebor@redhat.com>
22739         [BZ #18969]
22740         * string/Makefile (LOCALES): Define.
22741         (gen-locales.mk): Include.
22742         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
22743         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
22744         * string/tst-strxfrm2.c (do_test): Print the name of the locale
22745         on setlocale failure.
22747 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22749         [BZ #18985]
22750         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
22751         (__strftime_internal): Likewise.
22752         * time/tst-strftime.c (do_bz18985): New test.
22753         (do_test): Call it.
22755 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
22757         [BZ #18956]
22758         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
22759         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
22760         extracting high part.
22761         * math/auto-libm-test-in: Add another test of pow.
22762         * math/auto-libm-test-out: Regenerated.
22763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22765 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22767         [BZ #18825]
22768         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
22769         New macro.
22770         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
22771         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22772         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
22773         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
22774         DBL_NARROW_EVAL, reloading the PIC register as needed.
22775         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
22776         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
22777         FLT_NARROW_EVAL.  Use separate return path for case when first
22778         argument is NaN.
22779         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
22780         DEFINE_LDBL_MIN.
22781         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
22782         PIC register.
22783         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
22784         math_check_force_underflow_nonneg.
22785         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
22786         underflow for subnormal result.
22787         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
22788         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
22789         math_check_force_underflow_nonneg.
22790         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
22791         math_check_force_underflow.
22792         * sysdeps/x86_64/fpu/x86_64-math-asm.h
22793         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
22794         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
22795         DEFINE_LDBL_MIN.
22796         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
22797         * math/auto-libm-test-in: Add more tests of pow.
22798         * math/auto-libm-test-out: Regenerated.
22800 2015-09-25  Florian Weimer  <fweimer@redhat.com>
22802         * nss/bug17079.c (init_test_items): Add diagnostic for
22803         inconsistent entries.
22804         (test_buffer_size): Skip inconsistent entries.
22806 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
22808         [BZ #13304]
22809         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
22810         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
22811         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
22813         [BZ #13304]
22814         * sysdeps/microblaze/s_fma.c: New file.
22815         * sysdeps/microblaze/s_fmaf.c: Likewise.
22816         * sysdeps/microblaze/sfp-machine.h: Likewise.
22818 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
22820         [BZ #17250]
22821         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
22822         member.
22824 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22826         [BZ #18803]
22827         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
22828         (MO): New macro.
22829         (__ieee754_hypot) [PIC]: Load PIC register.
22830         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
22831         DBL_NARROW_EVAL.
22832         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
22833         math_check_force_underflow_nonneg in case where result might be
22834         tiny.
22835         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22836         Likewise.
22837         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22838         Likewise.
22839         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
22840         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
22841         * math/auto-libm-test-in: Add more tests of hypot.
22842         * math/auto-libm-test-out: Regenerated.
22844 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
22846         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
22848 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
22850         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
22851         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
22852         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22853         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22854         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
22855         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22856         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22858         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
22859         LOAD_PIC_REG.
22861         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
22862         (FLT_CHECK_FORCE_UFLOW): Likewise.
22863         (DBL_CHECK_FORCE_UFLOW): Likewise.
22864         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
22865         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
22866         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
22867         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22868         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
22869         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22870         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22871         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
22872         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
22873         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22874         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
22875         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
22876         (flt_min): Replace with use of DEFINE_FLT_MIN.
22877         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
22878         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
22879         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22880         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
22881         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
22882         (flt_min): Replace with use of DEFINE_FLT_MIN.
22883         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
22884         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
22885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22886         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
22887         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
22888         (flt_min): Replace with use of DEFINE_FLT_MIN.
22889         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
22890         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
22891         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
22892         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
22893         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
22894         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
22895         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
22896         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
22897         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22898         (__atan): Use DBL_CHECK_FORCE_UFLOW.
22899         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
22900         (flt_min): Replace with use of DEFINE_FLT_MIN.
22901         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
22902         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
22903         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22904         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
22905         main computation.
22906         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
22907         (flt_min): Replace with use of DEFINE_FLT_MIN.
22908         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
22909         main computation.
22910         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
22911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
22912         (MO): New macro.
22913         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
22914         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
22915         (flt_min): Replace with use of DEFINE_FLT_MIN.
22916         (MO): New macro.
22917         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
22918         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
22919         (__log1pl): Use MO.
22921         [BZ #19003]
22922         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
22923         $(config-cflags-nofma).
22925 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22927         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22929 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
22931         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
22932         (TWO127): Likewise.
22934         * sysdeps/generic/math_private.h (fabs_tg): New macro.
22935         (min_of_type): Likewise.
22936         (math_check_force_underflow): Likewise.
22937         (math_check_force_underflow_nonneg): Likewise.
22938         (math_check_force_underflow_complex): Likewise.
22939         * math/e_exp2l.c (__ieee754_exp2l): Use
22940         math_check_force_underflow_nonneg.
22941         * math/k_casinh.c (__kernel_casinh): Likewise.
22942         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22943         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22944         * math/s_catan.c (__catan): Use
22945         math_check_force_underflow_complex.
22946         * math/s_catanf.c (__catanf): Likewise.
22947         * math/s_catanh.c (__catanh): Likewise.
22948         * math/s_catanhf.c (__catanhf): Likewise.
22949         * math/s_catanhl.c (__catanhl): Likewise.
22950         * math/s_catanl.c (__catanl): Likewise.
22951         * math/s_ccosh.c (__ccosh): Likewise.
22952         * math/s_ccoshf.c (__ccoshf): Likewise.
22953         * math/s_ccoshl.c (__ccoshl): Likewise.
22954         * math/s_cexp.c (__cexp): Likewise.
22955         * math/s_cexpf.c (__cexpf): Likewise.
22956         * math/s_cexpl.c (__cexpl): Likewise.
22957         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
22958         * math/s_clog10.c (__clog10): Likewise.
22959         * math/s_clog10f.c (__clog10f): Likewise.
22960         * math/s_clog10l.c (__clog10l): Likewise.
22961         * math/s_clogf.c (__clogf): Likewise.
22962         * math/s_clogl.c (__clogl): Likewise.
22963         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
22964         * math/s_csinf.c (__csinf): Likewise.
22965         * math/s_csinh.c (__csinh): Likewise.
22966         * math/s_csinhf.c (__csinhf): Likewise.
22967         * math/s_csinhl.c (__csinhl): Likewise.
22968         * math/s_csinl.c (__csinl): Likewise.
22969         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
22970         * math/s_csqrtf.c (__csqrtf): Likewise.
22971         * math/s_csqrtl.c (__csqrtl): Likewise.
22972         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
22973         * math/s_ctanf.c (__ctanf): Likewise.
22974         * math/s_ctanh.c (__ctanh): Likewise.
22975         * math/s_ctanhf.c (__ctanhf): Likewise.
22976         * math/s_ctanhl.c (__ctanhl): Likewise.
22977         * math/s_ctanl.c (__ctanl): Likewise.
22978         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
22979         instead of volatile.
22980         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
22981         math_check_force_underflow.
22982         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
22984         volatile when forcing underflow.
22985         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22986         math_check_force_underflow_nonneg.
22987         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
22988         Likewise.
22989         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
22990         math_check_force_underflow.
22991         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
22992         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22993         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22994         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
22995         math_check_force_underflow_nonneg.
22996         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
22997         math_check_force_underflow.
22998         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
22999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23000         instead of volatile.
23001         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23002         math_check_force_underflow.
23003         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23004         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23005         math_check_force_underflow_nonneg.
23006         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23007         math_check_force_underflow.
23008         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23009         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23010         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23011         math_check_force_underflow_nonneg.
23012         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23013         Likewise.
23014         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23015         math_check_force_underflow.
23016         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23017         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23018         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23019         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23020         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23021         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23022         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23023         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23024         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23025         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23026         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23027         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23028         Likewise.
23029         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23030         math_check_force_underflow_nonneg.
23031         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23032         Likewise.
23033         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23034         math_check_force_underflow.
23035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23036         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23037         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23038         Likewise.
23039         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23040         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23041         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23042         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23043         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23044         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23046         instead of volatile.
23047         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23048         math_check_force_underflow.
23049         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23051         math_check_force_underflow.
23052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23053         Likewise.
23054         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23055         Use math_check_force_underflow_nonneg.
23056         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23057         math_check_force_underflow.
23058         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23059         Likewise.
23060         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23061         Likewise.
23062         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23063         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23064         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23065         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23066         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23067         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23068         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23069         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23071         math_check_force_underflow_nonneg.
23072         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23073         math_check_force_underflow.
23074         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23075         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23076         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23077         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23078         math_check_force_underflow_nonneg.
23079         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23080         math_check_force_underflow.
23081         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23083         instead of volatile.
23084         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23085         math_check_force_underflow.
23087         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23088         * stdlib/strtod_l.c: Include <math_private.h>.
23089         (overflow_value): Use math_narrow_eval.
23090         (underflow_value): Likewise.
23091         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23092         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23094         (__ieee754_gamma_r): Likewise.
23095         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23096         Likewise.
23097         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23098         Likewise.
23099         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23100         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23101         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23102         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23103         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23104         (__ieee754_gammaf_r): Likewise.
23105         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23106         Likewise.
23107         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23108         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23109         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23110         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23111         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23112         volatile.
23113         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23114         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23115         math_narrow_eval.
23116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23117         Likewise.
23118         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23119         Likewise.
23120         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23121         Likewise.
23122         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23123         volatile.
23124         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23125         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23126         math_narrow_eval.
23127         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23128         Likewise.
23129         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23130         Likewise.
23132 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23134         * nptl/Versions: Remove ignored symbols.
23136 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23138         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23139         * nss/Makefile (tests): Update.
23141 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23143         * nss/bug18287.c: New file.
23144         * nss/Makefile (tests): Add bug18287.
23146 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23148         * mach/Versions (__mach_host_self_): Add symbol.
23150 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23152         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23153         vm_page_size.
23155 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23157         Really fix sysdeps/i386/fpu/s_scalbn.S build
23159         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23160         (libc: GLIBC_2_22): Remove unused version set.
23162 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23164         * config.make.in (enable-timezone-tools): New variable.
23165         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23166         (enable_timezone_tools): Export to generated files.
23167         * configure: Regenerate.
23168         * INSTALL: Regenerate.
23169         * manual/install.texi (--disable-timezone-tools): Document new flag.
23170         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23171         ifeq ($(enable-timezone-tools),yes) check.
23173 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23175         * timezone/Makefile: Revert previous change.
23177         [BZ #18980]
23178         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23179         (DEFINE_DBL_MIN): Likewise.
23180         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23181         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23182         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23183         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23184         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23186         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23187         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23188         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23189         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23190         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23191         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23192         (flt_min): Replace with use of DEFINE_FLT_MIN.
23193         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23194         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23195         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23196         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23197         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23198         (flt_min): Replace with use of DEFINE_FLT_MIN.
23199         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23200         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23201         (flt_min): Replace with use of DEFINE_FLT_MIN.
23202         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23203         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23204         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23205         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23206         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23207         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23208         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23209         (__ieee754_pow): Use DBL_NARROW_EVAL.
23210         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23211         (__ieee754_powf): Use FLT_NARROW_EVAL.
23212         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23213         (__ieee754_expf_sse2): Convert double-precision result to single
23214         precision.
23215         * sysdeps/i386/fpu/libm-test-ulps: Update.
23217 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23219         * timezone/Makefile: Ignore unused variable errors due to private.h
23220         (time_t_min) and (time_t_max).
23221         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23222         Likewise.
23224 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23226         [BZ #18981]
23227         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23228         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23229         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23230         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23231         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23232         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23233         (__scalbn): Use DBL_NARROW_EVAL.
23234         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23235         (__scalbnf): Use FLT_NARROW_EVAL.
23237 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23239         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23240         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23241         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23242         * stdio-common/printf_fp.c (___printf_fp):
23243         Use signbit to get the sign. Use isinf macro to allow inlining.
23244         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23245         * stdio-common/printf_size.c (__printf_size): Likewise.
23247 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23249         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23251 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23253         [BZ #18980]
23254         * sysdeps/generic/math_private.h: Include <float.h>.
23255         (math_narrow_eval): New macro.
23256         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23257         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23258         math_narrow_eval on overflowing return value.
23259         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23260         Likewise.
23261         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23262         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23263         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23264         Likewise.
23265         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23267 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23269         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23270         * math/Makefile: Remove isinf_ns.c.
23271         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23272         * math/multc3.c (__multc3): Likewise.
23273         * math/s_casin.c (__casin): Likewise.
23274         * math/s_casinf.c (__casinf): Likewise.
23275         * math/s_casinl.c (__casinl): Likewise.
23276         * math/s_cproj.c (__cproj): Likewise.
23277         * math/s_cprojf.c (__cprojf): Likewise.
23278         * math/s_cprojl.c (__cprofl): Likewise.
23279         * math/s_ctan.c (__ctan): Likewise.
23280         * math/s_ctanf.c (__ctanf): Likewise.
23281         * math/s_ctanh.c (__ctanh): Likewise.
23282         * math/s_ctanhf.c (__ctanhf): Likewise.
23283         * math/s_ctanhl.c (__ctanhl): Likewise.
23284         * math/s_ctanl.c (__ctanl): Likewise.
23285         * math/w_fmod.c (__fmod): Likewise.
23286         * math/w_fmodf.c (__fmodf): Likewise.
23287         * math/w_fmodl.c (_fmodl): Likewise.
23288         * math/w_remainder.c (__remainder): Likewise.
23289         * math/w_remainderf.c (__remainderf): Likewise.
23290         * math/w_remainderl.c (__remainderl): Likewise.
23291         * math/w_scalb.c (__scalb): Likewise.
23292         * math/w_scalbf.c (__scalbf): Likewise.
23293         * math/w_scalbl.c (__scalbl): Likewise.
23294         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23295         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23296         with isinf.
23297         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23298         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23299         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23300         __isinf_nsf with isinf.
23301         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23302         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23303         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23304         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23305         with isinf.
23306         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23307         __isinf_nsl with isinf.
23308         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23309         with isinf.
23310         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23311         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23312         __isinf_nsl with isinf.
23313         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23314         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23315         with isinf.
23317 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23319         * resolv/base64.c (rcsid): Remove unused static.
23320         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23321         static.  (tqpi1): Likewise.
23322         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23323         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23324         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23325         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23326         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23327         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23328         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23329         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23330         Likewise.
23332 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23334         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23335         <nptl/pthreadP.h>.
23336         (_longjmp_unwind): Use __libc_ptf_call.
23337         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23339 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23341         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23342         * sysdeps/arm/__longjmp.S: Likewise.
23344 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23346         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23347         Use __builtin_signbit.
23348         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23349         Use __builtin_signbitf.
23350         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23351         Use __builtin_signbitl.
23352         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23353         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23355 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23357         [BZ #15367]
23358         [BZ #17441]
23360         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23361         * math/math.h (fpclassify): Use __builtin_fpclassify when
23362         available.  (signbit): Use __builtin_signbit(f/l).
23363         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23364         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23365         (isinf): Use __builtin_isinf_sign.
23367 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23369         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23370         * benchtests/bench-math-inlines.c: New benchmark.
23371         * benchtests/bench-util.h: New file.
23372         * benchtests/bench-util.c: New file.
23373         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23375 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23377         * elf/tst-dlmopen1.c: Define TEST_SO.
23378         (do_test): Use TEST_SO.
23380         * elf/dl-load.c: Include libc-internal.h.
23381         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23383 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23385         [BZ #17887]
23386         * time/strptime_l.c (__strptime_internal): Make %z accept
23387         [+-]HH:MM time zones.
23389 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23391         [BZ #17886]
23392         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23393         valid time zone.
23395 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23397         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23398         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23400         (__ASSUME_FDATASYNC): Delete.
23402 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23404         * conform/linknamespace.pl: Require weak undefined symbols to be
23405         in the standard namespace.
23406         (%strong_syms): Rename to %seen_syms.
23407         (%strong_seen): Rename to %seen_where.
23409 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23411         [BZ #18970]
23412         * misc/error.c (error): Replace pthread_setcancelstate with
23413         __pthread_setcancelstate.
23414         (error_at_line): Likewise.
23415         * posix/wordexp.c (parse_comm): Likewise.
23416         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23417         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23418         (__pthread_setcancelstate): This.
23419         (pthread_setcancelstate): Add an alias.
23420         * nptl/nptl-init.c (pthread_functions): Replace
23421         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23422         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23423         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23424         hidden_proto.
23425         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23426         it with hidden_def.
23427         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23428         (pthread_setcancelstate): Renamed to ...
23429         (__pthread_setcancelstate): This.
23430         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23431         __libc_ptf_call with __pthread_setcancelstate.
23433 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23434             Andreas Schwab  <schwab@suse.de>
23436         [BZ #17118]
23437         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23438         result when imaginary part of argument is infinite using sine and
23439         cosine.
23440         * math/s_ctanf.c (__ctanf): Likewise.
23441         * math/s_ctanl.c (__ctanl): Likewise.
23442         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23443         of result when real part of argument is infinite using sine and
23444         cosine.
23445         * math/s_ctanhf.c (__ctanhf): Likewise.
23446         * math/s_ctanhl.c (__ctanhl): Likewise.
23447         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23448         (ctanh_test_data): Add more tests of ctanh.
23450 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23452         [BZ #15384]
23453         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23454         bit-mask as in subtraction.
23455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23456         Likewise.
23457         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23458         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23459         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23461         [BZ #18951]
23462         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23463         underflow exception for small results.
23464         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23465         Likewise.
23466         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23467         Likewise.
23468         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23469         Likewise.
23470         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23471         Likewise.
23472         * math/auto-libm-test-in: Add more tests of tgamma.
23473         * math/auto-libm-test-out: Regenerated.
23475 2015-09-17  Andreas Schwab  <schwab@suse.de>
23477         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23479 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23481         [BZ #18977]
23482         * math/bits/mathcalls.h
23483         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23484         not declare.
23485         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23486         Likewise.
23487         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23488         Likewise.
23489         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23490         Likewise.
23491         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23492         Likewise.
23493         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23494         Likewise.
23495         * conform/data/math.h-data
23496         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23497         function.
23498         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23499         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23500         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23501         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23502         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23503         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23504         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23505         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23506         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23507         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23508         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23510         [BZ #6803]
23511         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23512         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23513         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23514         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23515         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23516         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23517         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23518         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23519         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23521         Likewise.
23522         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23523         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23525         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23526         long_double_symbol calls.
23527         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23528         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23529         strong alias of __ldexpl.
23530         (scalbnl): Define using long_double_symbol.
23531         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23532         Remove alias.
23533         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23534         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23535         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23536         (scalbln_test_data): Add more errno expectations.
23538 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23540         Cache the host port like we cache the task port.  This way we do not
23541         need to call the kernel just to get the port.  Furthermore, we no
23542         longer increase the reference count on every invocation of
23543         `mach_host_self'.
23545         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23546         Protect declarations against the macro expansion.
23547         * mach/mach_init.c (__mach_host_self_): New variable.
23548         (mach_init): Initialize `__mach_host_self_'.
23549         * mach/mach_init.h (__mach_host_self_): New declaration.
23550         (__mach_host_self, mach_host_self): New macros.
23551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23552         Release reference.
23554 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23556         [BZ #4404]
23557         * po/de.po: Update from Translation Project.
23559         [BZ #16415]
23560         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23561         (__expm1l): Remove code to handle positive infinity and overflow.
23562         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23563         variable.
23564         (__expm1l): Remove code to handle positive infinity and overflow.
23566 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23567             Paul Pluzhnikov  <ppluzhnikov@google.com>
23569         [BZ #18872]
23570         * stdio-common/Makefile (tst-printf-bz18872): New test.
23571         (tst-printf-bz18872-mem.out): Likewise.
23572         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23573         * stdio-common/vfprintf.c: Fix memory leaks.
23575 2015-09-16  Andreas Schwab  <schwab@suse.de>
23577         [BZ #17244]
23578         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23579         Remove extra va_start/va_end calls.
23581         [BZ #17243]
23582         * posix/execl.c (execl): Add missing va_end.
23583         * posix/execle.c (execle): Likewise.
23584         * posix/execlp.c (execlp): Likewise.
23586 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23588         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23589         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23591 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23593         [BZ #18967]
23594         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23595         undefine around includes of <bits/mathcalls.h>.
23596         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23597         not declare function.
23598         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23599         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23600         (scalb): Likewise.
23601         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23602         not define macro.
23603         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23604         variable.
23605         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23606         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23607         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23609         [BZ #18857]
23610         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23611         return non-finite argument without doing ordered comparisons on
23612         it.
23614         [BZ #16296]
23615         * math/fenv.h (fegetround): Use __attribute_pure__.
23616         * include/fenv.h (__fegetround): Likewise.
23618         [BZ #18595]
23619         * math/s_ctan.c (__ctan): Force underflow exception for results
23620         whose real or imaginary part has small absolute value.
23621         * math/s_ctanf.c (__ctanf): Likewise.
23622         * math/s_ctanh.c (__ctanh): Likewise.
23623         * math/s_ctanhf.c (__ctanhf): Likewise.
23624         * math/s_ctanhl.c (__ctanhl): Likewise.
23625         * math/s_ctanl.c (__ctanl): Likewise.
23626         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23627         and ctanh.  Add more tests of ctan and ctanh.
23629         [BZ #15918]
23630         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23631         handling of cases where one argument is an infinity.
23633         [BZ #18875]
23634         [BZ #18966]
23635         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23636         (MO): New macro.
23637         (__ieee754_exp10): For small results, force underflow exception
23638         and remove excess range and precision from return value.
23639         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23640         (MO): New macro.
23641         (__ieee754_exp10f): For small results, force underflow exception
23642         and remove excess range and precision from return value.
23643         * math/auto-libm-test-in: Add more tests of exp10.
23644         * math/auto-libm-test-out: Regenerated.
23646 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23648         [BZ #18875]
23649         [BZ #18961]
23650         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23651         (MO): New macro.
23652         (__ieee754_exp): For small results, force underflow exception and
23653         remove excess range and precision from return value.
23654         (__exp_finite): Likewise.
23655         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23656         (MO): New macro.
23657         (__ieee754_expf): For small results, force underflow exception and
23658         remove excess range and precision from return value.
23659         (__expf_finite): Likewise.
23660         * math/auto-libm-test-in: Add more tests of exp.
23661         * math/auto-libm-test-out: Regenerated.
23663         [BZ #16521]
23664         [BZ #18875]
23665         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23666         small results.
23667         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23668         (MO): New macro.
23669         (__ieee754_exp2): For small results, force underflow exception and
23670         remove excess range and precision from return value.
23671         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23672         (MO): New macro.
23673         (__ieee754_exp2f): For small results, force underflow exception
23674         and remove excess range and precision from return value.
23675         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23676         (MO): New macro.
23677         (__ieee754_exp2l): Force underflow exception for small results.
23678         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23679         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23680         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23681         (MO): New macro.
23682         (__ieee754_exp2l): Force underflow exception for small results.
23683         * math/auto-libm-test-in: Add more tests or exp2.
23684         * math/auto-libm-test-out: Regenerated.
23686 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23688         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23690         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23691         /dev/null.
23693 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23695         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23696         io fs process)): Drop spurious backslash.
23698 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23700         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23701         Use sysinfo system call instead of parsing /proc/meminfo.
23702         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23703         Likewise.
23705 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23707         [BZ #16985]
23708         * programs/localedef.c (main): Display argv[remaining] when
23709         output_path is NULL.
23711 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23713         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23714         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23715         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23716         tanh.
23717         * math/auto-libm-test-out: Regenerated.
23718         * sysdeps/i386/fpu/libm-test-ulps: Update.
23719         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23720         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23723 2015-09-11  Roland McGrath  <roland@hack.frob.com>
23725         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
23726         Use 'override' keyword to freeze the value here, preventing
23727         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
23729 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23731         [BZ #14912]
23732         * sysdeps/aarch64/bits/atomic.h: Move to ...
23733         * sysdeps/aarch64/atomic-machine.h: ...here.
23734         (_AARCH64_BITS_ATOMIC_H): Rename macro to
23735         _AARCH64_ATOMIC_MACHINE_H.
23736         * sysdeps/alpha/bits/atomic.h: Move to ...
23737         * sysdeps/alpha/atomic-machine.h: ...here.
23738         * sysdeps/arm/bits/atomic.h: Move to ...
23739         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
23740         * bits/atomic.h: Move to ...
23741         * sysdeps/generic/atomic-machine.h: ...here.
23742         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23743         * sysdeps/i386/bits/atomic.h: Move to ...
23744         * sysdeps/i386/atomic-machine.h: ...here.
23745         * sysdeps/ia64/bits/atomic.h: Move to ...
23746         * sysdeps/ia64/atomic-machine.h: ...here.
23747         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
23748         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
23749         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23750         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
23751         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
23752         * sysdeps/microblaze/bits/atomic.h: Move to ...
23753         * sysdeps/microblaze/atomic-machine.h: ...here.
23754         * sysdeps/mips/bits/atomic.h: Move to ...
23755         * sysdeps/mips/atomic-machine.h: ...here.
23756         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
23757         * sysdeps/powerpc/bits/atomic.h: Move to ...
23758         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
23759         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
23760         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
23761         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
23762         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
23763         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
23764         <atomic-machine.h> instead of <bits/atomic.h>.
23765         * sysdeps/s390/bits/atomic.h: Move to ...
23766         * sysdeps/s390/atomic-machine.h: ...here.
23767         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
23768         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
23769         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23770         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
23771         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
23772         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
23773         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
23774         * sysdeps/tile/bits/atomic.h: Move to ...
23775         * sysdeps/tile/atomic-machine.h: ...here.
23776         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
23777         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
23778         <sysdeps/tile/atomic-machine.h> instead of
23779         <sysdeps/tile/bits/atomic.h>.
23780         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23781         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
23782         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
23783         <sysdeps/tile/atomic-machine.h> instead of
23784         <sysdeps/tile/bits/atomic.h>.
23785         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23786         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
23787         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
23788         <sysdeps/arm/atomic-machine.h> instead of
23789         <sysdeps/arm/bits/atomic.h>.
23790         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
23791         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
23792         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23793         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
23794         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
23795         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
23796         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
23797         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
23798         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
23799         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
23800         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
23801         * sysdeps/x86_64/bits/atomic.h: Move to ...
23802         * sysdeps/x86_64/atomic-machine.h: ...here.
23803         * include/atomic.h: Include <atomic-machine.h> instead of
23804         <bits/atomic.h>.
23806         * sysdeps/mips/mips32/libm-test-ulps: Update.
23807         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23809         [BZ #18952]
23810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
23811         not convert non-integer negative arguments to int to determine the
23812         value of signgam.
23813         * math/auto-libm-test-in: Add more tests of lgamma.
23814         * math/auto-libm-test-out: Regenerated.
23816         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
23817         cosh, csqrt, erfc, expm1 and lgamma.
23818         * math/auto-libm-test-out: Regenerated.
23819         * sysdeps/i386/fpu/libm-test-ulps: Update.
23820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23822 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
23824         [BZ #2542]
23825         [BZ #2543]
23826         [BZ #2558]
23827         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
23828         __lgamma_neg for arguments from -28.0 to -2.0.
23829         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
23830         __lgamma_negf for arguments from -15.0 to -2.0.
23831         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23832         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
23833         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
23834         Call __lgamma_negl for arguments from -33.0 to -2.0.
23835         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
23836         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
23837         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
23838         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
23839         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
23840         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
23841         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
23842         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
23843         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
23844         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
23845         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
23846         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
23847         (__lgamma_neg): Likewise.
23848         (__lgamma_negl): Likewise.
23849         (__lgamma_product): Likewise.
23850         (__lgamma_productl): Likewise.
23851         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
23852         * math/auto-libm-test-in: Add more tests of lgamma.
23853         * math/auto-libm-test-out: Regenerated.
23854         * sysdeps/i386/fpu/libm-test-ulps: Update.
23855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23857 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
23859         [BZ #18675]
23860         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
23862 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
23864         [BZ #14912]
23865         * bits/libc-lock.h: Move to ...
23866         * sysdeps/generic/libc-lock.h: ...here.
23867         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23868         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
23869         * sysdeps/mach/hurd/libc-lock.h: ...here.
23870         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23871         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
23872         * sysdeps/mach/bits/libc-lock.h: Move to ...
23873         * sysdeps/mach/libc-lock.h: ...here.
23874         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23875         * sysdeps/nptl/bits/libc-lock.h: Move to ...
23876         * sysdeps/nptl/libc-lock.h: ...here.
23877         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
23878         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
23879         * sysdeps/nptl/libc-lockP.h: ...here.
23880         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
23881         * crypt/crypt_util.c: Include <libc-lock.h> instead of
23882         <bits/libc-lock.h>.
23883         * dirent/scandir-tail.c: Likewise.
23884         * dlfcn/dlerror.c: Likewise.
23885         * elf/dl-close.c: Likewise.
23886         * elf/dl-iteratephdr.c: Likewise.
23887         * elf/dl-lookup.c: Likewise.
23888         * elf/dl-open.c: Likewise.
23889         * elf/dl-support.c: Likewise.
23890         * elf/dl-writev.h: Likewise.
23891         * elf/rtld.c: Likewise.
23892         * grp/fgetgrent.c: Likewise.
23893         * gshadow/fgetsgent.c: Likewise.
23894         * gshadow/sgetsgent.c: Likewise.
23895         * iconv/gconv_conf.c: Likewise.
23896         * iconv/gconv_db.c: Likewise.
23897         * iconv/gconv_dl.c: Likewise.
23898         * iconv/gconv_int.h: Likewise.
23899         * iconv/gconv_trans.c: Likewise.
23900         * include/link.h: Likewise.
23901         * inet/getnameinfo.c: Likewise.
23902         * inet/getnetgrent.c: Likewise.
23903         * inet/getnetgrent_r.c: Likewise.
23904         * intl/bindtextdom.c: Likewise.
23905         * intl/dcigettext.c: Likewise.
23906         * intl/finddomain.c: Likewise.
23907         * intl/gettextP.h: Likewise.
23908         * intl/loadmsgcat.c: Likewise.
23909         * intl/localealias.c: Likewise.
23910         * intl/textdomain.c: Likewise.
23911         * libidn/idn-stub.c: Likewise.
23912         * libio/libioP.h: Likewise.
23913         * locale/duplocale.c: Likewise.
23914         * locale/freelocale.c: Likewise.
23915         * locale/newlocale.c: Likewise.
23916         * locale/setlocale.c: Likewise.
23917         * login/getutent_r.c: Likewise.
23918         * login/getutid_r.c: Likewise.
23919         * login/getutline_r.c: Likewise.
23920         * login/utmp-private.h: Likewise.
23921         * login/utmpname.c: Likewise.
23922         * malloc/mtrace.c: Likewise.
23923         * misc/efgcvt.c: Likewise.
23924         * misc/error.c: Likewise.
23925         * misc/fstab.c: Likewise.
23926         * misc/getpass.c: Likewise.
23927         * misc/mntent.c: Likewise.
23928         * misc/syslog.c: Likewise.
23929         * nis/nis_call.c: Likewise.
23930         * nis/nis_callback.c: Likewise.
23931         * nis/nss-default.c: Likewise.
23932         * nis/nss_compat/compat-grp.c: Likewise.
23933         * nis/nss_compat/compat-initgroups.c: Likewise.
23934         * nis/nss_compat/compat-pwd.c: Likewise.
23935         * nis/nss_compat/compat-spwd.c: Likewise.
23936         * nis/nss_nis/nis-alias.c: Likewise.
23937         * nis/nss_nis/nis-ethers.c: Likewise.
23938         * nis/nss_nis/nis-grp.c: Likewise.
23939         * nis/nss_nis/nis-hosts.c: Likewise.
23940         * nis/nss_nis/nis-network.c: Likewise.
23941         * nis/nss_nis/nis-proto.c: Likewise.
23942         * nis/nss_nis/nis-pwd.c: Likewise.
23943         * nis/nss_nis/nis-rpc.c: Likewise.
23944         * nis/nss_nis/nis-service.c: Likewise.
23945         * nis/nss_nis/nis-spwd.c: Likewise.
23946         * nis/nss_nisplus/nisplus-alias.c: Likewise.
23947         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
23948         * nis/nss_nisplus/nisplus-grp.c: Likewise.
23949         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
23950         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
23951         * nis/nss_nisplus/nisplus-network.c: Likewise.
23952         * nis/nss_nisplus/nisplus-proto.c: Likewise.
23953         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
23954         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
23955         * nis/nss_nisplus/nisplus-service.c: Likewise.
23956         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
23957         * nis/ypclnt.c: Likewise.
23958         * nptl/libc_pthread_init.c: Likewise.
23959         * nss/getXXbyYY.c: Likewise.
23960         * nss/getXXent.c: Likewise.
23961         * nss/getXXent_r.c: Likewise.
23962         * nss/nss_db/db-XXX.c: Likewise.
23963         * nss/nss_db/db-netgrp.c: Likewise.
23964         * nss/nss_db/nss_db.h: Likewise.
23965         * nss/nss_files/files-XXX.c: Likewise.
23966         * nss/nss_files/files-alias.c: Likewise.
23967         * nss/nsswitch.c: Likewise.
23968         * posix/regex_internal.h: Likewise.
23969         * posix/wordexp.c: Likewise.
23970         * pwd/fgetpwent.c: Likewise.
23971         * resolv/res_hconf.c: Likewise.
23972         * resolv/res_libc.c: Likewise.
23973         * shadow/fgetspent.c: Likewise.
23974         * shadow/lckpwdf.c: Likewise.
23975         * shadow/sgetspent.c: Likewise.
23976         * socket/opensock.c: Likewise.
23977         * stdio-common/reg-modifier.c: Likewise.
23978         * stdio-common/reg-printf.c: Likewise.
23979         * stdio-common/reg-type.c: Likewise.
23980         * stdio-common/vfprintf.c: Likewise.
23981         * stdio-common/vfscanf.c: Likewise.
23982         * stdlib/abort.c: Likewise.
23983         * stdlib/cxa_atexit.c: Likewise.
23984         * stdlib/fmtmsg.c: Likewise.
23985         * stdlib/random.c: Likewise.
23986         * stdlib/setenv.c: Likewise.
23987         * string/strsignal.c: Likewise.
23988         * sunrpc/auth_none.c: Likewise.
23989         * sunrpc/bindrsvprt.c: Likewise.
23990         * sunrpc/create_xid.c: Likewise.
23991         * sunrpc/key_call.c: Likewise.
23992         * sunrpc/rpc_thread.c: Likewise.
23993         * sysdeps/arm/backtrace.c: Likewise.
23994         * sysdeps/generic/ldsodefs.h: Likewise.
23995         * sysdeps/generic/stdio-lock.h: Likewise.
23996         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
23997         * sysdeps/i386/backtrace.c: Likewise.
23998         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23999         * sysdeps/m68k/backtrace.c: Likewise.
24000         * sysdeps/mach/hurd/cthreads.c: Likewise.
24001         * sysdeps/mach/hurd/dirstream.h: Likewise.
24002         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24003         * sysdeps/nptl/malloc-machine.h: Likewise.
24004         * sysdeps/nptl/stdio-lock.h: Likewise.
24005         * sysdeps/posix/dirstream.h: Likewise.
24006         * sysdeps/posix/getaddrinfo.c: Likewise.
24007         * sysdeps/posix/system.c: Likewise.
24008         * sysdeps/pthread/aio_suspend.c: Likewise.
24009         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24010         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24011         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24012         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24013         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24014         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24015         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24016         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24017         * sysdeps/unix/sysv/linux/system.c: Likewise.
24018         * sysdeps/x86_64/backtrace.c: Likewise.
24019         * time/alt_digit.c: Likewise.
24020         * time/era.c: Likewise.
24021         * time/tzset.c: Likewise.
24022         * wcsmbs/wcsmbsload.c: Likewise.
24023         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24024         instead of <bits/libc-lock.h> in comment.
24026 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24028         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24029         Only use .set mips2 if the current ISA is below mips2.
24030         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24031         Likewise.
24032         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24033         mips32r2 if the current ISA is below mips32r2.
24034         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24035         (TLS_IE): Updated to use the TLD_RDHWR macro.
24036         (TLS_LE): Likewise.
24037         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24038         __ASSEMBLER__ condition.
24040 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24042         Fix parallel build of before-compile targets.
24044         * sysdeps/mach/Makefile ($(patsubst
24045         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24046         mach-before-compile target.
24047         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24048         io fs process)): Move rule to dedicated hurd-before-compile target.
24050 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24052         Fix rules generating headers in hurd/ and mach/ when initial make call
24053         has subdir= explicitly set.
24055         * sysdeps/mach/Makefile ($(patsubst
24056         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24057         calling $(MAKE).
24058         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24059         io fs process)): Force subdir to hurd when calling $(MAKE).
24060         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24061         subdir to mach when calling $(MAKE).
24063 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24065         Check sysheaders when looking for Mach and Hurd headers
24067         * sysdeps/mach/configure.ac: Add sysheaders check.
24068         * sysdeps/mach/configure: Regenerate.
24069         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24070         * sysdeps/mach/hurd/configure: Regenerate.
24072 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24074         [BZ #18921]
24075         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24076         Fix inverted sense of test of 'o_directory_works' value.
24077         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24078         Bernhard Voelker <mail@bernhard-voelker.de>.
24080 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24082         [BZ #14912]
24083         * bits/linkmap.h: Move to ...
24084         * sysdeps/generic/linkmap.h: ...here.
24085         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24086         * sysdeps/aarch64/linkmap.h: ...here.
24087         * sysdeps/arm/bits/linkmap.h: Move to ...
24088         * sysdeps/arm/linkmap.h: ...here.
24089         * sysdeps/hppa/bits/linkmap.h: Move to ...
24090         * sysdeps/hppa/linkmap.h: ...here.
24091         * sysdeps/ia64/bits/linkmap.h: Move to ...
24092         * sysdeps/ia64/linkmap.h: ...here.
24093         * sysdeps/mips/bits/linkmap.h: Move to ...
24094         * sysdeps/mips/linkmap.h: ...here.
24095         * sysdeps/s390/bits/linkmap.h: Move to ...
24096         * sysdeps/s390/linkmap.h: ...here.
24097         * sysdeps/sh/bits/linkmap.h: Move to ...
24098         * sysdeps/sh/linkmap.h: ...here.
24099         * sysdeps/x86/bits/linkmap.h: Move to ...
24100         * sysdeps/x86/linkmap.h: ...here.
24101         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24103 2015-09-04  Andreas Schwab  <schwab@suse.de>
24105         [BZ #18635]
24106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24107         (__makecontext): Terminate FDE before return label.
24108         (__novec_makecontext): Likewise.
24110 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24112         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24113         first member of struct sv in syscall macro.
24115 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24117         [BZ #14912]
24118         * bits/stdio-lock.h: Move to ...
24119         * sysdeps/generic/stdio-lock.h: ...here.
24120         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24121         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24122         * sysdeps/nptl/stdio-lock.h: ...here.
24123         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24124         * include/libio.h: Include <stdio-lock.h> instead of
24125         <bits/stdio-lock.h>.
24126         * sysdeps/nptl/fork.c: Likewise.
24127         * sysdeps/pthread/flockfile.c: Likewise.
24128         * sysdeps/pthread/ftrylockfile.c: Likewise.
24129         * sysdeps/pthread/funlockfile.c: Likewise.
24131         [BZ #14912]
24132         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24133         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24134         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24135         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24136         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24137         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24138         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24140 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24142         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24143         (test-xfail-tst-protected1b): New variable.
24145 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24147         [BZ #14912]
24148         * bits/libc-tsd.h: Move to ...
24149         * sysdeps/generic/libc-tsd.h: ...here.
24150         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24151         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24152         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24153         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24154         * include/ctype.h: Include <libc-tsd.h> instead of
24155         <bits/libc-tsd.h>.
24156         * include/rpc/rpc.h: Likewise.
24157         * locale/localeinfo.h: Likewise.
24158         * sunrpc/rpc_thread.c: Likewise.
24159         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24160         * sysdeps/nptl/malloc-machine.h: Likewise.
24162         * Makefile (headers): Remove bits/libc-lock.h.
24163         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24165         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24166         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24167         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24168         <bits/stdio-lock.h>.
24169         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24170         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24172 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24174         [BZ #18757]
24175         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24176         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24177         BZ #18757.
24179 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24181         * malloc/mtrace.pl: Filter out NULL entries.
24183 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24185         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24186         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24187         macro.
24189         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24190         (TCP_CC_INFO): Likewise.
24191         (TCP_SAVE_SYN): Likewise.
24192         (TCP_SAVED_SYN): Likewise.
24194 2015-08-31  Brett Neumeier <brett@neumeier.us>
24196         [BZ #18870]
24197         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24199 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24201         [BZ #18873]
24202         Fix broken overflow check in posix_fallocate
24203         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24204         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24205         Fix parenthesization typo.
24207 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24209         [BZ #18887]
24210         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24211         tst-mntent-blank-passno.
24212         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24213         * misc/tst-mntent-blank-corrupt.c: New test.
24214         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24215         * misc/tst-mntent.c (do_test): ... here.
24217 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24219         [BZ #4404]
24220         * po/de.po: Fix SIGALRM typo.
24222 2015-08-28  James Perkins  <james@loowit.net>
24224         * time/tst-strptime2.c (tests): Replace short list of test
24225         strings for strptime %z specifier with code which exhaustively
24226         tests every combination of sign and 0 to 5 digits. Tests for
24227         rejection of invalid strings.
24229 2015-08-28  James Perkins  <james@loowit.net>
24231         [BZ #16141]
24232         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24233         calculation, removing incorrect decimal time rounding, so that
24234         all minute values result in a valid seconds value.
24235         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24236         offset range limits to UTC-99:59 through UTC+99:59 to parse
24237         current and historical use cases.
24238         * time/tst-strptime2.c (tests): Modify and add tests for the
24239         strptime %z input field descriptor, specifically conversion of
24240         minutes to seconds and validating an offset range of -9959 to
24241         +9959.
24243 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24244             Dmitry V. Levin  <ldv@altlinux.org>
24246         [BZ #18877]
24247         * posix/Makefile (tests): Add tst-mmap-offset.
24248         * posix/tst-mmap.c: New file.
24249         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24250         offset calculation for negative values.
24252 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24254         * sysdeps/i386/init-arch.h: New file.
24255         * sysdeps/i386/i586/init-arch.h: Likewise.
24256         * sysdeps/i386/i686/init-arch.h: Likewise.
24257         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24258         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24259         * sysdeps/x86/cpu-features.h (bit_I586): New.
24260         (bit_I686): Likewise.
24261         (bit_CX8): Likewise.
24262         (bit_CMOV): Likewise.
24263         (index_CX8): Likewise.
24264         (index_CMOV): Likewise.
24265         (index_I586): Likewise.
24266         (index_I686): Likewise.
24267         (reg_CX8): Likewise.
24268         (reg_CMOV): Likewise.
24269         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24270         available at compile-time.
24271         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24272         available at compile-time.
24273         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24274         (USE_I686): Likewise.
24276 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24278         * sysdeps/i386/bcopy.S: New file.
24279         * sysdeps/i386/bzero.S: Likewise.
24280         * sysdeps/i386/memcpy.S: Likewise.
24281         * sysdeps/i386/memmove.S: Likewise.
24282         * sysdeps/i386/mempcpy.S: Likewise.
24283         * sysdeps/i386/memset.S: Likewise.
24284         * sysdeps/i386/bzero.c: Removed.
24285         * sysdeps/i386/memset.c: Likewise.
24286         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24287         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24288         * sysdeps/i386/i586/memset_chk.S: Likewise.
24289         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24290         * sysdeps/i386/memcpy_chk.S: Here.
24291         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24292         * sysdeps/i386/memmove_chk.S: Here.
24293         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24294         * sysdeps/i386/mempcpy_chk.S: Likewise.
24295         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24296         * sysdeps/i386/memset_chk.S: Likewise.
24298 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24300         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24301         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24302         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24303         * soft-fp/fmadf4.c: Ditto.
24304         * soft-fp/fmatf4.c: Ditto.
24306 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24308         * sysdeps/i386/i586/Implies: Removed.
24309         * sysdeps/i386/i686/Implies: Likewise.
24311 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24313         * sysdeps/i386/i486/strlen.S: Moved to ...
24314         * sysdeps/i386/strlen.S: Here.
24316 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24318         * sysdeps/i386/i486/strcat.S: Moved to ...
24319         * sysdeps/i386/strcat.S: Here.
24321 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24323         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24324         * sysdeps/i386/pthread_spin_trylock.S: Here.
24325         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24326         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24328 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24330         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24331         * sysdeps/i386/string-inlines.c: Here.
24333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/i386/i486/htonl.S: Moved ...
24336         * sysdeps/i386/htonl.S: here.
24338 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24340         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24341         * sysdeps/i386/bits/atomic.h: Here.
24343 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24345         * sysdeps/i386/i486/Versions: Removed.
24347 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24349         [BZ #2898]
24350         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24351         Based on patch by Aurelien Jarno.
24353 2015-08-26  Stan Shebs  <stanshebs@google.com>
24355         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24356         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24358 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24360         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24361         * sysdeps/powerpc/dl-procinfo.c:
24362         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24363         feature so it shows when LD_SHOW_AUXV=1.
24365 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24367         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24368         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24369         definition.  ISA 2.07B no longer requires full sync.
24371 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24373         [BZ #18863]
24374         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24375         (si_call_addr): Define.
24376         (si_syscall): Define.
24377         (si_arch): Define.
24379 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24381         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24382         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24383         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24384         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24385         (__memset_zero_constant_len_parameter): New.
24386         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24387         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24388         (__memset_zero_constant_len_parameter): Don't define if
24389         __memset_chk or USE_AS_BZERO are defined.
24391         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24392         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24393         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24395         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24396         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24397         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24398         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24399         comments.
24400         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24401         -mno-mmx for $(all-rtld-routines).
24402         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24403         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24404         i386.
24406 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24408         * sysdeps/generic/unwind.h
24409         (_Unwind_Word): Use __mode__(__unwind_word__)
24410         instead of __mode__(__word__).
24411         (_Unwind_Sword): Likewise.
24413         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24414         (MAX_NEEDED_INPUT): New define.
24415         (MAX_NEEDED_OUTPUT): New define.
24417         * NEWS: New item for IBM z13 string optimizations.
24419         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24420         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24421         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24422         * sysdeps/s390/multiarch/Makefile
24423         (sysdep_routines): Add memrchr functions.
24424         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24425         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24427         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24428         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24429         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24430         * sysdeps/s390/multiarch/Makefile
24431         (sysdep_routines): Add wmemcmp functions.
24432         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24433         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24434         * benchtests/bench-wmemcmp.c: New File.
24435         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24437         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24438         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24439         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24440         * sysdeps/s390/multiarch/Makefile
24441         (sysdep_routines): Add wmemset functions.
24442         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24443         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24444         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24445         * string/test-memset.c: Add wmemset support.
24446         * wcsmbs/test-wmemset.c: New File.
24447         * wcsmbs/Makefile (strop-tests): Add wmemset.
24448         * benchtests/bench-memset.c: Add wmemset support.
24449         * benchtests/bench-wmemset.c: New File.
24450         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24452         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24453         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24454         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24455         * sysdeps/s390/multiarch/Makefile
24456         (sysdep_routines): Add memccpy functions.
24457         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24458         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24459         * string/memccpy.c: Use MEMCCPY if defined.
24461         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24462         * sysdeps/s390/multiarch/memchr.c: Likewise.
24463         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24464         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24465         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24466         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24467         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24468         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24469         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24470         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24472         and rawmemchr functions.
24473         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24474         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24475         and wmemchr.
24476         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24477         * string/test-memchr.c: Add wmemchr support.
24478         * wcsmbs/test-wmemchr.c: New File.
24479         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24480         * benchtests/bench-memchr.c: Add wmemchr support.
24481         * benchtests/bench-wmemchr.c: New File.
24482         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24484         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24485         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24486         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24487         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24488         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24489         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24491         wcscspn functions.
24492         * sysdeps/s390/multiarch/ifunc-impl-list.c
24493         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24494         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24495         * string/test-strcspn.c: Add wcscspn support.
24496         * wcsmbs/test-wcscspn.c: New File.
24497         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24498         * benchtests/bench-strcspn.c: Add wcscspn support.
24499         * benchtests/bench-wcscspn.c: New File.
24500         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24502         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24503         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24504         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24505         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24506         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24507         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24509         wcspbrk functions.
24510         * sysdeps/s390/multiarch/ifunc-impl-list.c
24511         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24512         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24513         * string/test-strpbrk.c: Add wcspbrk support.
24514         * wcsmbs/test-wcspbrk.c: New File.
24515         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24516         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24517         * benchtests/bench-wcspbrk.c: New File.
24518         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24520         * sysdeps/s390/multiarch/strspn-c.c: New File.
24521         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24522         * sysdeps/s390/multiarch/strspn.c: Likewise.
24523         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24524         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24525         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24526         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24528         wcsspn functions.
24529         * sysdeps/s390/multiarch/ifunc-impl-list.c
24530         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24531         * string/test-strspn.c: Add wcsspn support.
24532         * wcsmbs/test-wcsspn.c: New File.
24533         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24534         * benchtests/bench-strspn.c: Add wcsspn support.
24535         * benchtests/bench-wcsspn.c: New File.
24536         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24538         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24539         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24540         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24541         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24542         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24543         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24544         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24545         wcsrchr functions.
24546         * sysdeps/s390/multiarch/ifunc-impl-list.c
24547         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24548         * benchtests/bench-wcsrchr.c: New File.
24549         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24551         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24552         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24553         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24554         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24555         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24556         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24558         wcschrnul functions.
24559         * sysdeps/s390/multiarch/ifunc-impl-list.c
24560         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24561         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24562         * string/test-strchr.c: Add wcschrnul support.
24563         * wcsmbs/test-wcschrnul.c: New File.
24564         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24565         * benchtests/bench-strchr.c: Add wcschrnul support.
24566         * benchtests/bench-wcschrnul.c: New File.
24567         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24569         * sysdeps/s390/multiarch/strchr-c.c: New File.
24570         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24571         * sysdeps/s390/multiarch/strchr.c: Likewise.
24572         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24573         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24574         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24575         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24576         wcschr functions.
24577         * sysdeps/s390/multiarch/ifunc-impl-list.c
24578         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24579         * string/strchr.c (STRCHR): Define and use macro.
24580         * benchtests/bench-wcschr.c: New File.
24581         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24583         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24584         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24585         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24586         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24587         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24588         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24589         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24590         wcsncmp functions.
24591         * sysdeps/s390/multiarch/ifunc-impl-list.c
24592         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24593         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24594         * benchtests/bench-strncmp.c: Add wcsncmp support.
24595         * benchtests/bench-wcsncmp.c: New File.
24596         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24598         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24599         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24600         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24601         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24602         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24603         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24604         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24605         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24606         wcscmp functions.
24607         * sysdeps/s390/multiarch/ifunc-impl-list.c
24608         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24609         * string/strcmp.c (STRCMP): Define and use macro.
24610         * benchtests/bench-wcscmp.c: New File.
24611         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24612         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24613         instead of _HAVE_STRING_ARCH_memchr.
24615         * sysdeps/s390/multiarch/strncat-c.c: New File.
24616         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24617         * sysdeps/s390/multiarch/strncat.c: Likewise.
24618         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24619         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24620         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24622         wcsncat functions.
24623         * sysdeps/s390/multiarch/ifunc-impl-list.c
24624         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24625         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24626         * string/test-strncat.c: Add wcsncat support.
24627         * wcsmbs/test-wcsncat.c: New File.
24628         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24629         * benchtests/bench-strncat.c: Add wcsncat support.
24630         * benchtests/bench-wcsncat.c: New File.
24631         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24633         * sysdeps/s390/multiarch/strcat-c.c: New File.
24634         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24635         * sysdeps/s390/multiarch/strcat.c: Likewise.
24636         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24637         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24638         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24640         wcscat functions.
24641         * sysdeps/s390/multiarch/ifunc-impl-list.c
24642         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24643         * string/strcat.c (STRCAT): Define and use macro.
24644         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24645         * string/test-strcat.c: Add wcscat support.
24646         * wcsmbs/test-wcscat.c: New File.
24647         * wcsmbs/Makefile (strop-tests): Add wcscat.
24648         * benchtests/bench-strcat.c: Add wcscat support.
24649         * benchtests/bench-wcscat.c: New File.
24650         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24652         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24653         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24654         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24655         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24656         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24657         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24658         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24659         wcpncpy functions.
24660         * sysdeps/s390/multiarch/ifunc-impl-list.c
24661         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24662         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24663         * string/test-stpncpy.c: Add wcpncpy support.
24664         * wcsmbs/test-wcpncpy.c: New File.
24665         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24666         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24667         * benchtests/bench-wcpncpy.c: New File.
24668         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24670         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24671         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24672         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24673         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24674         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24675         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24676         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24678         wcsncpy functions.
24679         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24680         * sysdeps/s390/multiarch/ifunc-impl-list.c
24681         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24682         * string/test-strncpy.c: Add wcsncpy support.
24683         * wcsmbs/test-wcsncpy.c: New File.
24684         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24685         * benchtests/bench-strncpy.c: Add wcsncpy support.
24686         * benchtests/bench-wcsncpy.c: New File.
24687         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24689         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24690         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24691         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24692         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24693         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24694         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24696         wcpcpy functions.
24697         * string/stpcpy.c: Use STPCPY if defined.
24698         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24699         * sysdeps/s390/multiarch/ifunc-impl-list.c
24700         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24701         * string/test-stpcpy.c: Add wcpcpy support.
24702         * wcsmbs/test-wcpcpy.c: New File.
24703         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24704         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24705         * benchtests/bench-wcpcpy.c: New File.
24706         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24708         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24709         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24710         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24711         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24712         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24713         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24714         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24716         wcscpy functions.
24717         * sysdeps/s390/multiarch/ifunc-impl-list.c
24718         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
24719         * benchtests/bench-wcscpy.c: New File.
24720         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
24722         * sysdeps/s390/multiarch/strnlen-c.c: New File.
24723         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
24724         * sysdeps/s390/multiarch/strnlen.c: Likewise.
24725         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
24726         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
24727         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
24728         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
24729         wcsnlen functions.
24730         * sysdeps/s390/multiarch/ifunc-impl-list.c
24731         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
24732         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
24733         * string/test-strnlen.c: Add wcsnlen support.
24734         * wcsmbs/test-wcsnlen.c: New File.
24735         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
24736         * benchtests/bench-strnlen.c: Add wcsnlen support.
24737         * benchtests/bench-wcsnlen.c: New File.
24738         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
24740         * sysdeps/s390/multiarch/Makefile: New File.
24741         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
24742         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
24743         * sysdeps/s390/multiarch/strlen.c: Likewise.
24744         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
24745         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
24746         * sysdeps/s390/multiarch/wcslen.c: Likewise.
24747         * string/strlen.c (STRLEN): Define and use macro.
24748         * sysdeps/s390/multiarch/ifunc-impl-list.c
24749         (IFUNC_VX_IMPL): New macro function.
24750         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
24751         * benchtests/Makefile (wcsmbs-bench): New variable.
24752         (string-bench-all): Added wcsmbs-bench.
24753         * benchtests/bench-wcslen.c: New File.
24755         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
24756         s390_vx_libc_ifunc2): New macro function.
24758         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
24759         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
24760         assembler support.
24761         * sysdeps/s390/configure: Regenerated.
24763         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
24764         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
24766         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
24767         * sysdeps/s390/dl-procinfo.h: Add vector capability.
24768         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
24770         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
24771         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
24772         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
24773         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
24774         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
24775         (memcmp, bcmp): Use __memcmp_default as alias source.
24776         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
24777         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
24778         Rename to __memcmp_default.
24779         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
24780         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
24781         (memcpy): Use __memcpy_default as alias source.
24782         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
24783         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
24784         Rename to __memcpy_default.
24785         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
24786         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
24787         (memset): Use __memset_default as alias source.
24788         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
24789         * sysdeps/s390/s390-32/memset.S (__memset_g5):
24790         Rename to __memset_default.
24791         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
24792         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
24793         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
24794         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
24795         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
24796         (memcmp, bcmp): Use __memcmp_default as alias source.
24797         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
24798         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
24799         Rename to __memcmp_default.
24800         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
24801         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
24802         (memcpy): Use __memcpy_default as alias source.
24803         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
24804         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
24805         Rename to __memcpy_default.
24806         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
24807         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
24808         (memset): Use __memset_default as alias source.
24809         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
24810         * sysdeps/s390/s390-64/memset.S (__memset_z900):
24811         Rename to __memset_default.
24812         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
24813         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
24815         [BZ #18610]
24816         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
24817         __ieee_instruction_pointer to __unused.
24818         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
24819         __ieee_instruction_pointer.
24820         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
24821         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
24822         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24823         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
24824         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
24825         Mark dxc-field as reserved.
24827 2015-08-25  Roland McGrath  <roland@hack.frob.com>
24829         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
24830         if the weak reference is not null.
24832 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24834         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
24836         [BZ #11214]
24837         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
24839 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24841         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
24842         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
24843         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
24844         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
24845         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
24846         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
24847         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
24848         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
24849         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
24850         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
24851         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
24852         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
24853         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
24854         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
24855         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
24856         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
24857         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
24858         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
24860 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24862         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
24863         register other than r0 for tabort, it has special meaning.
24864         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
24865         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
24866         transaction before starting syscall.
24868 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24870         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
24872 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24874         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
24876         * sysdeps/x86_64/rtld-memcmp.c: Removed.
24877         * sysdeps/x86_64/rtld-memset.S: Likewise.
24878         * sysdeps/x86_64/rtld-strchr.S: Likewise.
24879         * sysdeps/x86_64/rtld-strlen.S: Likewise.
24880         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
24881         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
24883         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
24885 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
24887         * debug/strcpy_chk.c: Improve performance.
24888         * debug/stpcpy_chk.c: Likewise.
24889         * sysdeps/x86_64/strcpy_chk.S: Remove.
24890         * sysdeps/x86_64/stpcpy_chk.S: Remove.
24892         [BZ #18240]
24893         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
24895 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
24897         [BZ #15128]
24898         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
24899         ifuncmain8.
24900         (modules-names): Add ifuncmod8.
24901         ($(objpfx)ifuncmain8): New rule.
24902         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
24903         <cpuid.h>.
24904         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
24905         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
24906         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
24907         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
24908         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
24909         * sysdeps/x86_64/dl-trampoline.h: Likewise.
24910         * sysdeps/x86_64/ifuncmain8.c: New file.
24911         * sysdeps/x86_64/ifuncmod8.c: Likewise.
24912         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
24913         Removed.
24914         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
24915         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
24916         Change rtld_savespace_sse to __glibc_unused2.
24917         (RTLD_CHECK_FOREIGN_CALL): Removed.
24918         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
24919         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
24920         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
24922 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24924         * sysdeps/aarch64/bzero.S (__bzero): Remove.
24926 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
24928         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
24929         Unconditionally set __fpcr to avoid uninialized warning.
24930         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
24932 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
24935         is corrupt.
24937         * malloc/arena.c (arena_get2): Drop unused argument.
24938         (arena_lock): Adjust.
24939         (arena_get_retry): Likewise.
24941 2015-08-24  Andreas Schwab  <schwab@suse.de>
24943         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
24944         Don't define.
24945         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24946         (__ASSUME_IPC64): Don't undef.
24947         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
24948         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24949         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24950         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
24951         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
24952         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
24953         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
24954         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
24955         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
24956         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
24957         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
24958         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
24959         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
24960         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
24961         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
24962         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
24963         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
24964         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
24965         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
24966         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
24967         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
24969 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
24971         * manual/Makefile (install): Only build manual when perl is available.
24973 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
24976         '#undef memcpy' by '#undef memchr'.
24978 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24980         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
24981         memchr not point to the internal __GI_memchr implementation.
24983 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
24985         * timezone/Makefile (CFLAGS-zdump.c): Remove
24986         -Wno-strict-prototypes.
24987         (CFLAGS-zic.c): Likewise.
24988         (CFLAGS-ialloc.c): Likewise.
24989         (CFLAGS-scheck.c): Likewise.
24991         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
24992         -Wno-error=undef.
24994 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
24996         * i386/i686/multiarch/strcasestr-c.c: Removed.
24997         * x86_64/multiarch/strcasestr.c: Likewise.
24998         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24999         Remove strcasestr.
25001 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25003         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25005         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25006         variables for high and low parts before possibly modifying them.
25008 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25010         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25011         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25012         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25013         of "multiarch/init-arch.h".
25014         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25015         * sysdeps/x86/init-arch.h: This.
25017 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25019         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25020         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25022 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25024         [BZ #17787]
25025         * manual/macros.texi: Add twoexp macro.
25026         * manual/filesys.texi: Fix exponents.
25027         * manual/llio.texi: Likewise.
25028         * manual/stdio.texi: Likewise.
25030 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25032         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25033         incorrect use.
25035 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25037         [BZ #18370]
25038         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25039         whose real or imaginary part has small absolute value.
25040         * math/s_csqrtf.c (__csqrtf): Likewise.
25041         * math/s_csqrtl.c (__csqrtl): Likewise.
25042         * math/auto-libm-test-in: Add more tests of csqrt.
25043         * math/auto-libm-test-out: Regenerated.
25044         * sysdeps/i386/fpu/libm-test-ulps: Update.
25046 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25048         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25049         __ppc_set_ppr_very_low): New functions.
25050         * manual/platform.texi: Add documentation about
25051         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25053 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25055         * string/stpncpy.c (stpncpy): Improve performance using
25056         __strnlen/memcpy/memset.
25058 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25060         [BZ #18796]
25061         * scripts/test-installation.pl: Don't add -lmvec to build options if
25062         libmvec wasn't built.
25064 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25066         [BZ #14341]
25067         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25068         case when there is a gap between DT_REL and DT_JMPREL sections.
25069         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25070         (LDFLAGS-tst-split-dynreloc): New.
25071         (tst-split-dynreloc-ENV): Likewise.
25072         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25073         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25075 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25077         [BZ #18822]
25078         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25079         attribute_hidden.
25080         (__xstat64_conv): Likewise.
25081         (__xstat32_conv): Likewise.
25083 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25085         [BZ #18822]
25086         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25087         Don't load %ebx when calling __setcontext.  Call __setcontext
25088         with HIDDEN_JUMPTARGET.
25089         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25090         libc_hidden_def.
25092 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25094         * sysdeps/i386/i686/Makefile
25095         [$(subdir) == string] (sysdep_routines): Moved to ...
25096         * sysdeps/i386/Makefile: Here.
25097         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25098         * sysdeps/i386/cacheinfo.c: Here.
25099         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25100         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25101         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25102         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25104 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25106         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25107         __i586__ is defined.
25108         (HAS_I686): Defined to 1 if __i686__ is defined.
25110 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25112         * elf/Makefile [$(have-z-execstack) = yes]
25113         (CPPFLAGS-tst-execstack.c): New variable.
25115         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25116         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25117         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25118         UTMPX || _HAVE_UT_TV].
25119         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25120         UTMPX || _HAVE_UT_TV - 0].
25122 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25124         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25125         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25126         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25128 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25130         * sysdeps/powerpc/dl-procinfo.c:
25131         (_dl_powerpc_cap_flags): Added missing strings for some
25132         hwcap features.
25133         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25135 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25137         Port the 0x7efe...feff pattern to GCC 6.
25138         See Steve Ellcey's bug report in:
25139         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25140         * string/memrchr.c (MEMRCHR):
25141         * string/rawmemchr.c (RAWMEMCHR):
25142         * string/strchr.c (strchr):
25143         * string/strchrnul.c (STRCHRNUL):
25144         Rewrite code to avoid issues with signed shift overflow.
25146 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25148         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25149         whether cpuid is available only if HAS_CPUID is 0.
25150         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25151         (HAS_I586): Likewise.
25152         (HAS_I686): Likewise.
25154 2015-08-18  Zack Weinberg  <zackw@panix.com>
25156         * misc/Versions (libc): Add GLIBC_2.23.
25158 2015-08-18  Alan Modra  <amodra@gmail.com>
25160         [BZ #18421]
25161         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25162         .Lp__global.
25163         (_start): Load %dp via .Lp__global.
25164         [!SHARED]: Use .section .rodata.
25166 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25168         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25169         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25171 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25173         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25174         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25176 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25178         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25179         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25181 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25183         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25184         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25186 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25188         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25189         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25191 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25193         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25194         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25196 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25198         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25200 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25202         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25203         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25204         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25205         (__ASSUME_LWS_CAS): Delete.
25207 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25209         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25210         * sysdeps/hppa/configure: Regenerated.
25211         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25212         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25213         * sysdeps/hppa/nptl/tls.h: Likewise.
25215 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #18823]
25218         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25219         for scaling up small arguments.
25220         * math/s_csqrtf.c (__csqrtf): Likewise.
25221         * math/s_csqrtl.c (__csqrtl): Likewise.
25222         * math/auto-libm-test-in: Add more tests of csqrt.
25223         * math/auto-libm-test-out: Regenerated.
25225 2015-08-17  Andreas Schwab  <schwab@suse.de>
25227         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25228         version set GLIBC_2.19.
25230 2015-08-16  Zack Weinberg  <zackw@panix.com>
25232         [BZ #18681]
25233         * misc/regexp.h: This interface is no longer supported.
25234         Remove all contents, leaving only an #error directive.
25235         * misc/regexp.c (loc1, loc2, locs, step, advance):
25236         Demote to compatibility symbols.
25238 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25240         [BZ #18084]
25241         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25242         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25243         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25244         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25245         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25246         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25247         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25248         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25249         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25251 2015-08-15  Zack Weinberg  <zackw@panix.com>
25253         [BZ #18795]
25254         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25255         buffer length is known to be too large, not if it's known to be
25256         small enough.
25257         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25258         overflow at runtime, involving a length parameter, twice: once
25259         with a compile-time constant length parameter, once without.
25261 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25263         [BZ #18824]
25264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25265         scaling x * y up instead of down.
25266         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25267         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25268         * math/auto-libm-test-in: Add more tests of fma.
25269         * math/auto-libm-test-out: Regenerated.
25271 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25275 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25277         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25278         unnecessary movq.
25279         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25280         Likewise.
25282 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25284         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25285         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25286         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25287         and tgamma.
25288         * math/auto-libm-test-out: Regenerated.
25289         * sysdeps/i386/fpu/libm-test-ulps: Update.
25290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25292         [BZ #16520]
25293         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25294         (__tanh): Force underflow exception for arguments with small
25295         absolute value.
25296         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25297         (__tanhf): Force underflow exception for arguments with small
25298         absolute value.
25299         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25300         (__tanhl): Force underflow exception for arguments with small
25301         absolute value.
25302         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25303         (__tanhl): Force underflow exception for arguments with small
25304         absolute value.
25305         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25306         (__tanhl): Force underflow exception for arguments with small
25307         absolute value.
25308         * math/auto-libm-test-in: Add more tests of tanh.
25309         * math/auto-libm-test-out: Regenerated.
25310         * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25314         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25315         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25317 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25319         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25320         <cpuid.h>.
25322 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25324         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25325         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25327 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25329         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25330         Remove $(objpfx)init-arch.o.
25331         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25332         init-arch.
25333         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25334         (INIT_ARCH_EXT): Defined as empty.
25335         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25337         __init_cpu_features call.  Replace HAS_XXX with
25338         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25339         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25340         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25341         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25342         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25343         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25344         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25345         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25349         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25350         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25352         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25354         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25356         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25357         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25358         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25359         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25360         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25361         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25362         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25363         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25364         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25366         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25371         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25372         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25373         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25375 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25377         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25378         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25379         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25380         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25381         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25382         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25383         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25384         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25385         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25386         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25387         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25388         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25389         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25390         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25391         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25399         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25403         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25404         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25405         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25406         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25407         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25408         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25409         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25410         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25411         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25412         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25413         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25414         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25415         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25416         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25417         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25418         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25419         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25421 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25423         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25424         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25425         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25428         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25430         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25431         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25432         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25433         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25434         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25435         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25436         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25437         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25438         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25439         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25440         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25441         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25442         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25444         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25445         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25446         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25447         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25448         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25449         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25450         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25451         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25452         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25453         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25454         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25455         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25456         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25458         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25459         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25460         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25461         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25462         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25463         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25464         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25465         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25467 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25469         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25470         (dl_platform_init): Call init_cpu_features.
25471         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25472         * sysdeps/i386/i686/cacheinfo.c
25473         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25474         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25475         * sysdeps/i386/i686/multiarch/Versions: Removed.
25476         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25477         Removed.
25478         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25479         * sysdeps/unix/sysv/linux/x86/Makefile
25480         (libpthread-sysdep_routines): Remove init-arch.
25481         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25482         <sysdeps/x86_64/dl-procinfo.c> instead of
25483         sysdeps/generic/dl-procinfo.c>.
25484         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25485         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25486         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25487         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25488         [$(subdir) == elf] (tests-static): Add
25489         tst-get-cpu-features-static.
25490         * sysdeps/x86/Versions: New file.
25491         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25492         * sysdeps/x86/cpu-features.c: Likewise.
25493         * sysdeps/x86/cpu-features.h: Likewise.
25494         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25495         * sysdeps/x86/libc-start.c: Likewise.
25496         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25497         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25498         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25499         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25500         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25501         Assume USE_MULTIARCH is defined and don't check it.
25502         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25503         (is_amd): Likewise.
25504         (max_cpuid): Likewise.
25505         (intel_check_word): Likewise.
25506         (__cache_sysconf): Don't call __init_cpu_features.
25507         (__x86_preferred_memory_instruction): Removed.
25508         (init_cacheinfo): Don't call __init_cpu_features. Replace
25509         __cpu_features with GLRO(dl_x86_cpu_features).
25510         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25511         (dl_platform_init): Call init_cpu_features.
25512         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25513         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25514         * sysdeps/x86_64/multiarch/Versions: Removed.
25515         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25516         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25517         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25518         Removed.
25519         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25521 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25523         [BZ #18820]
25524         * libio/Makefile (test-fmemopen-mem): New test.
25525         * libio/test-fmemopen.c (do_bz18820): New test.
25526         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25527         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25529 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25531         [BZ #16734]
25532         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25533         (FREE_BUF): Delete.
25534         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25535         * libio/genops.c (_IO_setb): Use malloc and free directly.
25536         (_IO_default_doallocate, _IO_default_finish): Likewise.
25537         ( _IO_unbuffer_all): Likewise.
25538         ( libc_freeres_fn): Likewise.
25539         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25540         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25541         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25542         (_IO_wdefault_doallocate): Likewise.
25544 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25546         [BZ #18086]
25547         * sysdeps/posix/nice.c (nice): Restore old errno.
25548         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25550 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25554 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25556         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25557         __bcopy and add a weak_alias to bcopy.
25558         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25559         for static build.
25561         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25562         cleanup macro usage.
25563         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25564         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25566         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25567         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25568         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25569         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25570         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25571         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25572         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25573         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25574         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25575         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25576         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25577         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25578         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25579         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25580         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25581         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25583         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25584         libc_hidden_def.
25585         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25587         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25588         (sysdep_routines): Add strstr-ppc64.
25589         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25591 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25593         [BZ #18778]
25594         * elf/Makefile (tests): Add Add tst-nodelete2.
25595         (modules-names): Add tst-nodelete2mod.
25596         (tst-nodelete2mod.so-no-z-defs): New.
25597         ($(objpfx)tst-nodelete2): Likewise.
25598         ($(objpfx)tst-nodelete2.out): Likewise.
25599         (LDFLAGS-tst-nodelete2): Likewise.
25600         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25601         out of loop through all loaded libraries.
25602         * elf/tst-nodelete2.c: New file.
25603         * elf/tst-nodelete2mod.c: Likewise.
25604         * elf/tst-znodelete-zlib.cc: Delete.
25606 2015-08-11  Andreas Schwab  <schwab@suse.de>
25608         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25609         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25610         (__openat64_nocancel): Likewise.
25612 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25614         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25615         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25616         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25617         * math/auto-libm-test-out: Regenerated.
25618         * sysdeps/i386/fpu/libm-test-ulps: Update.
25619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25621 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25623         [BZ #18790]
25624         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25625         threshold for returning +/- 1.
25626         * math/auto-libm-test-in: Add more tests of tanh.
25627         * math/auto-libm-test-out: Regenerated.
25628         * sysdeps/i386/fpu/libm-test-ulps: Update.
25630 2015-08-10  Andreas Schwab  <schwab@suse.de>
25632         [BZ #18781]
25633         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25634         MORE_OFLAGS to oflag.
25635         * io/test-lfs.c (do_test): Test openat64.
25637 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25639         [BZ #18789]
25640         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25641         smaller threshold for returning the argument.
25642         * math/auto-libm-test-in: Add more tests of sinh.
25643         * math/auto-libm-test-out: Regenerated.
25644         * sysdeps/i386/fpu/libm-test-ulps: Update.
25646 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25648         [BZ #18674]
25649         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25650         break.
25652 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25654         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25655         (generated): Don't add $(addprefix z.,$(tzfiles)).
25657 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25659         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25660         * scripts/sysd-rules.awk: Likewise.
25662 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25664         * iconvdata/tst-tables.sh: Change echo -n to printf.
25665         * nss/db-Makefile: Likewise.
25666         * posix/tst-getconf.sh: Likewise.
25667         * stdio-common/tst-unbputc.sh: Likewise.
25669 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25671         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25672         MADV_*_PAGES defines behind this feature check.
25674 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25676         [BZ #18480]
25677         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25678         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25679         Define.
25680         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25681         LOAD_REGS_5, LOAD_REGS_6): Update.
25682         (INTERNAL_SYSCALL): Update using new LOAD defines.
25683         (INTERNAL_SYSCALL_NCS): Likewise.
25684         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25686 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25688         [BZ #16734]
25689         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25691 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25693         [BZ #17905]
25694         * catgets/Makefile (tst-catgets-mem): New test.
25695         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25696         * catgets/open_catalog.c (__open_catalog): Likewise.
25697         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25699 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25701         [BZ #18787]
25702         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25703         clobber registers.
25704         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25705         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25706         Cast return to __typeof (oldval).
25708 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25710         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25711         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25712         and delete sys/syscall.h include.
25714 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25716         [BZ #16517]
25717         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25718         (tan): Force underflow exception for arguments with small absolute
25719         value.
25720         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
25721         (__kernel_tanf): Force underflow exception for arguments with
25722         small absolute value.
25723         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
25724         (__kernel_tanl): Force underflow exception for arguments with
25725         small absolute value.
25726         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
25727         (__kernel_tanl): Force underflow exception for arguments with
25728         small absolute value.
25729         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
25730         (__kernel_tanl): Force underflow exception for arguments with
25731         small absolute value.
25732         * math/auto-libm-test-in: Add more tests of tan.
25733         * math/auto-libm-test-out: Regenerated.
25735 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25737         Fix sysdeps/i386/fpu/s_scalbn.S build
25739         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
25741 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
25743         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
25745 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25747         Fix gcrt0.o compilation
25749         When static-start-installed-name is different from
25750         start-installed-name, we must not use the shared objects.
25752         * csu/Makefile
25753         (extra-objs): Add gmon-start.o when building shared library and
25754         $(static-start-installed-name) is different from
25755         $(start-installed-name).
25756         $(objpfx)g$(static-start-installed-name): When building shared
25757         library and $(static-start-installed-name) is different from
25758         $(static-start-installed-name), revert to non-shared rule,
25759         i.e. using $(objpfx)% and gmon-start.o.
25761 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
25763         [BZ #16519]
25764         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
25765         (__ieee754_sinh): Force underflow exception for arguments with
25766         small absolute value.
25767         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
25768         (__ieee754_sinhf): Force underflow exception for arguments with
25769         small absolute value.
25770         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
25771         (__ieee754_sinhl): Force underflow exception for arguments with
25772         small absolute value.
25773         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
25774         (__ieee754_sinhl): Force underflow exception for arguments with
25775         small absolute value.
25776         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
25777         (__ieee754_sinhl): Force underflow exception for arguments with
25778         small absolute value.
25779         * math/auto-libm-test-in: Add more tests of sinh.
25780         * math/auto-libm-test-out: Regenerated.
25781         * sysdeps/i386/fpu/libm-test-ulps: Update.
25783 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25785         * libio/oldfileops.c: Include unistd.h.
25787 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
25789         * stdlib/isomac.c: Include ctype.h.
25791 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
25793         * dirent/tst-seekdir.c (main): Converted to ...
25794         (do_test): ... this.
25795         (TEST_FUNCTION): New macro.
25796         Include test-skeleton.c.
25797         * elf/tst-dlmodcount.c (main): Converted to ...
25798         (do_test): ... this.
25799         (TEST_FUNCTION): New macro.
25800         Include test-skeleton.c.
25801         * elf/tst-order-main.c (main): Converted to ...
25802         (do_test): ... this.
25803         (TEST_FUNCTION): New macro.
25804         Include test-skeleton.c.
25805         * elf/tst-pie2.c (main): Converted to ...
25806         (do_test): ... this.
25807         (TEST_FUNCTION): New macro.
25808         Include test-skeleton.c.
25809         * inet/tst-ether_aton.c (main): Converted to ...
25810         (do_test): ... this.
25811         (TEST_FUNCTION): New macro.
25812         Include test-skeleton.c.
25813         * misc/tst-mntent.c (main): Converted to ...
25814         (do_test): ... this.
25815         (TEST_FUNCTION): New macro.
25816         Include test-skeleton.c.
25817         * misc/tst-tsearch.c (main): Converted to ...
25818         (do_test): ... this.
25819         (TEST_FUNCTION): New macro.
25820         Include test-skeleton.c.
25821         * posix/tst-regexloc.c (main): Converted to ...
25822         (do_test): ... this.
25823         (TEST_FUNCTION): New macro.
25824         Include test-skeleton.c.
25825         * resolv/tst-aton.c (main): Converted to ...
25826         (do_test): ... this.
25827         (TEST_FUNCTION): New macro.
25828         Include test-skeleton.c.
25829         * stdio-common/test-fwrite.c (main): Converted to ...
25830         (do_test): ... this.
25831         (TEST_FUNCTION): New macro.
25832         Include test-skeleton.c.
25833         * stdio-common/tst-ferror.c (main): Converted to ...
25834         (do_test): ... this.
25835         (TEST_FUNCTION): New macro.
25836         Include test-skeleton.c.
25837         * stdio-common/tst-printf.c (main): Converted to ...
25838         (do_test): ... this.
25839         (TEST_FUNCTION): New macro.
25840         Include test-skeleton.c.
25841         * stdio-common/tst-printfsz.c (main): Converted to ...
25842         (do_test): ... this.
25843         (TEST_FUNCTION): New macro.
25844         Include test-skeleton.c.
25845         * stdlib/tst-strtod.c (main): Converted to ...
25846         (do_test): ... this.
25847         (TEST_FUNCTION): New macro.
25848         Include test-skeleton.c.
25849         * string/tst-strlen.c (main): Converted to ...
25850         (do_test): ... this.
25851         (TEST_FUNCTION): New macro.
25852         Include test-skeleton.c.
25853         * string/tst-svc.c (main): Converted to ...
25854         (do_test): ... this.
25855         (TEST_FUNCTION): New macro.
25856         Include test-skeleton.c.
25857         * time/tst-strptime.c (main): Converted to ...
25858         (do_test): ... this.
25859         (TEST_FUNCTION): New macro.
25860         Include test-skeleton.c.
25861         * timezone/tst-timezone.c (main): Converted to ...
25862         (do_test): ... this.
25863         (TEST_FUNCTION): New macro.
25864         Include test-skeleton.c.
25866 2015-08-05  Zack Weinberg  <zackw@panix.com>
25868         * misc/regexp.h: Update comments.
25870 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
25872         [BZ #18635]
25873         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
25874         before return label.
25876 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25878         [BZ #18661]
25879         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
25880         when calling __errno_location.
25881         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
25882         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
25884 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25886         [BZ #18661]
25887         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
25888         (__lll_timedwait_tid): Align stack to 16 bytes when calling
25889         __gettimeofday.
25891 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25893         [BZ #18661]
25894         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25895         (__start_context): Don't use pop to restore %rdi so that stack
25896         is aligned to 16 bytes when calling __setcontext.
25898 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25900         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
25901         only for libc.
25902         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25904 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25906         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
25907         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
25908         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
25910 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25912         * string/memccpy.c (memccpy):
25913         Improve performance by using memchr/memcpy/__mempcpy.
25915 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25917         * string/strncpy.c (strncpy):
25918         Improve performance by using __strnlen/memcpy.
25920 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25922         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25923         Optimize to avoid an unnecessary FPCR read.
25925 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
25927         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25928         Optimize to reduce FPCR/FPSR accesses.
25930 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
25932         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
25933         dead->data[category] != NULL.
25935 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
25937         [BZ #18647]
25938         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
25939         and |x| close to 1, use absolute value of x when computing log.
25940         * math/auto-libm-test-in: Add more tests of pow.
25941         * math/auto-libm-test-out: Regenerated.
25943 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25945         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
25946         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
25947         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
25949 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
25951         [BZ #18525]
25952         * locales/km_KH: Remove timezone definition.
25953         * locales/lo_LA: Likewise.
25954         * locales/my_MM: Likewise.
25955         * locales/nan_TW@latin: Likewise.
25956         * locales/th_TH: Likewise.
25957         * locales/uk_UA: Likewise.
25959 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
25961         [BZ #18265]
25962         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
25963         (wcsncat): Likewise.
25964         (wcscmp): Likewise.
25965         (wcsncmp): Likewise.
25967 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25969         * test-skeleton.c (usage): New function.
25970         (main): Call usage when opt is '?'.
25972 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25974         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
25975         before first use.
25977 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
25979         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
25980         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
25981         in there too.
25983 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
25985         * version.h (RELEASE): Set to "development".
25986         (VERSION): Set to "2.22.90"
25988         * version.h (RELEASE): Set to "stable".
25989         (VERSION): Set to "2.22"
25990         * include/features.h (__GLIBC_MINOR__): Set to 22.
25992 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
25994         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
25995         Restructure macro to avoid "value computed is not used" warning.
25996         (atomic_compare_and_exchange_val_acq): Likewise.
25998 2015-08-04  Andreas Schwab  <schwab@suse.de>
26000         [BZ #18635]
26001         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26002         ret.
26003         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26005 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26007         * po/pl.po: Updated translation.
26008         * po/uk.po: Likewise.
26009         * po/fi.po: Likewise.
26010         * po/ko.po: Likewise.
26011         * po/ru.po: Likewise.
26012         * po/vi.po: Likewise.
26014 2015-07-31  Zack Weinberg  <zackw@panix.com>
26016         [BZ #18681]
26017         * regexp.h: Add unconditional #warning stating that this header
26018         will be removed soon.  Revise banner comment to match.
26019         (compile): Consistently use ERROR instead of RETURN to report
26020         errors (partial fix for bz#18681).
26021         * regexp.c: Don't include regexp.h. Remove some unnecessary
26022         declarations.
26024 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26026         * po/libc.pot: Regenerated.
26028 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26030         [BZ #18740]
26031         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26032         float-vlen4-arch-ext-cflags): Removed.
26033         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26034         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26036 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26038         [BZ #14113]
26039         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26040         aligned to __aligned__.
26041         (pthread_cond_t, pthread_rwlock_t): Likewise.
26043 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26045         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26047 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26049         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26050         (struct sigaction): Change sa_flags from a long to an int, and add
26051         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26053 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26055         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26056         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26057         sysdeps/generic/sysdep.h include.
26058         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26059         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26060         sysdeps/hppa/sysdep.h.
26061         (ENTRY, PSEUDO): Undefine before defining.
26063 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26065         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26066         from scratch to use INTERNAL_SYSCALL.
26068 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26070         [BZ #18078]
26071         * scripts/check-localplt.awk: Support alternate relocations.
26072         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26073         sections.
26074         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26075         malloc entries with + REL R_386_GLOB_DAT.
26076         * sysdeps/x86_64/localplt.data: New file.
26078 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26080         [BZ #18731]
26081         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26082         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26083         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26085 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26087         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26089 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26091         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26092         directly in terms of __sync_fetch_and_add and delete (int) cast.
26094 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26096         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26097         the -D_ASM_IA64_CURRENT_H flag.
26099 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26101         [BZ #18641]
26102         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26104 2015-07-27  Andreas Schwab  <schwab@suse.de>
26106         * conform/conformtest.pl (checknamespace): Filter out string
26107         literals while tokenizing.
26109 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26111         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26112         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26113         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26115 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26117         * nptl/tst-join7mod.c: Add #include <string.h>.
26119 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26121         * sysdeps/nios2/libm-test-ulps: Update.
26123 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26125         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26126         Fix order of arguments to the rt_sigprocmask syscall.
26127         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26128         Likewise.
26130 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26132         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26134 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136         [BZ #18457]
26137         * nptl/Makefile (tests): New test case tst-join7.
26138         (modules-names): New test case module tst-join7mod.
26139         * nptl/tst-join7.c: New file.
26140         * nptl/tst-join7mod.c: New file.
26141         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26142         all translation units in libc.so, libpthread.so and rtld.
26144 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26148 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26150         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26151         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26152         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26153         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26155         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26160         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26161         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26162         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26163         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26164         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26165         implementation.
26167 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26169         [BZ #17711]
26170         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26171         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26172         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26173         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26174         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26175         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26177 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26179         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26180         instead of just saying load lock in the comments.
26182 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26184         * sysdeps/unix/Subdirs: Moved ...
26185         * sysdeps/posix/Subdirs: ... here.
26186         * login/pty.h (struct termios, struct winsize): Add forward decls.
26187         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26188         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26189         * sysdeps/arm/nacl/libc.abilist: Updated.
26190         * sysdeps/nacl/libutil.abilist: New file.
26192         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26193         (SIGWINCH): New macro.
26195         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26196         * sysdeps/arm/nacl/libc.abilist: Add it.
26198 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26200         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26202 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26204         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26205         Swap __glibc_reserved0 and sa_flags order.
26207 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26209         [BZ #18657]
26210         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26211         are pending TLS destructor calls.
26212         * include/link.h (struct link_map): Add concurrency note for
26213         L_TLS_DTOR_COUNT.
26214         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26215         Don't touch the link map flag.  Atomically increment
26216         l_tls_dtor_count.
26217         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26218         Avoid taking the load lock and don't touch the link map flag.
26219         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26220         * stdlib/Makefile (tests): Use it.
26221         * stdlib/tst-tls-atexit.c (do_test): dlopen
26222         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26223         to allow tst-tls-atexit-nodelete test case to use it.
26225 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26227         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26228         to bits/types.h.
26229         (msgqnum_t): New typedef.
26230         (msglen_t): Likewise.
26231         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26232         and msg_qbytes type to msglen_t.
26234 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26236         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26237         pad0 to __glibc_reserved0.
26238         (struct stat64): Likewise.
26240 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26242         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26243         Change sa_flags from a long to an int and add __glibc_reserved0 before
26244         it for padding.
26246 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26248         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26249         anonymous by deleting "siginfo" name.
26251 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26253         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26254         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26255         rather than __nacl_irt_filename.
26256         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26258         * NEWS: New item for arm-nacl port.
26259         * sysdeps/arm/nacl/libc.abilist: New file.
26260         * sysdeps/nacl/ld.abilist: New file.
26261         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26262         * sysdeps/nacl/libanl.abilist: New file.
26263         * sysdeps/nacl/libcrypt.abilist: New file.
26264         * sysdeps/nacl/libdl.abilist: New file.
26265         * sysdeps/nacl/libm.abilist: New file.
26266         * sysdeps/nacl/libpthread.abilist: New file.
26267         * sysdeps/nacl/libresolv.abilist: New file.
26268         * sysdeps/nacl/librt.abilist: New file.
26270 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26272         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26273         __startcontext to initialize the new context.
26274         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26275         up CFI directive to forbid further backtracing.
26277 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26279         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26280         reference.
26281         * charmaps/ANSI_X3.4-1968: Likewise.
26282         * charmaps/BS_4730: Likewise.
26283         * charmaps/BS_VIEWDATA: Likewise.
26284         * charmaps/CP1250: Likewise.
26285         * charmaps/CP1251: Likewise.
26286         * charmaps/CP1252: Likewise.
26287         * charmaps/CP1253: Likewise.
26288         * charmaps/CP1254: Likewise.
26289         * charmaps/CP1255: Likewise.
26290         * charmaps/CP1256: Likewise.
26291         * charmaps/CSN_369103: Likewise.
26292         * charmaps/EBCDIC-DK-NO: Likewise.
26293         * charmaps/GB_1988-80: Likewise.
26294         * charmaps/GREEK-CCITT: Likewise.
26295         * charmaps/GREEK7: Likewise.
26296         * charmaps/INIS-8: Likewise.
26297         * charmaps/ISIRI-3342: Likewise.
26298         * charmaps/ISO_2033-1983: Likewise.
26299         * charmaps/ISO_5427-EXT: Likewise.
26300         * locales/POSIX: Likewise.
26301         * locales/ar_SA: Likewise.
26302         * locales/be_BY: Likewise.
26303         * locales/be_BY@latin: Likewise.
26304         * locales/ca_ES: Likewise.
26305         * locales/cs_CZ: Likewise.
26306         * locales/da_DK: Likewise.
26307         * locales/de_BE: Likewise.
26308         * locales/de_CH: Likewise.
26309         * locales/de_LU: Likewise.
26310         * locales/en_AU: Likewise.
26311         * locales/en_BW: Likewise.
26312         * locales/en_CA: Likewise.
26313         * locales/en_DK: Likewise.
26314         * locales/en_GB: Likewise.
26315         * locales/en_IE: Likewise.
26316         * locales/en_NZ: Likewise.
26317         * locales/en_ZA: Likewise.
26318         * locales/en_ZW: Likewise.
26319         * locales/es_AR: Likewise.
26320         * locales/es_BO: Likewise.
26321         * locales/es_CL: Likewise.
26322         * locales/es_CO: Likewise.
26323         * locales/es_DO: Likewise.
26324         * locales/es_EC: Likewise.
26325         * locales/es_ES: Likewise.
26326         * locales/es_HN: Likewise.
26327         * locales/es_MX: Likewise.
26328         * locales/es_PA: Likewise.
26329         * locales/es_PE: Likewise.
26330         * locales/es_PY: Likewise.
26331         * locales/es_SV: Likewise.
26332         * locales/es_US: Likewise.
26333         * locales/es_UY: Likewise.
26334         * locales/es_VE: Likewise.
26335         * locales/et_EE: Likewise.
26336         * locales/fa_IR: Likewise.
26337         * locales/fo_FO: Likewise.
26338         * locales/fr_CA: Likewise.
26339         * locales/fr_CH: Likewise.
26340         * locales/gv_GB: Likewise.
26341         * locales/he_IL: Likewise.
26342         * locales/hr_HR: Likewise.
26343         * locales/id_ID: Likewise.
26344         * locales/is_IS: Likewise.
26345         * locales/it_CH: Likewise.
26346         * locales/iw_IL: Likewise.
26347         * locales/kl_GL: Likewise.
26348         * locales/ko_KR: Likewise.
26349         * locales/kw_GB: Likewise.
26350         * locales/lg_UG: Likewise.
26351         * locales/lt_LT: Likewise.
26352         * locales/lv_LV: Likewise.
26353         * locales/mi_NZ: Likewise.
26354         * locales/nhn_MX: Likewise.
26355         * locales/nl_BE: Likewise.
26356         * locales/pl_PL: Likewise.
26357         * locales/sk_SK: Likewise.
26358         * locales/sl_SI: Likewise.
26359         * locales/sv_FI: Likewise.
26360         * locales/tl_PH: Likewise.
26361         * locales/tr_TR: Likewise.
26362         * locales/vi_VN: Likewise.
26364 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26366         [BZ #17475]
26367         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26368         of tu_IN and bh_IN.
26370 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26372         [BZ #18694]
26373         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26374         bits/wordsize.h.
26375         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26377 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26379         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26380         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26381         (spawn_thread): New function.
26382         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26383         (do_test): ... here.  Use IS_LOADED to test for its
26384         availability.
26386 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26388         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26390 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26392         [BZ #18696]
26393         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26394         si_addr_bnd.
26395         (si_lower): New.
26396         (si_upper): Likewise.
26398 2015-07-16  David S. Miller  <davem@davemloft.net>
26400         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26402 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26404         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26405         buffer.
26406         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26407         fail output information.
26409 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26412         and strstr-ppc64..
26413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26414         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26415         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26416         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26417         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26419 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26421         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26422         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26423         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26424         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26426 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26428         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26429         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26430         rtld_hidden_proto.
26431         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26433 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26435         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26436         the test can fail.
26438         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26440         [BZ #18676]
26441         * elf/tst-nodelete-opened.c: New test case.
26442         * elf/tst-nodelete-opened-lib.c: New test case module.
26443         * elf/Makefile (tests, modules-names): Use them.
26444         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26445         early.
26447 2015-07-15  David S. Miller  <davem@davemloft.net>
26449         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26450         futex-intenal.h
26451         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26452         * sysdeps/sparc/sparc64/Makefile: Likewise.
26453         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26454         Remove space from macro define.
26455         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26457 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26459         [BZ #17475]
26460         * locale/iso-639.def: Update Bhili and Tulu language codes as
26461         per iso639-3.
26463 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26465         * elf/tst-leaks1.c (main): Converted to ...
26466         (do_test): ... this.
26467         (TEST_FUNCTION): New macro.
26468         Include test-skeleton.c.
26469         * localedata/tst-langinfo.c (main): Converted to ...
26470         (do_test): ... this.
26471         (TEST_FUNCTION): New macro.
26472         Include test-skeleton.c.
26473         * math/test-fpucw.c (main): Converted to ...
26474         (do_test): ... this.
26475         (TEST_FUNCTION): New macro.
26476         Include test-skeleton.c.
26477         * math/test-tgmath.c (main): Converted to ...
26478         (do_test): ... this.
26479         (TEST_FUNCTION): New macro.
26480         Include test-skeleton.c.
26481         * math/test-tgmath2.c (main): Converted to ...
26482         (do_test): ... this.
26483         (TEST_FUNCTION): New macro.
26484         Include test-skeleton.c.
26485         * setjmp/tst-setjmp.c (main): Converted to ...
26486         (do_test): ... this.
26487         (TEST_FUNCTION): New macro.
26488         Include test-skeleton.c.
26489         * stdio-common/tst-sscanf.c (main): Converted to ...
26490         (do_test): ... this.
26491         (TEST_FUNCTION): New macro.
26492         Include test-skeleton.c.
26493         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26494         (do_test): ... this.
26495         (TEST_FUNCTION): New macro.
26496         Include test-skeleton.c.
26498         * elf/tst-audit9.c (main): Converted to ...
26499         (do_test): ... this.
26500         (TEST_FUNCTION): New macro.
26501         Include test-skeleton.c.
26503 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26505         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26507 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26509         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26510         New variable.
26512 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26514         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26516 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26518         * sysdeps/generic/dl-fileid.h: New file.
26519         * sysdeps/posix/dl-fileid.h: New file.
26520         * sysdeps/nacl/dl-fileid.h: New file.
26521         * include/link.h: Include <dl-fileid.h>.
26522         (struct link_map): Replace l_dev and l_ino with l_file_id.
26523         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26524         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26525         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26527 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26529         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26531 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26533         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26534         Add iff $CXX is set.
26535         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26536         Likewise.
26537         (tst-nodelete-zmodiff): Likewise.
26538         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26540 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26542         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26544 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26546         * sysdeps/aarch64/fpu/math_private.h
26547         (define math_opt_barrier): Add AArch64 version.
26548         (math_force_eval): Likewise.
26550 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26552         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26554 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26556         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26557         %ld with %jd and cast to intmax_t.
26558         (do_test_length_zero): Likewise.
26560 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26562         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26564 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26566         * sysdeps/tile/libm-test-ulps: Regenerated.
26568         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26569         Comment out the whole function, not just its body.
26571 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26573         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26574         locks.
26576         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26578 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26580         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26581         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26583 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26585         * sysdeps/nptl/futex-internal.h: New file.
26586         * sysdeps/nacl/futex-internal.h: New file.
26587         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26588         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26589         error checking.
26590         (setxid_unmark_thread): Likewise.
26591         (__nptl_setxid): Likewise.
26592         (__wait_lookup_done): Likewise.
26593         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26594         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26595         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26596         * nptl/pthread_once.c (clear_once_control): Likewise.
26597         (__pthread_once_slow): Likewise.
26598         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26599         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26600         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26601         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26602         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26603         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26604         Likewise.
26605         (__pthread_rwlock_rdlock): Likewise.
26606         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26607         Likewise.
26608         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26609         Likewise.
26610         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26611         Likewise.
26612         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26613         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26614         Likewise.
26615         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26616         __ASSUME_PRIVATE_FUTEX check.
26617         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26618         Check that shared futexes are supported.
26619         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26620         wrappers with error checking.
26621         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26622         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26623         * nptl/pthread_barrierattr_setpshared.c
26624         (pthread_barrierattr_setpshared): Check that shared futexes are
26625         supported.
26626         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26627         Likewise.
26628         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26629         Likewise.
26630         * nptl/sem_init.c (futex_private_if_supported): Remove.
26631         (__new_sem_init): Adapt and check that shared futexes are supported.
26632         * nptl/sem_open.c (sem_open): Likewise.
26633         * nptl/sem_post.c (futex_wake): Remove.
26634         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26635         (do_futex_wait): Use futex wrappers with error checking.
26636         * nptl/sem_wait.c: Include lowlevellock.h.
26637         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26638         Use futex_supports_pshared.
26639         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26640         Use futex wrappers with error checking.
26641         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26642         Likewise.
26643         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26644         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26645         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26646         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26647         (futex_wake): Likewise.
26648         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26649         (do_futex_wait): Use futex wrappers with error checking.
26650         (__new_sem_wait_slow): Update EINTR handling.
26651         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26653 2015-07-09  Martin Sebor  <msebor@redhat.com>
26655         [BZ #18435]
26656         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26657         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26658         * nptl/Makefile (test-xfail-tst-once5): Define.
26660 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26662         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26663         * elf/dl-minimal.c: For readability, reorder some definitions and
26664         introduce more page breaks.  Include <stdio.h>.
26665         (__libc_fatal): New function.
26667         * include/unistd.h: Add rtld_hidden_proto for _exit.
26668         * posix/_exit.c: Add rtld_hidden_def.
26669         * sysdeps/mach/hurd/_exit.c: Likewise.
26670         * sysdeps/nacl/_exit.c: Likewise.
26671         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26672         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26674 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26677         bndmov encoding with zero displacement.
26679 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26680             H.J. Lu  <hongjiu.lu@intel.com>
26682         [BZ #18134]
26683         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26684         * sysdeps/i386/configure: Regenerated.
26685         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26686         (_dl_runtime_profile): Save and restore Intel MPX return bound
26687         registers when calling _dl_call_pltexit.  Add
26688         PRESERVE_BND_REGS_PREFIX before return.
26689         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26690         (LRV_BND1_OFFSET): Likewise.
26691         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26692         lrv_bnd1.
26693         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26694         typo in bndmov encoding.
26695         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26696         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26697         branch instructions to preserve bounds.
26699 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26702         [GLIBC_2.22]: Add fmemopen.
26704 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26706         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26707         returns an error, also try to use host port from __mach_host_self for
26708         the __vm_wire call.
26709         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26711 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26713         [BZ #18400]
26714         [BZ #18648]
26715         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26716         Fix pr_uid and pr_gid members.
26717         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26718         definition to elf_greg_t.
26720 2015-07-08  Roland McGrath  <roland@hack.frob.com>
26722         [BZ #18383]
26723         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
26724         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
26725         * sysdeps/arm/configure: Regenerated.
26726         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
26727         (test-xfail-tst-tlsalign-static): Variable removed.
26729         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
26730         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
26731         rather than explicit 'ln -s'.
26733         * resolv/rpc/netdb.h: New file.
26734         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
26736 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26738         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
26739         length buffers.
26740         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26741         test-skeleton.c.
26743         [BZ #6544]
26744         [BZ #11216]
26745         [BZ #12836]
26746         [BZ #13151]
26747         [BZ #13152]
26748         [BZ #14292]
26749         * include/stdio.h (fmemopen): Remove hidden prototype.
26750         (__fmemopen): Add new hidden prototype.
26751         * libio/Makefile: Add oldfmemopen object.
26752         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
26753         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
26754         compliance.
26755         * libio/oldfmemopen.c: New file: old fmemopen implementation for
26756         symbol compatibility.
26757         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
26758         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
26759         fmemopen.
26760         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26761         on append and read mode.
26762         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
26763         fmemopen.
26764         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
26765         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
26766         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
26767         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
26768         Likewise.
26769         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
26770         [GLIBC_2.22]: Likewise.
26771         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
26772         Likewise.
26773         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
26774         Likewise.
26775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
26776         [GLIBC_2.22]: Likewise.
26777         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
26778         [GLIBC_2.22]: Likewise.
26779         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
26780         [GLIBC_2.22]: Likewise.
26781         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
26782         [GLIBC_2.22]: Likewise.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
26784         [GLIBC_2.22]: Likewise.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
26786         [GLIBC_2.22]: Likewise.
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
26788         [GLIBC_2.22]: Likewise.
26789         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
26790         Likewise.
26791         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
26792         Likewise.
26793         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
26794         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
26795         [GLIBC_2.22]: Likewise.
26796         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
26797         [GLIBC_2.22]: Likewise.
26798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
26799         [GLIBC_2.22]: Likewise.
26800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
26801         [GLIBC_2.22]: Likewise.
26802         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
26803         Likewise.
26804         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
26805         Likewise.
26806         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
26807         Likewise.
26808         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
26809         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
26811 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26813         [BZ #18643]
26814         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
26815         IPV6_PATHMTU, and IPV6_DONTFRAG.
26817 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
26819         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
26820         and _IO_UNBUFFERED.
26821         * libio/oldfileops.c: Likewise.
26822         * libio/wfileops.c: Likewise.
26824 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26826         * nscd/selinux.c: Delete selinux/flask.h include.
26828 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
26830         [BZ #18641]
26831         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
26832         (putpwent): Likewise.
26833         (getpwnam): Likewise.
26834         (getpwent_r): Likewise.
26835         (getpwuid_r): Likewise.
26836         (getpwnam_r): Likewise.
26837         (fgetpwent_r): Likewise.
26839 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
26841         [BZ #18557]
26842         * inet/rcmd.c (__validuser2_sa): Check user first to
26843         short-circuit host check.
26845 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
26846             Mikhail Ilin  <m.ilin@samsung.com>
26848         [BZ #17833]
26849         * elf/Makefile (tests): Add tst-nodelete.
26850         (modules-names): Add tst-nodelete-uniquemod.
26851         (tst-nodelete-uniquemod.so-no-z-defs): New.
26852         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
26853         (tst-nodelete-zmod.so-no-z-defs): Likewise.
26854         ($(objpfx)tst-nodelete): Likewise.
26855         ($(objpfx)tst-nodelete.out): Likewise.
26856         (LDFLAGS-tst-nodelete): Likewise.
26857         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
26858         * elf/dl-close.c (_dl_close_worker): Add a parameter to
26859         implement forced object deletion.
26860         (_dl_close): Pass false to _dl_close_worker.
26861         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
26862         * elf/tst-nodelete.cc: New file.
26863         * elf/tst-nodeletelib.cc: Likewise.
26864         * elf/tst-znodeletelib.cc: Likewise.
26865         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
26867 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26869         [BZ #18508]
26870         * stdlib/Makefile ($(objpfx)tst-makecontext3):
26871         Depend on $(libdl).
26872         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
26873         is not called infinitely times.
26874         (backtrace_helper): New function.
26875         (trace_arg): New struct.
26876         (st1): Enlarge stack size.
26877         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26878         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
26879         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26880         Likewise.
26882 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26884         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26886 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
26888         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
26889         Include sys/types.h instead of bits/types.h.
26890         Remove inclusion of bits/wordsize.h.
26892 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26894         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
26895         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
26896         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
26897         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
26898         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
26899         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
26901 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26903         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
26904         link-defines.sym.
26905         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
26906         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
26907         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
26908         and LR_SIZE.
26909         * sysdeps/i386/link-defines.sym: New file.
26911 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
26913         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
26914         (modules-names): Add tst-auditmod3a tst-auditmod3b.
26915         ($(objpfx)tst-audit3): New rule.
26916         ($(objpfx)tst-audit3.out): Likewise.
26917         * sysdeps/i386/tst-audit3.c: New file.
26918         * sysdeps/i386/tst-audit3.h: Likewise.
26919         * sysdeps/i386/tst-auditmod3a.c: Likewise.
26920         * sysdeps/i386/tst-auditmod3b.c: Likewise.
26922 2015-07-07  Torvald Riegel  <triegel@redhat.com>
26924         [BZ #18633]
26925         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
26926         pointer in C code.
26927         (__strcat_c): Likewise.
26928         (__strcat_g): Likewise.
26930 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
26932         [BZ #18592]
26933         * misc/sbrk.c: Set errno to ENOMEM on overflow.
26935 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26937         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
26938         New function.  (__ieee754_sqrtf): New function.
26939         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
26940         New function.
26941         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
26942         New function.
26944 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
26946         * sysdeps/ieee754/support.c: Remove unused file.
26948 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26950         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
26951         registers instead of d ones so the layout is kernel abi compatible.
26952         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
26953         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
26954         Likewise.
26956 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26958         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26960 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26962         [BZ #18619]
26963         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
26964         and return argument in case of subnormal argument.
26966 2015-07-01  Martin Sebor  <msebor@redhat.com>
26968         [BZ #18435]
26969         * nptl/Makefile: Add tst-once5.cc.
26970         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26971         Remove macro redefinitions.
26972         * nptl/tst-once5.cc: New test.
26974 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
26976         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26978         * sysdeps/arm/libm-test-ulps: Regenerated.
26980         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26981         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26983 2015-06-30  Torvald Riegel  <triegel@redhat.com>
26985         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
26986         lll_lock_wait_private and lll_futex_wake probes.
26988         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
26989         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
26990         Likewise.
26991         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
26992         atomic_spin_nop.
26993         * sysdeps/x86_64/bits/atomic.h: Likewise.
26994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
26995         to atomic_spin_nop and move ...
26996         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26997         ... here and ...
26998         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
26999         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27000         atomic_spin_nop instead of BUSY_WAIT_NOP.
27001         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27002         Likewise.
27003         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27004         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27005         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27006         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27007         instead of atomic_delay.
27009 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27011         [BZ #18613]
27012         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27013         X_ADJ not X when adjusting exponent.
27014         (__ieee754_gamma_r): Do intermediate computations in
27015         round-to-nearest then adjust overflowing and underflowing results
27016         as needed.
27017         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27018         of X_ADJ not X when adjusting exponent.
27019         (__ieee754_gammaf_r): Do intermediate computations in
27020         round-to-nearest then adjust overflowing and underflowing results
27021         as needed.
27022         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27023         log of X_ADJ not X when adjusting exponent.
27024         (__ieee754_gammal_r): Do intermediate computations in
27025         round-to-nearest then adjust overflowing and underflowing results
27026         as needed.  Use 1.0L not 1.0f as numerator of division.
27027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27028         log of X_ADJ not X when adjusting exponent.
27029         (__ieee754_gammal_r): Do intermediate computations in
27030         round-to-nearest then adjust overflowing and underflowing results
27031         as needed.  Use 1.0L not 1.0f as numerator of division.
27032         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27033         of X_ADJ not X when adjusting exponent.
27034         (__ieee754_gammal_r): Do intermediate computations in
27035         round-to-nearest then adjust overflowing and underflowing results
27036         as needed.  Use 1.0L not 1.0f as numerator of division.
27037         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27038         to auto-libm-test-in.
27039         (tgamma_test): Use ALL_RM_TEST.
27040         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27041         tests of tgamma with spurious-overflow.
27042         * math/auto-libm-test-out: Regenerated.
27043         * math/gen-libm-have-vector-test.sh: Do not check for START.
27044         * sysdeps/i386/fpu/libm-test-ulps: Update.
27045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27047         [BZ #18612]
27048         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27049         arguments, just return 0.5 times the argument, with underflow
27050         forced as needed.
27051         * math/auto-libm-test-in: Add more tests of j1.
27052         * math/auto-libm-test-out: Regenerated.
27054         [BZ #16559]
27055         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27056         (__ieee754_j1): Force underflow exception for small results.
27057         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27058         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27059         (__ieee754_j1f): Force underflow exception for small results.
27060         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27061         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27062         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27063         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27064         (__ieee754_j1l): Force underflow exception for small results.
27065         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27066         * math/auto-libm-test-in: Add more tests of j1 and jn.
27067         * math/auto-libm-test-out: Regenerated.
27069         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27070         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27071         (PF_MPLS): Likewise.
27072         (AF_IB): Likewise.
27073         (AF_MPLS): Likewise.
27074         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27075         value and macro.
27076         (MS_RMT_MASK): Include MS_LAZYTIME.
27078 2015-06-26  Mel Gorman  <mgorman@suse.de>
27080         [BZ #18502]
27081         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27082         already minimal.
27084 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27086         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27087         (DT_MIPS_NUM): Update.
27088         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27089         DT_MIPS_RLD_MAP_REL.
27091 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27093         [BZ #16559]
27094         [BZ #18602]
27095         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27096         round-to-nearest internally then recompute results that
27097         underflowed to zero in the original rounding mode.
27098         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27099         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27100         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27101         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27102         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27103         * sysdeps/i386/fpu/libm-test-ulps: Update.
27104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27106 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27108         * NEWS: Fixed description of link with vector math library.
27110 2015-06-25  Andreas Schwab  <schwab@suse.de>
27112         [BZ #18549]
27113         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27114         * libio/test-fmemopen.c (do_test): Add test for it.
27116 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27118         [BZ #17841]
27119         * Makeconfig (no-pie-ldflag): New.
27120         (+link): Set to $(+link-pie) if default to PIE.
27121         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27122         * config.make.in (build-pie-default): New.
27123         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27124         is default.  AC_SUBST.
27125         * configure: Regenerated.
27126         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27128 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27130         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27131         to 'unsigned int'.
27133         * resolv/gai_misc.h (struct waitlist): Change type of field
27134         counterp to 'volatile unsigned int *'.
27135         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27136         FUTEXADDR and OLDVAL.
27137         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27138         Give local variable TOTAL type 'volatile unsigned int'.
27139         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27140         * resolv/gai_suspend.c (gai_suspend):
27141         Give local variable CNTR type 'unsigned int'.
27143         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27144         counterp to 'volatile unsigned int *'.
27145         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27146         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27147         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27148         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27149         Give local variable TOTAL type 'volatile unsigned int'.
27150         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27152 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27154         [BZ #18383]
27155         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27156         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27157         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27158         comment for i386/x86-64.
27159         (test-xfail-tst-tlsalign-extern-static): Removed.
27161 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27163         * math/test-double.h: New file.
27164         * math/test-float.h: Likewise.
27165         * math/test-ldouble.h: Likewise.
27166         * math/test-math-inline.h: Likewise.
27167         * math/test-math-no-inline.h: Likewise.
27168         * math/test-math-scalar.h: Likewise.
27169         * math/test-math-vector.h: Likewise.
27170         * math/test-vec-loop.h: Remove file.  Contents moved into
27171         test-math-vector.h.
27172         * math/libm-test.inc (MATHCONST): Do not document macro.
27173         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27174         and test-math-scalar.h.
27175         (FUNC): Remove macro.
27176         (FUNC_TEST): Likewise.
27177         (FLOAT): Likewise.
27178         (MATHCONST): Likewise.
27179         (PRINTF_EXPR): Likewise.
27180         (PRINTF_XEXPR): Likewise.
27181         (PRINTF_NEXPR): Likewise.
27182         (TEST_DOUBLE): Likewise.
27183         (TEST_MATHVEC): Likewise.
27184         (__NO_MATH_INLINES): Likewise.
27185         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27186         and test-math-scalar.h.
27187         (FUNC): Remove macro.
27188         (FUNC_TEST): Likewise.
27189         (FLOAT): Likewise.
27190         (MATHCONST): Likewise.
27191         (PRINTF_EXPR): Likewise.
27192         (PRINTF_XEXPR): Likewise.
27193         (PRINTF_NEXPR): Likewise.
27194         (TEST_FLOAT): Likewise.
27195         (TEST_MATHVEC): Likewise.
27196         (__NO_MATH_INLINES): Likewise.
27197         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27198         and test-math-scalar.h.
27199         (FUNC): Remove macro.
27200         (FUNC_TEST): Likewise.
27201         (FLOAT): Likewise.
27202         (MATHCONST): Likewise.
27203         (PRINTF_EXPR): Likewise.
27204         (PRINTF_XEXPR): Likewise.
27205         (PRINTF_NEXPR): Likewise.
27206         (TEST_DOUBLE): Likewise.
27207         (TEST_MATHVEC): Likewise.
27208         (TEST_INLINE): Likewise.
27209         (__NO_MATH_INLINES): Likewise.
27210         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27211         test-math-scalar.h.
27212         (FUNC): Remove macro.
27213         (FUNC_TEST): Likewise.
27214         (FLOAT): Likewise.
27215         (MATHCONST): Likewise.
27216         (PRINTF_EXPR): Likewise.
27217         (PRINTF_XEXPR): Likewise.
27218         (PRINTF_NEXPR): Likewise.
27219         (TEST_FLOAT): Likewise.
27220         (TEST_MATHVEC): Likewise.
27221         (TEST_INLINE): Likewise.
27222         (__NO_MATH_INLINES): Likewise.
27223         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27224         and test-math-scalar.h.
27225         (FUNC): Remove macro.
27226         (FUNC_TEST): Likewise.
27227         (FLOAT): Likewise.
27228         (MATHCONST): Likewise.
27229         (PRINTF_EXPR): Likewise.
27230         (PRINTF_XEXPR): Likewise.
27231         (PRINTF_NEXPR): Likewise.
27232         (TEST_LDOUBLE): Likewise.
27233         (TEST_MATHVEC): Likewise.
27234         (TEST_INLINE): Likewise.
27235         (__NO_MATH_INLINES): Likewise.
27236         * math/test-ldouble.c: Include test-ldouble.h,
27237         test-math-no-inline.h and test-math-scalar.h.
27238         (FUNC): Remove macro.
27239         (FUNC_TEST): Likewise.
27240         (FLOAT): Likewise.
27241         (MATHCONST): Likewise.
27242         (PRINTF_EXPR): Likewise.
27243         (PRINTF_XEXPR): Likewise.
27244         (PRINTF_NEXPR): Likewise.
27245         (TEST_LDOUBLE): Likewise.
27246         (TEST_MATHVEC): Likewise.
27247         (__NO_MATH_INLINES): Likewise.
27248         * math/test-double-vlen2.h: Include test-double.h,
27249         test-math-no-inline.h and test-math-vector.h.
27250         (FLOAT): Remove macro.
27251         (FUNC): Likewise.
27252         (MATHCONST): Likewise.
27253         (PRINTF_EXPR): Likewise.
27254         (PRINTF_XEXPR): Likewise.
27255         (PRINTF_NEXPR): Likewise.
27256         (TEST_DOUBLE): Likewise.
27257         (TEST_MATHVEC): Likewise.
27258         (__NO_MATH_INLINES): Likewise.
27259         (CNCT): Likewise.
27260         (CONCAT): Likewise.
27261         (WRAPPER_NAME): Likewise.
27262         (WRAPPER_DECL): Likewise.
27263         (WRAPPER_DECL_ff): Likewise.
27264         (WRAPPER_DECL_fFF): Likewise.
27265         (VECTOR_WRAPPER): Likewise.
27266         (VECTOR_WRAPPER_ff): Likewise.
27267         (VECTOR_WRAPPER_fFF): Likewise.
27268         (VEC_LEN): New macro.
27269         * math/test-double-vlen4.h: Include test-double.h,
27270         test-math-no-inline.h and test-math-vector.h.
27271         (FLOAT): Remove macro.
27272         (FUNC): Likewise.
27273         (MATHCONST): Likewise.
27274         (PRINTF_EXPR): Likewise.
27275         (PRINTF_XEXPR): Likewise.
27276         (PRINTF_NEXPR): Likewise.
27277         (TEST_DOUBLE): Likewise.
27278         (TEST_MATHVEC): Likewise.
27279         (__NO_MATH_INLINES): Likewise.
27280         (CNCT): Likewise.
27281         (CONCAT): Likewise.
27282         (WRAPPER_NAME): Likewise.
27283         (WRAPPER_DECL): Likewise.
27284         (WRAPPER_DECL_ff): Likewise.
27285         (WRAPPER_DECL_fFF): Likewise.
27286         (VECTOR_WRAPPER): Likewise.
27287         (VECTOR_WRAPPER_ff): Likewise.
27288         (VECTOR_WRAPPER_fFF): Likewise.
27289         (VEC_LEN): New macro.
27290         * math/test-double-vlen8.h: Include test-double.h,
27291         test-math-no-inline.h and test-math-vector.h.
27292         (FLOAT): Remove macro.
27293         (FUNC): Likewise.
27294         (MATHCONST): Likewise.
27295         (PRINTF_EXPR): Likewise.
27296         (PRINTF_XEXPR): Likewise.
27297         (PRINTF_NEXPR): Likewise.
27298         (TEST_DOUBLE): Likewise.
27299         (TEST_MATHVEC): Likewise.
27300         (__NO_MATH_INLINES): Likewise.
27301         (CNCT): Likewise.
27302         (CONCAT): Likewise.
27303         (WRAPPER_NAME): Likewise.
27304         (WRAPPER_DECL): Likewise.
27305         (WRAPPER_DECL_ff): Likewise.
27306         (WRAPPER_DECL_fFF): Likewise.
27307         (VECTOR_WRAPPER): Likewise.
27308         (VECTOR_WRAPPER_ff): Likewise.
27309         (VECTOR_WRAPPER_fFF): Likewise.
27310         (VEC_LEN): New macro.
27311         * math/test-float-vlen4.h: Include test-float.h,
27312         test-math-no-inline.h and test-math-vector.h.
27313         (FLOAT): Remove macro.
27314         (FUNC): Likewise.
27315         (MATHCONST): Likewise.
27316         (PRINTF_EXPR): Likewise.
27317         (PRINTF_XEXPR): Likewise.
27318         (PRINTF_NEXPR): Likewise.
27319         (TEST_FLOAT): Likewise.
27320         (TEST_MATHVEC): Likewise.
27321         (__NO_MATH_INLINES): Likewise.
27322         (CNCT): Likewise.
27323         (CONCAT): Likewise.
27324         (WRAPPER_NAME): Likewise.
27325         (WRAPPER_DECL): Likewise.
27326         (WRAPPER_DECL_ff): Likewise.
27327         (WRAPPER_DECL_fFF): Likewise.
27328         (VECTOR_WRAPPER): Likewise.
27329         (VECTOR_WRAPPER_ff): Likewise.
27330         (VECTOR_WRAPPER_fFF): Likewise.
27331         (VEC_LEN): New macro.
27332         * math/test-float-vlen8.h: Include test-float.h,
27333         test-math-no-inline.h and test-math-vector.h.
27334         (FLOAT): Remove macro.
27335         (FUNC): Likewise.
27336         (MATHCONST): Likewise.
27337         (PRINTF_EXPR): Likewise.
27338         (PRINTF_XEXPR): Likewise.
27339         (PRINTF_NEXPR): Likewise.
27340         (TEST_FLOAT): Likewise.
27341         (TEST_MATHVEC): Likewise.
27342         (__NO_MATH_INLINES): Likewise.
27343         (CNCT): Likewise.
27344         (CONCAT): Likewise.
27345         (WRAPPER_NAME): Likewise.
27346         (WRAPPER_DECL): Likewise.
27347         (WRAPPER_DECL_ff): Likewise.
27348         (WRAPPER_DECL_fFF): Likewise.
27349         (VECTOR_WRAPPER): Likewise.
27350         (VECTOR_WRAPPER_ff): Likewise.
27351         (VECTOR_WRAPPER_fFF): Likewise.
27352         (VEC_LEN): New macro.
27353         * math/test-float-vlen16.h: Include test-float.h,
27354         test-math-no-inline.h and test-math-vector.h.
27355         (FLOAT): Remove macro.
27356         (FUNC): Likewise.
27357         (MATHCONST): Likewise.
27358         (PRINTF_EXPR): Likewise.
27359         (PRINTF_XEXPR): Likewise.
27360         (PRINTF_NEXPR): Likewise.
27361         (TEST_FLOAT): Likewise.
27362         (TEST_MATHVEC): Likewise.
27363         (__NO_MATH_INLINES): Likewise.
27364         (CNCT): Likewise.
27365         (CONCAT): Likewise.
27366         (WRAPPER_NAME): Likewise.
27367         (WRAPPER_DECL): Likewise.
27368         (WRAPPER_DECL_ff): Likewise.
27369         (WRAPPER_DECL_fFF): Likewise.
27370         (VECTOR_WRAPPER): Likewise.
27371         (VECTOR_WRAPPER_ff): Likewise.
27372         (VECTOR_WRAPPER_fFF): Likewise.
27373         (VEC_LEN): New macro.
27374         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27375         test-vec-loop.h.
27376         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27377         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27378         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27379         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27380         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27381         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27382         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27384 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27386         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27387         (__getlogin_r): ... this.
27389 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27391         [BZ #18594]
27392         * math/s_ccosh.c (__ccosh): Compare with least normal value
27393         instead of comparing class with FP_SUBNORMAL.
27394         * math/s_ccoshf.c (__ccoshf): Likewise.
27395         * math/s_ccoshl.c (__ccoshl): Likewise.
27396         * math/s_cexp.c (__cexp): Likewise.
27397         * math/s_cexpf.c (__cexpf): Likewise.
27398         * math/s_cexpl.c (__cexpl): Likewise.
27399         * math/s_csin.c (__csin): Likewise.
27400         * math/s_csinf.c (__csinf): Likewise.
27401         * math/s_csinh.c (__csinh): Likewise.
27402         * math/s_csinhf.c (__csinhf): Likewise.
27403         * math/s_csinhl.c (__csinhl): Likewise.
27404         * math/s_csinl.c (__csinl): Likewise.
27405         * math/s_ctan.c (__ctan): Likewise.
27406         * math/s_ctanf.c (__ctanf): Likewise.
27407         * math/s_ctanh.c (__ctanh): Likewise.
27408         * math/s_ctanhf.c (__ctanhf): Likewise.
27409         * math/s_ctanhl.c (__ctanhl): Likewise.
27410         * math/s_ctanl.c (__ctanl): Likewise.
27411         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27412         csin, csinh, ctan and ctanh.
27413         * math/auto-libm-test-out: Regenerated.
27414         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27415         * sysdeps/i386/fpu/libm-test-ulps: Update.
27416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27418 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27420         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27421         return value is wrong, print the expected value too.
27423 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27425         [BZ #18585]
27426         * elf/readlib.c (is_gdb_python_file): New.
27427         (process_file): Don't issue errors on filenames with -gdb.py
27428         suffix.
27430 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27432         * math/auto-libm-test-in: Add more tests of csin and csinh.
27433         * math/auto-libm-test-out: Regenerated.
27434         * math/libm-test.inc (csin_test_data): Remove tests moved to
27435         auto-libm-test-in.
27436         (csinh_test_data): Likewise.
27438         [BZ #18593]
27439         * math/s_csin.c (__csin): Negate before rather than after possibly
27440         overflowing multiplication.
27441         * math/s_csinf.c (__csinf): Likewise.
27442         * math/s_csinh.c (__csinh): Likewise.
27443         * math/s_csinhf.c (__csinhf): Likewise.
27444         * math/s_csinhl.c (__csinhl): Likewise.
27445         * math/s_csinl.c (__csinl): Likewise.
27446         * math/auto-libm-test-in: Add some tests of csin and csinh.
27447         * math/auto-libm-test-out: Regenerated.
27448         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27449         (csinh_test_data): Likewise.
27450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27452         [BZ #18586]
27453         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27454         underflow exception for small results.
27456 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27458         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27459         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27460         variable and included header.
27461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27462         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27463         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27464         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27465         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27466         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27468         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27469         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27470         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27471         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27472         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27473         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27474         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27475         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27476         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27478 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27480         [BZ #16526]
27481         [BZ #16538]
27482         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27483         (__sin): Force underflow exception for arguments with small
27484         absolute value.
27485         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27486         (__kernel_sinf): Force underflow exception for arguments with
27487         small absolute value.
27488         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27489         (__kernel_sincosl): Force underflow exception for arguments with
27490         small absolute value.
27491         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27492         (__kernel_sinl): Force underflow exception for arguments with
27493         small absolute value.
27494         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27495         (__kernel_sincosl): Force underflow exception for arguments with
27496         small absolute value.
27497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27498         (__kernel_sinl): Force underflow exception for arguments with
27499         small absolute value.
27500         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27501         (__kernel_sinl): Force underflow exception for arguments with
27502         small absolute value.
27503         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27504         (__kernel_sinf): Force underflow exception for arguments with
27505         small absolute value.
27506         * math/auto-libm-test-in: Add more tests of sin and sincos.
27507         * math/auto-libm-test-out: Regenerated.
27509         [BZ #18245]
27510         [BZ #18583]
27511         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27512         (__kernel_standard_l): Use feholdexcept and fesetenv around
27513         conversion to double instead of special-casing overflow and
27514         underflow.
27515         * math/libm-test.inc (fmod_test_data): Add more tests.
27516         (remainder_test_data): Likewise.
27517         (sqrt_test_data): Likewise.
27519 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27521         [BZ #17403]
27522         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27523         atomic_read_barrier, atomic_write_barrier): Define.
27524         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27525         atomic_read_barrier, atomic_write_barrier): Define.
27527 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27529         * math/Makefile [$(PERL) != no]
27530         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27531         dependency on libm-test.stmp below the inclusion of Rules.
27533 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27535         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27536         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27537         and included header.
27538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27540         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27542         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27544         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27546         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27547         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27548         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27549         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27550         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27551         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27552         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27553         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27554         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27555         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27556         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27558 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27560         [BZ #18371]
27561         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27562         intermediate but not final result might underflow.
27563         * math/s_csqrtf.c (__csqrtf): Likewise.
27564         * math/s_csqrtl.c (__csqrtl): Likewise.
27565         * math/auto-libm-test-in: Add more tests of csqrt.
27566         * math/auto-libm-test-out: Regenerated.
27567         * sysdeps/i386/fpu/libm-test-ulps: Update.
27569         [BZ #18219]
27570         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27571         threshold on absolute value of exponent for which scaling is used.
27572         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27573         * math/auto-libm-test-in: Add more tests of exp2.
27574         * math/auto-libm-test-out: Regenerated.
27576 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27578         [BZ #17977]
27579         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27580         when initializing interface list, based on the bug analysis
27581         and the patch proposed by Eric Newton.
27582         * resolv/tst-res_hconf_reorder.c: New test.
27583         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27584         tst-res_hconf_reorder.
27585         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27586         and $(shared-thread-library).
27587         (tst-res_hconf_reorder-ENV): New variable.
27589         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27590         in comment.
27592 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27594         [BZ #16353]
27595         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27596         (__expm1): Force underflow exception for arguments with small
27597         absolute value.
27598         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27599         (__expm1f): Force underflow exception for arguments with small
27600         absolute value.
27601         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27602         (__expm1): Force underflow exception for arguments with small
27603         absolute value.
27604         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27605         (__expm1f): Force underflow exception for arguments with small
27606         absolute value.
27607         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27608         Check for small arguments before calling __expm1.
27609         * math/auto-libm-test-in: Do not mark underflow exceptions as
27610         possibly missing for bug 16353.
27611         * math/auto-libm-test-out: Regenerated.
27613 2015-06-22  Andreas Schwab  <schwab@suse.de>
27615         [BZ #18513]
27616         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27617         PTR queries.
27619 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27621         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27623         * string/strcoll_l.c: Remove unused struct element idxnow.
27625 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27627         [BZ #18569]
27628         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27629         underflow and return argument in case of subnormal argument.
27630         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27631         Likewise.
27632         * math/auto-libm-test-in: Add more tests of expm1.
27633         * math/auto-libm-test-out: Regenerated.
27635         [BZ #16361]
27636         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27637         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27638         tiny results.
27639         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27640         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27641         tiny results.
27642         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27643         mark underflow exceptions as possibly missing for bug 16361.
27644         * math/auto-libm-test-out: Regenerated.
27646 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27648         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27649         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27650         Remove variable.
27651         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27652         (test-xfail-XOPEN2K8/utmpx.h/conform).
27654         * conform/conformtest.pl ($xerrors): New variable.
27655         (note_error): New function.
27656         (compiletest): New argument $xfail.  Use not_error.
27657         (runtest): Likewise.
27658         (top level): Handle xfail- lines.  Update calls to compiletest and
27659         runtest.  Handle xfail- and optional- in headers listed with
27660         allow-header.
27661         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27662         (O_EXEC): Likewise.
27663         (O_SEARCH): Likewise.
27664         * conform/data/stropts.h-data (ioctl): Likewise.
27665         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27666         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27667         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27668         (msghdr.msg_controllen): Likewise.
27669         (cmsghdr.cmsg_len): Likewise.
27670         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27671         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27672         variable.
27673         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27674         (test-xfail-XPG4/stropts.h/conform): Likewise.
27675         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27676         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27677         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27678         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27679         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27680         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27681         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27682         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27683         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27684         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27685         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27686         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27687         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27688         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27689         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27690         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27691         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27692         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27693         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27695 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27697         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27698         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27699         definitions for proper unfolding of __MATHDECL_VEC.
27701 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27703         * benchtests/bench-strcoll.c:
27704         Include string.h.
27705         (main): Remove unused variable res.
27707 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27709         * timezone/Makefile (%/UTC %/Universal):
27710         Generate test-result files for UTC and Universal.
27712 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27716 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27718         [BZ #16350]
27719         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
27720         for arguments with small absolute value.
27721         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
27722         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
27723         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
27724         (__asinh): Force underflow exception for arguments with small
27725         absolute value.
27726         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
27727         (__asinhf): Force underflow exception for arguments with small
27728         absolute value.
27729         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
27730         (__asinhl): Force underflow exception for arguments with small
27731         absolute value.
27732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
27733         (__asinhl): Force underflow exception for arguments with small
27734         absolute value.
27735         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
27736         (__asinhl): Force underflow exception for arguments with small
27737         absolute value.
27738         * math/auto-libm-test-in: Do not mark underflow exceptions as
27739         possibly missing for bug 16350.
27740         * math/auto-libm-test-out: Regenerated.
27742         * include/bits/ipc.h: Remove file.
27743         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
27744         variable.
27745         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
27746         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
27747         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
27748         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
27749         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
27750         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
27751         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
27752         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
27753         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
27755         * math/auto-libm-test-in: Remove spurious underflow allowance for
27756         tests of cexp.
27757         * math/auto-libm-test-out: Regenerated.
27759         [BZ #18558]
27760         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
27761         unconditional definition.
27762         (MCAST_BLOCK_SOURCE): Likewise.
27763         (MCAST_UNBLOCK_SOURCE): Likewise.
27764         (MCAST_LEAVE_GROUP): Likewise.
27765         (MCAST_JOIN_SOURCE_GROUP): Likewise.
27766         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
27767         (MCAST_MSFILTER): Likewise.
27768         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
27769         Remove variable.
27770         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
27771         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
27772         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
27773         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
27774         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
27776 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
27778         * NEWS: Mention addition of x86_64 vector sincosf.
27779         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
27780         * math/test-float-vlen4.h: Likewise.
27781         * math/test-float-vlen8.h: Likewise.
27782         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27783         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
27784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27785         * sysdeps/x86_64/fpu/Versions: New versions added.
27786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27788         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27789         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
27790         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
27791         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
27792         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
27793         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
27794         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
27795         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
27796         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
27797         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
27798         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
27799         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
27800         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
27801         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
27802         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
27803         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27804         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27805         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27807         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27808         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27809         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27811         * NEWS: Mention addition of x86_64 vector sincos.
27812         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
27813         * math/math.h (__MATHDECL_VEC): New macro.
27814         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
27815         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
27816         declaration under condition.
27817         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
27818         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
27819         TEST_VEC_LOOP change.
27820         * math/test-double-vlen4.h: Likewise.
27821         * math/test-double-vlen8.h: Likewise.
27822         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
27823         * math/test-float-vlen4.h: Likewise.
27824         * math/test-float-vlen8.h: Likewise.
27825         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27826         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
27827         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27828         * sysdeps/x86_64/fpu/Versions: New versions added.
27829         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27830         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27831         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
27833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
27834         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
27835         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
27836         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
27837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
27838         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
27839         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
27840         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
27841         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
27842         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
27843         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
27844         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
27845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
27846         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
27847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
27849         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27850         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27851         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27852         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
27854         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
27855         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
27856         redirections for powf.
27857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
27858         * sysdeps/x86_64/fpu/Versions: New versions added.
27859         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27860         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
27861         Added build of SSE, AVX2 and AVX512 IFUNC versions.
27862         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
27863         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
27864         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
27865         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
27866         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
27867         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
27868         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
27869         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
27870         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
27871         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
27872         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
27873         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
27874         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
27875         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
27876         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
27877         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27878         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
27879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
27881         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27882         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27883         * math/test-float-vlen16.h: Fixed 2 argument macro.
27884         * math/test-float-vlen4.h: Likewise.
27885         * math/test-float-vlen8.h: Likewise.
27886         * NEWS: Mention addition of x86_64 vector powf.
27888 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
27890         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27891         and redefine.
27892         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27893         and redefine.
27894         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
27895         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27896         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27898         [BZ #18553]
27899         * resource/getpriority.c (getpriority): Rename to __getpriority
27900         and define as weak alias of __getpriority.
27901         * resource/setpriority.c (setpriority): Rename to __setpriority
27902         and define as weak alias of __setpriority.
27903         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
27904         __getpriority and define as weak alias of __getpriority.
27905         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
27906         __setpriority and define as weak alias of __setpriority.
27907         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
27908         strong name.
27909         (setpriority): Use __setpriority as strong name.
27910         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
27911         __getpriority and define as weak alias of __getpriority.
27912         * include/sys/resource.h (__getpriority): Declare.  Use
27913         libc_hidden_proto.
27914         (__setpriority): Likewise.
27915         (getpriority): Don't use libc_hidden_proto.
27916         (setpriority): Likewise.
27917         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
27918         getpriority.  Call __setpriority instead of setpriority.
27919         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
27920         Remove variable.
27922         [BZ #18547]
27923         * misc/getttyent.c (getttynam): Rename to __getttynam and define
27924         as weak alias of __getttynam.  Use prototype function definition.
27925         Call __setttyent, __getttyent and __endttyent instead of
27926         setttyent, getttyent and endttyent.
27927         (getttyent): Rename to __getttyent and define as weak alias of
27928         __getttyent.  Call __setttyent instead of setttyent.  Call
27929         __fgets_unlocked instead of fgets_unlocked.
27930         (setttyent): Rename to __setttyent and define as weak alias of
27931         __setttyent.
27932         (endttyent): Rename to __endttyent and define as weak alias of
27933         __endttyent.
27934         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
27935         (__setttyent): Likewise.
27936         (__endttyent): Likewise.
27937         (getttyent): Don't use libc_hidden_proto.
27938         (setttyent): Likewise.
27939         (endttyent): Likewise.
27940         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
27941         __endttyent instead of setttyent, getttyent and endttyent.
27942         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
27943         Remove variable.
27945         [BZ #18546]
27946         * socket/recv.c (__recv): Use libc_hidden_def.
27947         * socket/socket.c (__socket): Likewise.
27948         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27949         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27950         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
27951         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
27952         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
27953         libc_hidden_def.
27954         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
27955         libc_hidden_weak.
27956         * include/sys/socket.h (__socket): Do not use attribute_hidden.
27957         Use libc_hidden_proto.
27958         (__recv): Likewise.
27959         * socket/Versions (libc): Export __recv and __socket at version
27960         GLIBC_PRIVATE.
27961         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
27962         instead of recv.
27963         (init_mq_netlink): Call __socket instead of socket.
27964         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
27965         Remove variable.
27967         [BZ #18545]
27968         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
27969         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
27970         hidden_weak.
27971         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
27972         define as alias of __mq_timedsend.  Use hidden_weak.
27973         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
27974         __mq_timedsend as strong name.
27975         (mq_timedreceive): Use __mq_timedreceive as strong name.
27976         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
27977         (__mq_timedreceive): Likewise.
27978         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
27979         __mq_timedreceive instead of mq_timedreceive.
27980         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
27981         instead of mq_timedsend.
27982         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
27983         Remove variable.
27985         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
27986         hidden_def and hidden_weak instead of libc_hidden_def and
27987         libc_hidden_weak.
27988         (top level): Refer to hidden_def in comment.
27989         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
27990         macro.  Use it instead of libc_hidden_def.
27991         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
27992         specify __GI_* name explicitly.
27993         (mq_timedreceive): Likewise.
27994         (mq_setattr): Likewise.
27996         [BZ #18544]
27997         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
27998         __pthread_barrier_init and define as weak alias of
27999         __pthread_barrier_init.
28000         * sysdeps/sparc/nptl/pthread_barrier_init.c
28001         (pthread_barrier_init): Likewise.
28002         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28003         __pthread_barrier_wait and define as weak alias of
28004         __pthread_barrier_wait.
28005         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28006         (pthread_barrier_wait): Likewise.
28007         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28008         (pthread_barrier_wait): Likewise.
28009         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28010         (pthread_barrier_wait): Likewise.
28011         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28012         (pthread_barrier_wait): Likewise.
28013         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28014         __pthread_barrier_wait at version GLIBC_PRIVATE.
28015         * include/pthread.h (__pthread_barrier_init): Declare.
28016         (__pthread_barrier_wait): Likewise.
28017         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28018         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28019         (helper_thread): Likewise.
28020         (init_mq_netlink): Call __pthread_barrier_init instead of
28021         pthread_barrier_init.
28023         [BZ #18542]
28024         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28025         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28026         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28027         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28028         vswscanf.
28029         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28030         Remove variable.
28032         [BZ #18540]
28033         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28034         strong alias of _IO_fflush.  Use libc_hidden_def.
28035         * libio/iofflush_u.c (fflush_unlocked): Rename to
28036         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28037         Use libc_hidden_weak.
28038         * include/stdio.h (__fflush_unlocked): Declare.  Use
28039         libc_hidden_proto.
28040         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28041         fflush_unlocked.
28042         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28043         Remove variable.
28045         [BZ #18539]
28046         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28047         define as weak alias of __addseverity.
28048         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28049         Remove variable.
28050         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28051         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28052         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28054         [BZ #18536]
28055         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28056         (__tfind): Likewise.
28057         (__tdelete): Likewise.
28058         (__twalk): Likewise.
28059         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28060         __twalk to GLIBC_PRIVATE.
28061         * include/search.h (__tsearch): Use libc_hidden_proto.
28062         (__tfind): Likewise.
28063         (__tdelete): Likewise.
28064         (__twalk): Likewise.
28065         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28066         Call __tdelete instead of tdelete.
28067         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28068         tfind.  Call __tsearch instead of tsearch.
28069         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28070         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28071         Remove variable.
28072         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28074         [BZ #18534]
28075         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28076         (dprintf): Define as a weak alias of __dprintf, not a strong
28077         alias.
28078         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28079         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28080         dprintf.
28081         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28082         Remove variable.
28083         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28084         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28086         [BZ #18533]
28087         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28088         not a strong alias.
28089         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28090         Remove variable.
28092         [BZ #18532]
28093         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28094         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28095         (in6addr_loopback): Rename to __in6addr_loopback and define as
28096         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28097         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28098         libc_hidden_proto.
28099         (__in6addr_any): Likewise.
28100         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28101         in6addr_any.
28102         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28103         variable.
28104         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28106 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28108         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28109         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28110         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28111         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28112         redirections for pow.
28113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28114         * sysdeps/x86_64/fpu/Versions: New versions added.
28115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28116         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28117         build of SSE, AVX2 and AVX512 IFUNC versions.
28118         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28119         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28120         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28121         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28122         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28123         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28125         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28126         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28127         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28128         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28129         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28130         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28132         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28138         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28139         * NEWS: Mention addition of x86_64 vector pow.
28141         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28142         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28143         redirections for expf.
28144         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28145         * sysdeps/x86_64/fpu/Versions: New versions added.
28146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28147         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28148         build of SSE, AVX2 and AVX512 IFUNC versions.
28149         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28150         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28151         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28152         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28153         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28154         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28155         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28156         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28157         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28158         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28159         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28160         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28161         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28162         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28163         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28164         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28165         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28166         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28168         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28169         * NEWS: Mention addition of x86_64 vector expf.
28171         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28172         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28175         redirections for exp.
28176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28177         * sysdeps/x86_64/fpu/Versions: New versions added.
28178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28180         build of SSE, AVX2 and AVX512 IFUNC versions.
28181         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28182         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28183         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28184         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28185         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28186         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28187         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28188         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28189         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28190         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28191         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28192         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28194         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28195         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28197         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28198         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28199         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28200         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28201         * NEWS: Mention addition of x86_64 vector exp.
28203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28204         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28205         redirections for logf.
28206         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28207         * sysdeps/x86_64/fpu/Versions: New versions added.
28208         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28209         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28210         build of SSE, AVX2 and AVX512 IFUNC versions.
28211         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28212         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28213         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28214         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28215         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28216         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28217         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28218         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28219         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28220         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28221         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28222         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28223         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28224         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28225         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28226         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28227         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28228         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28229         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28230         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28231         * NEWS: Mention addition of x86_64 vector logf.
28233         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28234         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28236         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28237         redirections for log.
28238         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28239         * sysdeps/x86_64/fpu/Versions: New versions added.
28240         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28241         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28242         build of SSE, AVX2 and AVX512 IFUNC versions.
28243         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28244         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28245         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28246         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28247         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28248         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28249         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28250         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28251         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28252         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28253         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28254         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28255         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28256         test.
28257         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28258         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28259         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28260         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28261         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28262         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28263         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28264         * NEWS: Mention addition of x86_64 vector log.
28266 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28268         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28269         cfi_adjust_cfa_offset argument.
28270         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28271         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28273         [BZ #18034]
28274         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28275         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28276         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28277         ordering using ldar.
28278         (_dl_tlsdesc_dynamic): Likewise.
28279         (_dl_tlsdesc_return_lazy): Likewise.
28280         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28281         relaxed atomics instead of volatile and synchronize with release store.
28282         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28283         volatile.
28284         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28286 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28288         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28289         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28291         * sysdeps/x86_64/fpu/Versions: New versions added.
28292         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28293         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28294         build of SSE, AVX2 and AVX512 IFUNC versions.
28295         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28296         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28297         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28299         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28301         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28302         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28303         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28304         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28305         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28306         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28307         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28308         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28309         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28310         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28311         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28312         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28313         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28314         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28315         * NEWS: Mention addition of x86_64 vector sinf.
28317 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28319         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28320         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28321         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28322         Remove variable.
28323         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28324         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28326 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28328         [BZ #18530]
28329         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28330         strong alias of _IO_fputs.  Use libc_hidden_def.
28331         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28332         and define as weak alias of __fputs_unlocked.  Use
28333         libc_hidden_weak.
28334         * include/stdio.h (__fputs_unlocked): Declare.  Use
28335         libc_hidden_proto.
28336         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28337         fputs_unlocked.
28339         [BZ #18529]
28340         * resolv/netdb.h [__USE_POSIX]: Change condition to
28341         [__USE_XOPEN2K].
28342         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28343         not expect.
28344         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28345         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28346         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28347         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28348         [XPG4 || UNIX98] (AI_ALL): Likewise.
28349         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28350         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28351         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28352         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28353         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28354         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28355         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28356         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28357         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28358         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28359         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28360         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28361         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28362         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28363         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28364         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28365         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28366         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28367         [XPG4 || UNIX98] (gai_strerror): Likewise.
28368         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28369         [XPG4 || UNIX98] (getnameinfo): Likewise.
28371         [BZ #18528]
28372         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28373         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28374         __USE_XOPEN2K8].
28375         (getgrent): Likewise.
28376         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28377         expect.
28378         [XPG3 || POSIX2008] (endgrent): Likewise.
28379         [XPG3] (setgrent): Likewise.
28380         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28381         variable.
28382         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28384         [BZ #18527]
28385         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28386         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28387         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28388         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28389         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28390         * include/unistd.h (__getlogin_r): Declare.  Use
28391         libc_hidden_proto.
28392         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28393         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28394         variable.
28395         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28396         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28397         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28399 2015-06-12  Martin Sebor  <msebor@redhat.com>
28401         [BZ #18512]
28402         * Makerules (check-install-supported): New target.
28403         (install): Add check-install-supported as a dependency.
28404         * manual/install.texi (Installing the C Library): Document
28405         that overriding prefix and exec_prefix is not supported.
28406         Mention DESTDIR.
28407         * INSTALL: Regenerate from the above.
28409 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28411         [BZ #18519]
28412         * posix/Versions (libc): Export __libc_pread at version
28413         GLIBC_PRIVATE.
28414         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28415         instead of pread.
28416         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28417         variable.
28419         [BZ #18522]
28420         * misc/efgcvt_r.c
28421         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28422         (cvt_symbol): Use weak_alias instead of strong_alias.
28423         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28424         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28425         Remove variable.
28426         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28427         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28429         [BZ #18520]
28430         * inet/herrno.c (h_errno): Rename to __h_errno.
28431         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28432         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28433         to __h_errno instead of h_errno.
28434         * nptl/herrno.c (h_errno): Rename to __h_errno.
28435         (__h_errno_location): Refer to __h_errno not h_errno.
28436         * resolv/Versions (h_errno): Rename to __h_errno.
28437         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28438         Remove variable.
28439         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28441 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28443         * configure.ac: More strict check for AVX512 assembler support.
28444         * configure: Regenerated.
28446         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28447         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28449         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28451         * sysdeps/x86_64/fpu/Versions: New versions added.
28452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28454         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28455         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28456         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28457         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28458         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28459         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28460         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28461         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28462         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28463         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28464         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28465         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28466         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28468         test.
28469         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28471         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28472         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28473         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28474         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28475         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28476         * NEWS: Mention addition of x86_64 vector sin.
28478 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28480         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28481         comment.
28483 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28485         [BZ #18479]
28486         * nptl/pt-interp.c: New file.
28487         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28488         Add pt-interp.
28489         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28490         $(common-objpfx)runtime-linker.h.
28492 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28494         * Makeconfig (+interp): Remove unused variable.
28495         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28496         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28497         $(elf-objpfx)runtime-linker.h.
28498         ($(elf-objpfx)runtime-linker.h): Rename to
28499         $(common-objpfx)runtime-linker.h and move ...
28500         * Makerules [$(build-shared) = yes]: ... here.
28501         * elf/interp.c: Include <runtime-linker.h> instead of
28502         <elf/runtime-linker.h>.
28504 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28506         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28507         (__gettimeofday_syscall): Remove vsyscall fallback.
28508         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28509         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28510         Add syscall fallback function.
28511         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28512         if vDSO is not present.
28513         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28514         fallback function.
28515         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28516         present.
28517         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28518         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28520 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28522         [BZ #18497]
28523         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28524         of wcscmp.
28525         (wcscmp): Define as weak alias of WCSCMP.
28526         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28527         wcscoll.
28528         (USE_HIDDEN_DEF): Define.
28529         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28530         __wcscoll.  Don't use libc_hidden_weak.
28531         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28532         wcscmp.
28533         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28534         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28535         __GI_wcscmp.
28536         (weak_alias): Undefine and redefine.
28537         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28538         __wcscmp and define as weak alias of __wcscmp.
28539         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28540         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28541         (__wcscoll): Likewise.
28542         (wcscmp): Don't use libc_hidden_proto.
28543         (wcscoll): Likewise.
28544         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28545         wcscoll.
28546         * posix/regexec.c (check_node_accept_bytes): Likewise.
28547         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28548         variable.
28549         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28550         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28552         [BZ #18507]
28553         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28554         __fstatvfs and define as weak alias of __fstatvfs.  Use
28555         libc_hidden_weak.
28556         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28557         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28558         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28559         Define as alias of __fstatvfs, not fstatvfs.
28560         (fstatvfs64): Likewise.
28561         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28562         Define as alias of __statvfs, not statvfs.
28563         (statvfs64): Likewise.
28564         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28565         Remove variable.
28567 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28570         (HAVE_GETCPU_VSYSCALL): Define.
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28572         (HAVE_GETCPU_VSYSCALL): Likewise.
28573         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28574         * sysdeps/unix/sysv/linux/sched_getcpu.c
28575         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28576         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28577         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28578         prototype.
28579         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28580         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28581         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28583         Define.
28584         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28585         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28586         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28587         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28589 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28591         * sysdeps/x86_64/fpu/Makefile: New file.
28592         * sysdeps/x86_64/fpu/Versions: New file.
28593         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28594         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28595         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28596         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28597         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28598         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28599         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28600         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28601         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28602         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28603         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28604         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28605         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28608         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28609         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28610         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28611         * sysdeps/x86_64/configure: Regenerated.
28612         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28614         * manual/install.texi (Configuring and compiling): Document
28615         --disable-mathvec.
28616         * INSTALL: Regenerated.
28617         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28619         * math/Makefile: Added rules for vector tests.
28620         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28621         declaration under condition.
28622         * math/test-double-vlen2.h: New file.
28623         * math/test-double-vlen4.h: New file.
28624         * math/test-double-vlen8.h: New file.
28625         * math/test-vec-loop.h: Added initialization macro.
28626         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28627         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28628         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28629         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28630         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28631         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28632         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28633         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28634         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28635         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28636         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28638         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28639         * sysdeps/x86_64/fpu/Versions: New versions added.
28640         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28641         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28642         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28643         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28644         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28647         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28648         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28650         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28651         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28652         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28654         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28655         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28656         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28657         * NEWS: Mention addition of x86_64 vector cosf.
28659         * math/Makefile: Added CFLAGS for new tests.
28660         * math/test-float-vlen16.h: New file.
28661         * math/test-float-vlen4.h: New file.
28662         * math/test-float-vlen8.h: New file.
28663         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28664         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28665         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28666         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28667         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28668         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28669         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28670         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28672         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28673         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28675 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28677         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28678         * locale/programs/ld-ctype.c: Likewise.
28680 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28682         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28683         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28684         bit_ZMM16_31_state): New macro.
28685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28686         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28688 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28690         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28692 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28694         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28696 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28698         [BZ #18498]
28699         * libio/memstream.c (open_memstream): Rename to __open_memstream
28700         and define as weak alias of __open_memstream.
28701         * include/stdio.h (__open_memstream): Declare.  Use
28702         libc_hidden_proto.
28703         (open_memstream): Don't use libc_hidden_proto.
28704         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28705         open_memstream.
28706         * posix/getopt.c (_getopt_internal_r): Likewise.
28707         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28708         variable.
28709         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28710         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28711         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28713         [BZ #18496]
28714         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28715         instead of wcrtomb.
28717         [BZ #18483]
28718         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
28719         [__USE_XOPEN2K8].  Remove redundant #endif.
28720         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
28721         Remove redundant #if.
28722         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28723         Remove variable.
28724         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
28725         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
28727         [BZ #18495]
28728         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
28729         (__iswlower): Likewise.
28730         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
28731         (__iswlower): Likewise.
28732         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
28733         instead of towlower.
28734         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
28735         instead of iswlower.  Call __towupper instead of towupper.
28736         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
28737         instead of iswalnum.
28739 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28741         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
28742         errors to stderr.
28744 2015-06-05  Florian Weimer  <fweimer@redhat.com>
28746         [BZ #15661]
28747         [BZ #17322]
28748         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28749         Check for overflow properly.  Check for O_APPEND.  Ignore large
28750         file system block sizes.  Add comments about problems.
28751         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
28752         * manual/filesys.texi (Storage Allocation): New node.
28754 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28756         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
28757         cancellable syscalls.
28758         (SYS_ify): Add guard to no redefine it.
28759         (INLINE_SYSCALL): Likewise.
28760         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
28761         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
28762         SYSCALL_CANCEL instead.
28763         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
28764         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28765         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28766         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28767         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28768         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
28769         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
28770         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
28771         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28772         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28773         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
28774         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
28775         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
28776         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
28777         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
28778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28779         Likewise.
28780         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28781         (__libc_pread64): Likewise.
28782         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
28783         (__libc_preadv): Likewise.
28784         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
28785         (__libc_readv64): Likewise.
28786         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28787         (__libc_pwrite): Likewise.
28788         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28789         (__libc_pwrite64): Likewise.
28790         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
28791         (__libc_pwritev): Likewise.
28792         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
28793         (__libc_pwritev64): Likewise.
28794         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
28795         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
28796         (sync_file_range): Likewise.
28797         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
28798         Likewise.
28799         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
28800         Likewise.
28801         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28802         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28803         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28804         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28805         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28806         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28807         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28808         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
28809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28810         Likewise.
28811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28812         (__libc_read64): Likewise.
28813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
28814         Likewise.
28815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
28816         Likewise.
28817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
28818         Likewise.
28819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
28820         Likewise.
28821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28822         (__libc_pread64): Likewise.
28823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
28824         Likewise.
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28826         (__libc_pwrite64): Likewise.
28827         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
28828         (sync_file_range): Likewise.
28829         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
28830         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28831         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28832         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
28833         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
28834         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28835         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28836         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
28837         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
28838         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28839         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
28840         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28841         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28842         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28843         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
28844         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28845         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28846         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28848         Likewise.
28849         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
28850         Likewise.
28851         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
28852         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
28853         Likewise.
28854         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
28855         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
28856         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
28857         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
28858         Likewise.
28859         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
28860         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
28861         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
28862         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
28863         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
28865 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
28867         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
28868         Include dl-vdso.
28869         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
28870         Use VDSO routines for gettimeofday, clock_gettime if
28871         available.
28872         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
28873         Declare VDSO symbols.
28874         * sysdeps/unix/sysv/linux/arm/sysdep.h:
28875         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
28876         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
28877         * sysdeps/unix/sysv/linux/arm/Versions: Add
28878         __vdso_clock_gettime.
28880 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28882         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
28883         be an inline implementation regardless of library is built within.
28884         (open_not_cancel_2): Likewise.
28885         (__read_nocancel): Likewise.
28886         (__write_nocancel): Likewise.
28887         (openat_not_cancel): Likewise.
28888         (openat_not_cancel_3): Likewise.
28889         (openat64_not_cancel): Likewise.
28890         (openat64_not_cancel_3): Likewise.
28891         (__close_nocancel): Likewise.
28892         (pause_not_cancel): Likewise.
28893         (nanosleep_not_cancel): Likewise.
28894         (sigsuspend_not_cancel): Likewise.
28896 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28898         [BZ #14958]
28899         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
28900         wake-up.
28901         (__pthread_rwlock_rdlock_slow): Likewise.
28902         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28903         Likewise.
28904         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28905         Likewise.
28906         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
28907         * nptl/tst-rwlock16.c: New file.
28908         * nptl/Makefile (tests): Add new test.
28910 2015-06-04  Torvald Riegel  <triegel@redhat.com>
28912         [BZ #18324]
28913         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
28914         missing wake-up of readers.
28915         * nptl/tst-rwlock15.c: New file.
28916         * nptl/Makefile (tests): Add new test.
28918 2015-06-03  Roland McGrath  <roland@hack.frob.com>
28920         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
28921         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
28922         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
28923         and __nacl_supply_interface_rtld.
28924         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
28925         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
28926         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
28927         Add __nacl_supply_interface_rtld.
28928         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
28930 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28932         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
28933         isfinite.
28934         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28935         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
28937 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
28939         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
28940         __signbit* with standard C99 macros.
28941         * math/e_exp10l.c: Likewise.
28942         * math/e_exp2l.c: Likewise.
28943         * math/e_scalb.c: Likewise.
28944         * math/e_scalbf.c: Likewise.
28945         * math/e_scalbl.c: Likewise.
28946         * math/s_ldexp.c: Likewise.
28947         * math/s_ldexpf.c: Likewise.
28948         * math/s_ldexpl.c: Likewise.
28949         * math/w_atan2.c: Likewise.
28950         * math/w_atan2f.c: Likewise.
28951         * math/w_atan2l.c: Likewise.
28952         * math/w_cosh.c: Likewise.
28953         * math/w_coshf.c: Likewise.
28954         * math/w_coshl.c: Likewise.
28955         * math/w_exp10.c: Likewise.
28956         * math/w_exp10f.c: Likewise.
28957         * math/w_exp10l.c: Likewise.
28958         * math/w_exp2.c: Likewise.
28959         * math/w_exp2f.c: Likewise.
28960         * math/w_exp2l.c: Likewise.
28961         * math/w_fmod.c: Likewise.
28962         * math/w_fmodf.c: Likewise.
28963         * math/w_fmodl.c: Likewise.
28964         * math/w_hypot.c: Likewise.
28965         * math/w_hypotf.c: Likewise.
28966         * math/w_hypotl.c: Likewise.
28967         * math/w_jnl.c: Likewise.
28968         * math/w_lgamma.c: Likewise.
28969         * math/w_lgamma_r.c: Likewise.
28970         * math/w_lgammaf.c: Likewise.
28971         * math/w_lgammaf_r.c: Likewise.
28972         * math/w_lgammal.c: Likewise.
28973         * math/w_lgammal_r.c: Likewise.
28974         * math/w_pow.c: Likewise.
28975         * math/w_powf.c: Likewise.
28976         * math/w_powl.c: Likewise.
28977         * math/w_remainder.c: Likewise.
28978         * math/w_remainderf.c: Likewise.
28979         * math/w_remainderl.c: Likewise.
28980         * math/w_scalb.c: Likewise.
28981         * math/w_scalbf.c: Likewise.
28982         * math/w_scalbl.c: Likewise.
28983         * math/w_scalbln.c: Likewise.
28984         * math/w_scalblnf.c: Likewise.
28985         * math/w_scalblnl.c: Likewise.
28986         * math/w_sinh.c: Likewise.
28987         * math/w_sinhf.c: Likewise.
28988         * math/w_sinhl.c: Likewise.
28989         * math/w_tgamma.c: Likewise.
28990         * math/w_tgammaf.c: Likewise.
28991         * math/w_tgammal.c: Likewise.
28992         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28993         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
28994         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28995         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28996         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28997         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28998         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28999         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29000         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29001         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29002         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29003         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29004         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29005         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29006         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29008         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29009         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29010         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29011         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29012         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29013         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29014         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29016         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29017         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29018         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29019         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29020         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29021         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29022         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29023         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29024         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29025         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29026         * stdio-common/printf_fp.c: Likewise.
29027         * stdio-common/printf_fphex.c: Likewise.
29028         * stdio-common/printf_size.c: Likewise.
29030 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29032         [BZ #18470]
29033         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29034         strnlen.
29035         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29036         Remove variable.
29037         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29038         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29039         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29040         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29041         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29042         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29043         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29044         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29045         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29046         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29048         [BZ #18468]
29049         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29050         weak alias of __wmemchr.  Use libc_hidden_weak.
29051         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29052         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29053         instead of wmemchr.
29055 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29057         [BZ #18383]
29058         * elf/tst-tlsalign-extern.c: New file.
29059         * elf/tst-tlsalign-extern-static.c: New file.
29060         * elf/tst-tlsalign-vars.c: New file.
29061         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29062         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29063         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29064         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29065         (test-xfail-tst-tlsalign-extern-static): New variable.
29067 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29069         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29070         Use variable name _sc_err instead of err.
29071         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29072         instead of ret.
29073         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29074         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29075         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29076         (INLINE_SYSCALL): Likewise.
29078         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29079         * include/string.h (__strnlen): Use libc_hidden_proto.
29080         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29081         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29082         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29083         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29084         (libc_hidden_def): Undefine and redefine.
29085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29086         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29087         __GI_strnlen.
29088         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29089         libc_hidden_def.
29090         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29092         [BZ #18469]
29093         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29094         weak alias of __towlower.  Use libc_hidden_weak.
29095         (towupper): Rename to __towupper and define as weak alias of
29096         __towupper.  Use libc_hidden_weak.
29097         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29098         (__towupper): Likewise.
29099         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29100         __towlower instead of towlower.
29102 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29104         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29105         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29107 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29109         * sysdeps/aarch64/libm-test-ulps: Update.
29111 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29113         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29114         Define.
29115         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29117         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29118         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29119         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29120         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29121         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29123 2015-06-01  Martin Sebor  <msebor@redhat.com>
29125         [BZ #18116]
29126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29127         (__setcontext): Use extended four-operand version of mtsf whenever
29128         possible.
29129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29130         (__novec_swapcontext): Likewise.
29132 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29134         * benchtests/scripts/compare_bench.py: New file.
29135         * benchtests/scripts/import_bench.py (mean): New function.
29136         (split_list): Likewise.
29137         (do_for_all_timings): Likewise.
29138         (compress_timings): Likewise.
29140         * benchtests/scripts/import_bench.py: New file.
29141         * benchtests/scripts/validate_benchout.py: Import import_bench
29142         instead of jsonschema.
29143         (validate_bench): Remove function.
29144         (main): Use import_bench.
29146 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29149         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29151 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29155 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29157         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29158         set THREAD_SELF->tid to a magic value and futex-wake it.
29159         Pass its address to the thread_exit system call.
29160         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29161         bit is clear.
29162         * sysdeps/nacl/lowlevellock.h: New file.
29163         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29165         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29166         Add TIMEOUT to current time, don't subtract it.
29168 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29170         [BZ #2981]
29171         [BZ #18422]
29172         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29173         ($(objpfx)tst-audit2.out): Also depend on
29174         $(objpfx)tst-auditmod9b.so.
29175         * elf/tst-audit2.c: Include <dlfcn.h>.
29176         (calloc_called): New.
29177         (calloc): Allow to be called more than once.
29178         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29180 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29182         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29183         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29185 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29187         * stdlib/monetary.h: Fix comment.
29189 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29191         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29192         Avoid using variables in #defines that might cause shadowing.
29193         (INTERNAL_VSYSCALL_CALL): Likewise.
29195 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29197         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29199         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29200         * nptl/lll_timedlock_wait.c: ... to this new file.
29201         * nptl/Makefile (libpthread-routines): Add it.
29202         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29203         * nptl/lll_timedwait_tid.c: ... to this new file.
29204         * nptl/Makefile (libpthread-routines): Add it.
29205         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29206         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29207         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29208         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29209         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29210         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29211         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29212         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29213         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29214         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29216 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29218         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29220         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29222         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29223         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29224         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29225         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29226         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29227         * sysdeps/unix/sysv/linux/tile/sysdep.h
29228         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29229         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29230         using vDSO syscall macro.
29232 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29234         [BZ #17293]
29235         * uk_UA: Fix sorting order for Ukrainian locale
29237 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29239         * stdlib/monetary.h: Fix comment.
29241 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29243         [BZ #18234]
29244         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29245         st_mtim and st_ctim members.
29246         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29247         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29248         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29249         (struct stat64): Likewise.
29250         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29251         (struct stat64): Likewise.
29252         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29253         (struct stat64): Likewise.
29255 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29257         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29258         Define and include sysdep-vdso.h.
29259         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29260         Likewise.
29261         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29262         Likewise.
29263         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29264         Define with VDSO_SYMBOL and use PTR_MANGLE.
29265         (__vdso_clock_gettime): Likewise.
29266         (__vdso_clock_getres): Likewise.
29267         (_libc_vdso_platform_setup): Likewise.
29268         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29269         Likewise.
29270         (_libc_vdso_platform_setup): Likewise.
29271         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29272         Likewise.
29273         (__vdso_clock_gettime): Likewise.
29274         (__vdso_clock_getres): Likewise.
29275         (__vdso_get_tbfreq): Likewise.
29276         (__vdso_getcpu): Likewise.
29277         (__vdso_time): Likewise.
29278         (__vdso_sigtramp_rt64): Likewise.
29279         (__vdso_signtramp32): Likewise.
29280         (__vdso_sigtramp_rt32): Likewise.
29281         (_libc_vdso_platform_setup): Likewise.
29282         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29283         Likewise.
29284         (__vdso_clock_gettime): Likewise.
29285         (__vdso_clock_getres): Likewise.
29286         (_libc_vdso_platform_setup): Likewise.
29287         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29288         Likewise.
29289         (__vdso_clock_gettime): Likewise.
29290         (_libc_vdso_platform_setup): Likewise.
29291         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29292         Likewise.
29293         (__vdso_getcpu): Likewise.
29294         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29295         Use VDSO_SYMBOL macro to define.
29296         (__vdso_clock_gettime): Likewise.
29297         (__vdso_clock_getres): Likewise.
29298         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29299         Likewise.
29300         (__vdso_clock_gettime): Likewise.
29301         (__vdso_clock_getres): Likewise.
29302         (__vdso_get_tbfreq): Likewise.
29303         (__vdso_getcpu): Likewise.
29304         (__vdso_time): Likewise.
29305         (__vdso_sigtramp_rt64): Likewise.
29306         (__vdso_signtramp32): Likewise.
29307         (__vdso_sigtramp_rt32): Likewise.
29308         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29309         Likewise.
29310         (__vdso_clock_gettime): Likewise.
29311         (__vdso_clock_getres): Likewise.
29312         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29313         Likewise.
29314         (__vdso_clock_gettime): Likewise.
29315         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29316         Likewise.
29317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29318         macro.
29319         (INTERNAL_VSYSCALL): Likewise.
29320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29321         Remove macro.
29322         (INTERNAL_VSYSCALL): Likewise.
29323         (INTERNAL_VSYSCALL_NCS): Likewise.
29324         (INTERNAL_VSYSCALL_CALL): New macro.
29325         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29327         Likewise.
29328         (INTERNAL_VSYSCALL): Likewise.
29329         (INTERNAL_VSYSCALL_NCS): Likewise.
29330         (INTERNAL_VSYSCALL_CALL): New macro.
29331         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29333         (INLINE_VSYSCALL): Remove macro.
29334         (INTERNAL_VSYSCALL): Remove macro.
29335         (INTERNAL_VSYSCALL_NCS): Remove macro.
29336         (INTERNAL_VSYSCALL_CALL): New macro.
29337         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29338         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29339         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29340         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29341         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29343         (INLINE_VSYSCALL): Remove macro.
29344         (INTERNAL_VSYSCALL): Likewise.
29345         (INTERNAL_VSYSCALL_NCS): Likewise.
29346         (INTERNAL_VSYSCALL_CALL): New macro.
29347         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29348         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29349         PTR_DEMANGLE on vDSO pointer.
29350         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29351         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29352         macro.
29353         (INTERNAL_SYSCALL): Likewise.
29354         (INTERNAL_VSYSCALL_NCS): Remove macro.
29355         (INTERNAL_VSYSCALL_CALL): New macro.
29356         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29357         Remove macro.
29358         (INTERNAL_VSYSCALL): Likewise.
29359         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29360         sysdep-vdso.h instead of libc-vdso.h.
29361         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29362         definition.
29363         (INLINE_VSYSCALL): Likewise.
29364         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29365         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29366         definition.
29367         (INLINE_VSYSCALL): Likewise.
29368         (INTERNAL_VSYSCALL): Likewise.
29369         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29370         * sysdeps/unix/sysv/linux/timespec_get.c
29371         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29372         (timespec_get): Use ANSI prototype.
29373         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29374         and definition for Linux.
29376 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29378         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29379         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29381 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29383         [BZ #2981]
29384         [BZ #18410]
29385         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29386         for missing DT_PLTRELSZ.
29388 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29390         Remove obsolete aliases that broke 'locale -a'
29391         [BZ #18412]
29392         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29393         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29394         breaking some applications that use 'locale -a' output.
29395         Change the encoding of this file from Latin-1 to ASCII to avoid
29396         other potential problems with people grepping this file.
29398 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29400         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29401         -fasynchronous-unwind-tables.
29402         (CFLAGS-sendto.c): Likewise.
29403         (CFLAGS-sendmsg.c): Likewise.
29404         (CFLAGS-connect.c): Likewise.
29405         (CFLAGS-recvmsg.c): Likewise.
29406         (CFLAGS-recvfrom.c): Likewise.
29407         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29408         (SOCKETCALL): New macro: non-cancellable socketcall.
29409         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29410         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29411         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29412         * sysdeps/unix/sysv/linux/accept.c: New file.
29413         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29414         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29415         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29416         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29417         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29418         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29419         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29420         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29421         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29422         * sysdeps/unix/sysv/linux/send.c: Likewise.
29423         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29424         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29425         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29426         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29427         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29428         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29429         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29430         prototype.
29431         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29432         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29433         instead of __internal_xxx function.
29434         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29435         prototype.
29436         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29437         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29438         instead of __internal_xxx function.
29439         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29440         prototype.
29441         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29442         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29443         instead of __internal_xxx function.
29444         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29445         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29446         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29447         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29448         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29449         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29450         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29451         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29452         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29453         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29454         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29455         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29456         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29457         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29459         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29460         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29461         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29462         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29463         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29466         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29467         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29468         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29469         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29470         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29471         * sysdeps/unix/sysv/linux/send.S: Likewise.
29472         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29473         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29474         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29475         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29476         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29477         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29478         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29479         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29480         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29481         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29482         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29483         socketcall is implemented in GLIBC.
29485 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29487         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29488         (__fma): Ignore uninitialized warnings around packing.
29489         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29490         (__fmaf): Ignore uninitialized warnings around packing.
29491         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29492         (__fmal): Ignore uninitialized warnings around packing.
29494         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29495         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29496         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29497         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29499         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29500         switch statement into default case.
29501         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29503         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29504         a conditional in forcing "inexact".
29505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29506         Likewise.
29508 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29510         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29511         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29512         for each INTERNAL_SYSCALL use.
29514 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29516         [BZ #438]
29517         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29518         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29519         variable.
29521         [BZ #18444]
29522         * string/basename.c (basename): Rename to __basename and define as
29523         weak alias of __basename.  Use libc_hidden_weak.
29524         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29525         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29526         __basename instead of basename.
29527         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29528         Remove variable.
29529         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29531 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29533         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29534         (_IO_JUMPS_FILE_plus): New.
29535         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29536         _IO_CAST_FIELD_ACCESS.
29537         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29538         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29539         * libio/freopen.c (freopen): Likewise.
29540         * libio/freopen64.c (freopen64): Likewise.
29541         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29542         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29543         * libio/iofwide.c (_IO_fwide): Likewise.
29544         * libio/memstream.c (open_memstream): Likewise.
29545         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29546         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29547         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29549 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29551         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29552         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29553         NADJ.
29554         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29555         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29556         NADJ.
29557         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29558         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29559         NADJ.
29561         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29562         (p == 4) case.
29564         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29565         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29566         Remove variable.
29567         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29568         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29569         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29571 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29573         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29574         Adjust jump table label generation macros.
29576 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29578         * stdio-common/vfprintf.c (vfprintf): Move local variables
29579         args_malloced, specs, specs_malloced, and the code after
29580         do_positional to the printf_positional function.
29581         (printf_positional): New function.
29583 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29585         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29586         function.
29587         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29588         STEP4_TABLE, process_arg): Move macro definitions
29589         out of the vfprintf function.  (Cosmetic change only.)
29591 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29593         * benchtests/Makefile (stdio-common-bench): Define.
29594         (benchset): Add stdio-common-bench.
29595         * sprintf-inputs: New file.
29596         * sprintf-source.c: New file.
29598 2015-05-21  Andreas Schwab  <schwab@suse.de>
29600         [BZ #13028]
29601         [BZ #17053]
29602         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29603         of struct __res_state.
29604         * resolv/res_send.c (__libc_res_nsend): Likewise.
29605         (get_nsaddr): New function.
29606         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29607         statp directly.
29609 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29611         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29612         -D_POSIX_C_SOURCE=199506L.
29614         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29616         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29617         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29618         Do not mention otherwise.
29619         [POSIX] (_XOPEN_VERSION): Do not expect.
29620         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29621         [POSIX] (_POSIX2_C_BIND): Likewise.
29622         [POSIX] (_POSIX2_VERSION): Likewise.
29623         [POSIX] (_XOPEN_XPG2): Likewise.
29624         [POSIX] (_XOPEN_XPG3): Likewise.
29625         [POSIX] (_XOPEN_XPG4): Likewise.
29626         [POSIX] (_XOPEN_UNIX): Likewise.
29627         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29628         [POSIX] (_POSIX_BARRIERS): Likewise.
29629         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29630         [POSIX] (_POSIX_CPUTIME): Likewise.
29631         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29632         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29633         [POSIX] (_POSIX_SHELL): Likewise.
29634         [POSIX] (_POSIX_SPAWN): Likewise.
29635         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29636         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29637         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29638         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29639         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29640         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29641         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29642         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29643         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29644         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29645         [POSIX] (_POSIX2_PBS): Likewise.
29646         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29647         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29648         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29649         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29650         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29651         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29652         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29653         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29654         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29655         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29656         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29657         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29658         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29659         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29660         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29661         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29662         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29663         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29664         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29665         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29666         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29667         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29668         [POSIX] (_SC_2_C_BIND): Likewise.
29669         [POSIX] (_SC_2_C_VERSION): Likewise.
29670         [POSIX] (_SC_2_PBS): Likewise.
29671         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29672         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29673         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29674         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29675         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29676         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29677         [POSIX] (_SC_BARRIERS): Likewise.
29678         [POSIX] (_SC_BASE): Likewise.
29679         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29680         [POSIX] (_SC_DEVICE_IO): Likewise.
29681         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29682         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29683         [POSIX] (_SC_FD_MGMT): Likewise.
29684         [POSIX] (_SC_FIFO): Likewise.
29685         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29686         [POSIX] (_SC_FILE_LOCKING): Likewise.
29687         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29688         [POSIX] (_SC_IOV_MAX): Likewise.
29689         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29690         [POSIX] (_SC_NETWORKING): Likewise.
29691         [POSIX] (_SC_PAGE_SIZE): Likewise.
29692         [POSIX] (_SC_PASS_MAX): Likewise.
29693         [POSIX] (_SC_PIPE): Likewise.
29694         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29695         [POSIX] (_SC_REGEXP): Likewise.
29696         [POSIX] (_SC_SHELL): Likewise.
29697         [POSIX] (_SC_SIGNALS): Likewise.
29698         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29699         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29700         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29701         [POSIX] (_SC_USER_GROUPS): Likewise.
29702         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29703         [POSIX] (_SC_STREAMS): Likewise.
29704         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29705         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29706         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29707         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29708         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29709         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29710         [POSIX] (_PC_FILESIZEBITS): Likewise.
29711         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29712         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29713         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29714         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29715         [POSIX] (uid_t): Likewise.
29716         [POSIX] (gid_t): Likewise.
29717         [POSIX] (off_t): Likewise.
29718         [POSIX] (pid_t): Likewise.
29719         [POSIX] (cuserid): Allow.
29720         (_SC_2_CHAR_TERM): Require constant.
29721         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
29722         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
29723         variable.
29725 2015-05-20  Roland McGrath  <roland@hack.frob.com>
29727         * sysdeps/nacl/pthread-pids.h: New file.
29728         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
29729         (create_thread): Use __nacl_get_tid to initialize PD->tid.
29731         * nptl/pthread-pids.h: New file.
29732         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
29733         * nptl/nptl-init.c: Include <pthread-pids.h>.
29734         (__pthread_initialize_minimal_internal):
29735         Call __pthread_initialize_pids instead of set_tid_address syscall.
29737         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
29738         * sysdeps/posix/usleep.c: ... here.
29740 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29742         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
29743         call_pselect6 object.
29744         [$(subdir) = io]: Remove call_sync_file_range object.
29745         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
29746         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
29747         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
29748         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
29750 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
29752         * math/s_cproj.c: Add include "math_private.h".
29753         * math/s_cprojf.c: Likewise.
29754         * math/s_cprojl.c: Likewise.
29756 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
29758         [BZ #18244]
29759         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
29760         high mantissa bit when testing whether P is a NaN.
29761         * math/libm-test.inc (remainder_test_data): Add more tests.
29762         (remquo_test_data): Likewise.
29764         [BZ #18049]
29765         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
29766         below -32, return the argument, with underflow if subnormal.
29767         * math/auto-libm-test-in: Add more tests of atanh.
29768         * math/auto-libm-test-out: Regenerated.
29770 2015-05-19  Roland McGrath  <roland@hack.frob.com>
29772         [BZ #18434]
29773         * nptl/tst-sem15.c: New file.
29774         * nptl/Makefile (tests): Add it.
29775         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
29776         s/<</>>/ to fix typo in EOVERFLOW check.
29777         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
29779 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29781         * manual/strings.texi (envz_remove): Fix typo in safety
29782         annotations.
29784 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
29785             Steve Ellcey  <sellcey@imgtec.com>
29787         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
29788         in order to avoid strict alias warnings.
29789         (iruserok_af): Ditto for ra.
29791 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
29793         [BZ #17581]
29794         * malloc/hooks.c
29795         (magicbyte): Convert to a function and avoid returning 0x01.
29796         (mem2mem_check): Avoid using a length byte equal to the magic byte.
29797         (mem2chunk_check): Fix unsigned comparisons to zero.
29798         Hoist defs of sz and magic.
29800 2015-05-19  Richard Henderson  <rth@redhat.com>
29802         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
29804         * sysdeps/alpha/fpu/libm-test-ulps: Update.
29806 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29808         [BZ #16159]
29809         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
29810         * malloc/arena.c (arena_lock): Check if arena is corrupt.
29811         (reused_arena): Find a non-corrupt arena.
29812         (heap_trim): Pass arena to unlink.
29813         * malloc/hooks.c (malloc_check_get_size): Pass arena to
29814         malloc_printerr.
29815         (top_check): Likewise.
29816         (free_check): Likewise.
29817         (realloc_check): Likewise.
29818         * malloc/malloc.c (malloc_printerr): Add arena argument.
29819         (unlink): Likewise.
29820         (munmap_chunk): Adjust.
29821         (ARENA_CORRUPTION_BIT): New macro.
29822         (arena_is_corrupt): Likewise.
29823         (set_arena_corrupt): Likewise.
29824         (sysmalloc): Use mmap if there are no usable arenas.
29825         (_int_malloc): Likewise.
29826         (__libc_malloc): Don't fail if arena_get returns NULL.
29827         (_mid_memalign): Likewise.
29828         (__libc_calloc): Likewise.
29829         (__libc_realloc): Adjust for additional argument to
29830         malloc_printerr.
29831         (_int_free): Likewise.
29832         (malloc_consolidate): Likewise.
29833         (_int_realloc): Likewise.
29834         (_int_memalign): Don't touch corrupt arenas.
29835         * malloc/tst-malloc-backtrace.c: New test case.
29837         * Makefile (summarize-tests): Fix return value on success.
29839         * manual/string.texi (Envz Functions): Add envz_remove.
29841 2015-05-18  Roland McGrath  <roland@hack.frob.com>
29843         * sysdeps/posix/opendir.c: Include <stdbool.h>.
29844         (invalid_name): New function, broken out of ...
29845         (__opendirat): ... here.  Call it.
29846         (need_isdir_precheck): New function, broken out of ...
29847         (__opendirat): ... here.  Call it.
29848         Use __fxstatat64, not __xstatat64.
29849         (opendir_oflags): New function, broken out of ...
29850         (__opendirat): ... here.  Call it.
29851         (opendir_tail): New function, broken out of ...
29852         (__opendirat): ... here.  Call it.
29853         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
29854         opendir_tail, rather than punting to __opendirat.
29855         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
29857 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * .gitignore: Ignore generated *.pyc.
29861 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
29863         * include/stdio.h: Define __need_wint_t.
29864         * test-skeleton.c: Avoid `for' loop initial declaration.
29865         * nptl/tst-initializers1.c: Use test-skeleton.c.
29867 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29869         [BZ #18418]
29870         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
29872 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29874         [BZ #16352]
29875         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
29876         (__ieee754_atanh): Force underflow exception for results with
29877         small absolute value.
29878         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
29879         (__ieee754_atanhf): Force underflow exception for results with
29880         small absolute value.
29881         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
29882         (__ieee754_atanh): Force underflow exception for results with
29883         small absolute value.
29884         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
29885         (__ieee754_atanhf): Force underflow exception for results with
29886         small absolute value.
29887         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
29888         (__ieee754_atanhl): Force underflow exception for results with
29889         small absolute value.
29890         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
29891         (__ieee754_atanhl): Force underflow exception for results with
29892         small absolute value.
29893         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
29894         (__ieee754_atanhl): Force underflow exception for results with
29895         small absolute value.
29896         * math/auto-libm-test-in: Do not allow missing underflow
29897         exceptions from atanh.
29898         * math/auto-libm-test-out: Regenerated.
29900         [BZ #18221]
29901         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
29902         2**-28 as threshold for returning x or +/- 1/x.
29903         * math/auto-libm-test-in: Add more tests of tan.
29904         * math/auto-libm-test-out: Regenerated.
29906         [BZ #18220]
29907         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29908         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
29909         * math/auto-libm-test-in: Add another test of lgamma.
29910         * math/auto-libm-test-out: Regenerated.
29912 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
29914         * stdio-common/printf_fp.c (___printf_fp): Use abs.
29915         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
29916         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
29917         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
29918         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
29919         (ADD2A): Use fabs.  (SUB2A): Use fabs.
29920         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
29921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
29922         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
29923         (log1): Use fabs.  (my_log2): Use fabs.
29924         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
29925         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
29926         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
29927         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
29928         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
29929         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
29930         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
29931         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
29932         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
29933         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
29934         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
29936 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
29938         [BZ #18217]
29939         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
29940         as threshold for returning 1 - x.
29941         * math/auto-libm-test-in: Add more tests of erfc.
29942         * math/auto-libm-test-out: Regenerated.
29944 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
29946         [BZ #18196]
29947         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
29948         threshold for large arguments.
29949         * math/auto-libm-test-in: Add another test of atan.
29950         * math/auto-libm-test-out: Regenerated.
29952         [BZ #16339]
29953         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
29954         (__log1p): Force underflow exception for results with small
29955         absolute value.
29956         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
29957         (__log1pf): Force underflow exception for results with small
29958         absolute value.
29959         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
29960         (__log1p): Force underflow exception for results with small
29961         absolute value.
29962         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
29963         (__log1pf): Force underflow exception for results with small
29964         absolute value.
29965         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
29966         (__log1pl): Force underflow exception for results with small
29967         absolute value.
29968         * math/auto-libm-test-in: Do not allow missing underflow
29969         exceptions from log1p.
29970         * math/auto-libm-test-out: Regenerated.
29972 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
29973             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29975         [BZ #16704]
29976         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
29978 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
29980         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
29981         (libmvec): New variable.
29982         * configure.ac: Added option for mathvec build.
29983         * configure: Regenerated.
29984         * mathvec/Depend: New file.
29985         * mathvec/Makefile: New file.
29986         * shlib-versions: Added libmvec.
29987         * math/Makefile: Added rule for libm.so installation.
29989         * bits/math-vector.h: New file.
29990         * bits/libm-simd-decl-stubs.h: New header.
29991         * math/Makefile (headers): Added new header
29992         libm-simd-decl-stubs.h.
29993         * math/math.h (__MATHCALL_VEC): New macro.
29995         * math/gen-libm-have-vector-test.sh: Script generates series of macros
29996         for conditions in testing functions.
29997         * math/Makefile: Added call of libm-have-vector-test.sh.
29998         * math/libm-test.inc (HAVE_VECTOR): New macros.
30000         * math/libm-test.inc: START refactored.
30001         * math/test-double.c (TEST_MATHVEC): Add define.
30002         * math/test-float.c: Likewise.
30003         * math/test-idouble.c: Likewise.
30004         * math/test-ifloat.c: Likewise.
30005         * math/test-ildoubl.c: Likewise.
30006         * math/test-ldouble.c: Likewise.
30007         * sysdeps/generic/math-tests-arch.h
30008         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30009         architecture check.
30011         * math/test-double.c (FUNC_TEST): New macro.
30012         * math/test-float.c: Likewise.
30013         * math/test-idouble.c: Likewise.
30014         * math/test-ifloat.c: Likewise.
30015         * math/test-ildoubl.c: Likewise.
30016         * math/test-ldouble.c: Likewise.
30017         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30019 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30021         * sysdeps/nacl/fdopendir.c: New file.
30023         * dirent/scandir-tail.c: New file.
30024         * dirent/scandir64-tail.c: New file.
30025         * dirent/Makefile (routines): Add them.
30026         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30027         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30028         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30029         [!SCANDIR] (SCANDIR_TAIL): New macro.
30030         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30031         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30032         (SCANDIRAT): Macro removed.
30033         (SCANDIR_TAIL): New macro.
30034         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30035         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30036         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30037         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30038         (READDIR): Macro removed.
30039         (SCANDIR_TAIL): New macro.
30040         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30041         (SCANDIR_TAIL): New macro.
30043         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30044         * dirent/scandir-cancel.c: ... to this new file.
30045         * dirent/Makefile (routines): Add it.
30046         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30047         * sysdeps/unix/sysv/linux/i386/scandir64.c
30048         (SKIP_SCANDIR_CANCEL): Macro removed.
30049         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30051         * dirent/tst-scandir.c: New file.
30052         * dirent/tst-scandir64.c: New file.
30053         * dirent/Makefile (tests): Add them.
30055 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30057         [BZ #18409]
30058         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30060 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30062         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30063         list.
30065 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30067         * benchtests/bench-strcoll.c: New benchmark.
30068         * benchtests/Makefile: Generate locales and run benchmark.
30069         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30070         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30071         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30072         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30073         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30074         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30075         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30076         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30077         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30078         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30079         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30080         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30081         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30082         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30083         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30084         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30085         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30086         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30087         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30088         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30089         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30090         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30091         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30092         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30094 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30096         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30097         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30099 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30101         * posix/uname-values.h: New file.
30102         * posix/uname.c: Include that instead of <config-name.h>.
30103         * sysdeps/nacl/uname-values.h: New file.
30104         * sysdeps/arm/nacl/uname-values.h: New file.
30106 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30108         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30109         splitting into fields.
30111 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30113         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30114         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30115         * locale/localeinfo.h: Add enum collation_encoding_type.
30116         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30117         * programs/ld-collate.c (collate_output): Add encoding type info.
30118         * string/strcoll_l.c (STRDIFF): New function.
30119         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30120         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30122 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30124         [BZ #18397]
30125         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30126         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30127         <fpu_control.h> instead of <math/fpu_control.c>.
30128         * sysdeps/mips/mips32/fpu/Makefile: New file.
30130 2015-05-11  Andreas Schwab  <schwab@suse.de>
30132         [BZ #18007]
30133         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30134         nss_endgrent.
30135         (_nss_compat_endgrent): Call nss_endgrent.
30136         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30137         nss_endpwent.
30138         (_nss_compat_endpwent): Call nss_endpwent.
30139         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30140         needent, call nss_setspent only if non-zero.
30141         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30142         (internal_endspent): Don't call nss_endspent.
30143         (_nss_compat_endspent): Call nss_endspent.
30144         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30145         Remove.  All uses removed.
30146         (internal_setent): Remove parameter stayopen, add parameter
30147         stream.  Use it instead of global variable.
30148         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30149         (internal_endent, internal_getent): Add parameter stream.  Use it
30150         instead of global variable.
30151         (CONCAT(_nss_files_end,ENTNAME))
30152         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30153         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30154         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30155         uses removed.
30156         (internal_setent, internal_endent): Add parameter stream.  Use it
30157         instead of global variable.
30158         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30159         stream.
30160         (get_next_alias): Add parameter stream.
30161         (_nss_files_getaliasent_r): Pass global stream.
30162         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30163         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30164         (_nss_files_gethostbyname4_r): Pass local stream to
30165         internal_setent, internal_getent and internal_endent.  Remove
30166         locking.
30168 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30170         * tst-strfmon1.c (tests): Update expected currency symbol.
30172 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30174         * sysdeps/nacl/gethostname.c: New file.
30176 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30178         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30179         and sinh.
30180         * math/auto-libm-test-out: Regenerated.
30181         * sysdeps/i386/fpu/libm-test-ulps: Update.
30182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30184 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30186         [BZ #18125]
30187         * stdlib/tst-setcontext3.c: New file.
30188         * stdlib/tst-setcontext3.sh: New file.
30189         * stdlib/Makefile (tests): Add tst-setcontext3.
30190         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30191         to verify test program created output file.
30192         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30193         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30194         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30195         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30197 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30199         [BZ #18383]
30200         * elf/tst-tlsalign.c: New file.
30201         * elf/tst-tlsalign-static.c: New file.
30202         * elf/tst-tlsalign-lib.c: New file.
30203         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30204         (tests-static): Add tst-tlsalign-static.
30205         (modules-names): Add tst-tlsalign-lib.
30206         (test-xfail-tst-tlsalign): New variable.
30207         (test-xfail-tst-tlsalign-static): New variable.
30209         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30210         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30212 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30214         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30215         csqrt, erfc, sin and sincos.
30216         * math/auto-libm-test-out: Regenerated.
30217         * sysdeps/i386/fpu/libm-test-ulps: Update.
30218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30220 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30222         * sysdeps/aarch64/libm-test-ulps: Update.
30224 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30226         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30227         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30228         * math/auto-libm-test-out: Regenerated.
30229         * sysdeps/i386/fpu/libm-test-ulps: Update.
30230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30232 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30234         [BZ #18265]
30235         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30236         (wcsncpy): Likewise.
30238 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30240         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30241         Assume __ASSUME_FALLOCATE is always true.
30242         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30243         (__posix_fallocate64_l64): Likewise.
30244         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30245         (posix_fallocate): Likewise.
30246         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30247         (__posix_fallocate64_l64): Likewise.
30248         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30249         [!__ASSUME_FALLOCATE]: Add comment.
30251 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30253         * sysdeps/unix/sysv/linux/i386/Makefile
30254         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30255         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30256         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30257         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30258         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30259         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30260         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30262 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30264         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30265         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30266         tgamma.
30267         * math/auto-libm-test-out: Regenerated.
30268         * sysdeps/i386/fpu/libm-test-ulps: Update.
30269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30271 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30273         * math/auto-libm-test-in: Add more tests of tgamma.
30274         * math/auto-libm-test-out: Regenerated.
30275         * sysdeps/i386/fpu/libm-test-ulps: Update.
30276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30278         * math/auto-libm-test-in: Add more tests of tanh.
30279         * math/auto-libm-test-out: Regenerated.
30280         * sysdeps/i386/fpu/libm-test-ulps: Update.
30281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30283         * math/auto-libm-test-in: Add more tests of tan.
30284         * math/auto-libm-test-out: Regenerated.
30285         * sysdeps/i386/fpu/libm-test-ulps: Update.
30286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30288         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30289         * math/auto-libm-test-out: Regenerated.
30290         * sysdeps/i386/fpu/libm-test-ulps: Update.
30291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30293         * math/auto-libm-test-in: Add another test of pow.
30294         * math/auto-libm-test-out: Regenerated.
30295         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30297         * math/auto-libm-test-in: Add more tests of lgamma.
30298         * math/auto-libm-test-out: Regenerated.
30299         * sysdeps/i386/fpu/libm-test-ulps: Update.
30300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30302         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30303         log1p.
30304         * math/auto-libm-test-out: Regenerated.
30305         * sysdeps/i386/fpu/libm-test-ulps: Update.
30306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30308 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30310         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30311         Elf64_Chdr structs and ELFCOMPRESS constants.
30313 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30315         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30316         expm1.
30317         * math/auto-libm-test-out: Regenerated.
30318         * sysdeps/i386/fpu/libm-test-ulps: Update.
30319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30321         * math/auto-libm-test-in: Add more tests of erf and erfc.
30322         * math/auto-libm-test-out: Regenerated.
30323         * sysdeps/i386/fpu/libm-test-ulps: Update.
30324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30326 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30328         * config.h.in (HAVE_AARCH64_BE): Add.
30330 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30332         * math/auto-libm-test-in: Add more tests of csqrt.
30333         * math/auto-libm-test-out: Regenerated.
30334         * sysdeps/i386/fpu/libm-test-ulps: Update.
30335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30337         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30338         * math/auto-libm-test-out: Regenerated.
30339         * sysdeps/i386/fpu/libm-test-ulps: Update.
30340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30342         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30344 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30346         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30347         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30349         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30350         (euidaccess, eaccess): Define as weak aliases.
30352         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30353         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30354         but __suseconds_t is often 'long int' so some sources assume that
30355         type is being used (e.g. they use %ld to print tv_usec).
30357 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30359         [BZ #18007]
30360         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30361         (CVE-2014-8121)
30362         * nss/tst-nss-getpwent.c: New file.
30363         * nss/Makefile (tests): Add new test.
30365 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30367         [BZ #18346]
30368         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30369         exponents less than 48 as cases where high part of mantissa needs
30370         examining to determine whether argument is integral.
30371         * math/libm-test.inc (round_test_data): Add more tests.
30373 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30375         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30377 2015-04-27  David S. Miller  <davem@davemloft.net>
30379         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30380         __tls_get_addr.
30381         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30383 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30385         [BZ#18333]
30386         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30388 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30390         [BZ#18333]
30391         * time/tzset.c (parse_tzname): Return error on memory allocation
30392         failure.
30393         * test-skeleton.c (struct temp_name_list): Change type of name
30394         member to non-const.
30395         (add_temp_file): Create a copy of the file name.
30396         (delete_temp_files): Deallocate memory.
30397         (create_temp_file): Add comment.
30399 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30401         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30402         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30404 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30406         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30407         * sysdeps/arm/configure: Regenerated.
30409 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30411         [BZ #17715]
30412         * time/tzfile.c (__tzfile_read): Check for large values of
30413         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30414         * time/tzset.c (__tzstring_len): New function, based on the old
30415         __tzstring function.
30416         (__tzstring): Call __tzstring_len.
30417         (parse_tzname): New helper function extracted from
30418         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30419         the input string.
30420         (parse_offset): New helper function extracted from
30421         __tzset_parse_tz.  Replace switch with fallthrough with
30422         initialization before sscanf.
30423         (parse_rule): Likewise.
30424         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30425         new-style function definition.
30426         * timezone/Makefile (tests): Add tst-tzset.
30427         (tst-tzset.out): Dependencies on time zone files.
30428         (tst-tzset-ENV): Set TZDIR.
30429         (testdata/XT%): Copy crafted time zone files.
30430         * timezone/README: Mention crafted time zone files.
30431         * timezone/testdata/XT1, timezone/testdata/XT2,
30432         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30433         files.
30434         * timezone/tst-tzset.c: New test.
30436 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30438         * Makeconfig (+gccwarn): Remove -Winline.
30440 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30442         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30444 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30446         * NEWS: Mention sysconf() cache information support for s390.
30447         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30449 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30451         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30452         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30453         (__nearbyint): Likewise.
30454         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30455         (copysignl): Likewise.
30457 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30459         [BZ #18287]
30460         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30461         based on padding.  (CVE-2015-1781)
30463 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30465         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30466         libc-vdso.h.
30467         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30468         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30469         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30470         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30471         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30472         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30473         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30474         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30475         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30476         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30477         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30478         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30479         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30480         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30481         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30482         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30483         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30484         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30485         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30486         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30487         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30488         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30489         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30491 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30493         * stdlib/setenv.c (__add_to_environ):
30494         Dump core quickly if setenv (..., NULL, ...) is called.
30495         This time, do it the right way, and pacify GCC with a pragma.
30497 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30499         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30500         IMAP->l_prev cannot be null, and #if out the code for the contrary
30501         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30502         believe that NS (&_dl_ns[NSID]) could point outside the array.
30504         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30505         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30506         before using NSID as an index.
30508 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30510         [BZ #17825]
30511         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30512         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30513         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30515 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30517         Add preliminary port to Google Native Client on ARM.
30518         * abi-tags (.*-.*-nacl.*): New entry.
30519         * sysdeps/arm/nacl: New directory.
30520         * sysdeps/nacl: New directory.
30522 2015-04-16  David S. Miller  <davem@davemloft.net>
30524         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30525         lowlevellock-futex.h
30527 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30529         * sysdeps/tile/configure.ac: New file.
30530         * sysdeps/tile/configure: Regenerated.
30532 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30534         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30535         conditionals for weak_alias and libc_hidden_weak.
30536         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30537         libc_hidden_weak and weak_alias.
30538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30539         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30540         and weak_alias for static one.
30542 2015-04-15  David S. Miller  <davem@davemloft.net>
30544         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30546 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30548         [BZ #18206]
30549         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30550           Use signed comparision instead of substraction to avoid
30551           overflow bug.
30552         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30553           Take the sign of ret.
30554         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30555           Do not expect precise return values. Only the sign matters.
30556         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30557         * wcsmbs/test-wcsncmp.c: New File.
30558         * string/test-strncmp.c: Add wcsncmp support.
30560 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30562         [BZ #6792]
30563         * math/w_log1p.c: New file.
30564         * math/w_log1pf.c: Likewise.
30565         * math/w_log1pl.c: Likewise.
30566         * math/Makefile (libm-calls): Add w_log1p.
30567         * math/s_log1pl.c (log1pl): Remove weak_alias.
30568         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30569         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30570         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30571         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30572         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30573         [NO_LONG_DOUBLE] (log1pl): Likewise.
30574         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30575         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30576         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30577         (log1p): Remove long_double_symbol.
30578         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30579         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30580         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30581         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30582         remove weak_alias for corresponding log1p function.
30583         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30584         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30585         * sysdeps/ia64/fpu/w_log1p.c: New file.
30586         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30587         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30588         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30590 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30592         [BZ #18247]
30593         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30594         decimal exponent by 1.
30595         * stdlib/tst-strtod-round-data: Add more tests.
30596         * stdlib/tst-strtod-round.c (tests): Regenerated.
30598 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30600         * math/auto-libm-test-in: Add more tests of clog and clog10.
30601         * math/auto-libm-test-out: Regenerated.
30602         * sysdeps/i386/fpu/libm-test-ulps: Update.
30603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30605 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30607         * Makeconfig (module-cppflags): Exclude all .v.i files.
30608         (skip-module-cppflags): Variable removed.
30610         * configure.ac (libc_config_ok): Initialize before reading
30611         preconfigure scripts, not after.
30612         * configure: Regenerated.
30614         * test-skeleton.c (TIMEOUT): Move #define to top level.
30615         (main): Grok environment variable TEST_DIRECT.  If set, print
30616         test expectation details into that file and then behave as if
30617         given --direct.
30619 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30621         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30622         warning on 32-bit.
30624 2015-04-08  David S. Miller  <davem@davemloft.net>
30626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30628 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30630         * math/auto-libm-test-in: Add more tests of atanh.
30631         * math/auto-libm-test-out: Regenerated.
30632         * sysdeps/i386/fpu/libm-test-ulps: Update.
30633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30635         * math/auto-libm-test-in: Add more tests of atan.
30636         * math/auto-libm-test-out: Regenerated.
30637         * sysdeps/i386/fpu/libm-test-ulps: Update.
30638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30640 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30642         * elf/pldd.c (main): Rewrite to use struct
30643         scratch_buffer instead of extend_alloca.
30644         * elf/pldd-xx.c (find_maps): Likewise.
30645         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30646         <alloca.h>.
30647         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30648         scratch_buffer instead of extend_alloca.
30649         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30650         grp/compat-initgroups.c.
30651         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30652         Rewrite to use struct scratch_buffer instead of extend_alloca.
30653         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30654         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30656 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30658         * math/auto-libm-test-in: Add more tests of cbrt.
30659         * math/auto-libm-test-out: Regenerated.
30660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30662         * math/auto-libm-test-in: Add more tests of cabs.
30663         * math/auto-libm-test-out: Regenerated.
30664         * sysdeps/i386/fpu/libm-test-ulps: Update.
30665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30667         [BZ #18210]
30668         [BZ #18211]
30669         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30670         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30671         computations.
30672         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30673         clog10.
30674         * math/auto-libm-test-out: Regenerated.
30675         * sysdeps/i386/fpu/libm-test-ulps: Update.
30676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30678         [BZ #18197]
30679         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30680         (atan): Set FE_TONEAREST mode for internal computations.
30681         * math/auto-libm-test-in: Add more tests of atan.
30682         * math/auto-libm-test-out: Regenerated.
30684 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30686         [BZ #17930]
30687         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30689 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30691         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30693 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30695         * include/scratch_buffer.h: New file.
30696         * malloc/scratch_buffer_grow.c: Likewise.
30697         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30698         * malloc/scratch_buffer_set_array_size.c: Likewise.
30699         * malloc/tst-scratch_buffer.c: Likewise.
30700         * malloc/Makefile (routines): Add scratch_buffer_grow.
30701         (tests): Add test case.
30702         * malloc/Versions (GLIBC_PRIVATE): Export
30703         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30704         __libc_scratch_buffer_set_array_size.
30706 2015-04-06  Richard Henderson  <rth@redhat.com>
30708         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30709         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30711         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30712         unsigned int before printing.
30714 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30716         [BZ #17596]
30717         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30718         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
30720 2015-04-02  Florian Weimer  <fweimer@redhat.com>
30722         * include/libc-internal.h (libc_max_align_t): Define.
30724 2015-04-02  Andreas Schwab  <schwab@suse.de>
30726         [BZ #16850]
30727         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
30729 2015-04-02  Mel Gorman  <mgorman@suse.de>
30731         [BZ #17195]
30732         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
30733         as well as the main arena.
30735 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30737         [BZ #18185]
30738         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
30739         sharing L2 cache to 2 for Silvermont/Knights Landing.
30741 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30743         [BZ #17711]
30744         * config.make.in (have-protected-data): New.
30745         * configure.ac: Check linker support for protected data symbol.
30746         * configure: Regenerated.
30747         * elf/Makefile (modules-names): Add tst-protected1moda and
30748         tst-protected1modb if $(have-protected-data) is yes.
30749         (tests): Add tst-protected1a and tst-protected1b if
30750         $(have-protected-data) is yes.
30751         ($(objpfx)tst-protected1a): New.
30752         ($(objpfx)tst-protected1b): Likewise.
30753         (tst-protected1modb.so-no-z-defs): Likewise.
30754         * elf/tst-protected1a.c: New file.
30755         * elf/tst-protected1b.c: Likewise.
30756         * elf/tst-protected1mod.h: Likewise.
30757         * elf/tst-protected1moda.c: Likewise.
30758         * elf/tst-protected1modb.c: Likewise.
30760 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
30762         [BZ #17711]
30763         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
30764         indicates it is called from do_lookup_x on relocation against
30765         protected data, skip the data definion in the executable from
30766         copy reloc.
30767         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
30768         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
30769         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
30770         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
30771         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
30772         otherwise to 0.
30773         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30774         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
30775         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
30776         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
30777         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
30778         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
30780 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
30782         * sysdeps/nptl/pthread.h: Remove duplicate definition of
30783         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
30785 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
30787         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
30788         THREAD_SETMEM_NC.
30789         * sysdeps/x86_64/nptl/tls.h: Ditto.
30791 2015-03-27  Roland McGrath  <roland@hack.frob.com>
30793         * dlfcn/tststatic.c (main): Converted to ...
30794         (do_test): ... this.
30795         (TEST_FUNCTION): New macro.
30796         Include test-skeleton.c.
30798 2015-03-26  Alan Modra  <amodra@gmail.com>
30800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
30801         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
30802         zero for undefined weak.
30803         (elf_machine_plt_conflict): Similarly.
30805 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30807         * math/auto-libm-test-in: Add more tests of acosh, asinh and
30808         atanh.
30809         * math/auto-libm-test-out: Regenerated.
30810         * sysdeps/i386/fpu/libm-test-ulps: Update.
30811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30813         * math/auto-libm-test-in: Add another test of asin.
30814         * math/auto-libm-test-out: Regenerated.
30815         * sysdeps/i386/fpu/libm-test-ulps: Update.
30816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
30819         Remove macro.
30820         (LLL_EBX_REG): Likewise.
30821         (LLL_ENTER_KERNEL): Likewise.
30823         * math/auto-libm-test-in: Add more tests of asin.
30824         * math/auto-libm-test-out: Regenerated.
30825         * sysdeps/i386/fpu/libm-test-ulps: Update.
30826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30828         [BZ #18138]
30829         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
30830         libc_do_syscall_args): New structure.
30831         (INTERNAL_SYSCALL_MAIN_0): New macro.
30832         (INTERNAL_SYSCALL_MAIN_1): Likewise.
30833         (INTERNAL_SYSCALL_MAIN_2): Likewise.
30834         (INTERNAL_SYSCALL_MAIN_3): Likewise.
30835         (INTERNAL_SYSCALL_MAIN_4): Likewise.
30836         (INTERNAL_SYSCALL_MAIN_5): Likewise.
30837         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
30838         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
30839         Replace conditional definitions by conditional definitions of ....
30840         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
30841         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
30842         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
30843         (libpthread-sysdep_routines): Add libc-do-syscall.
30844         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
30846         to __NR_futex not 240.
30848 2015-03-25  Alan Modra  <amodra@gmail.com>
30850         * NEWS: Advertise TLS optimization.
30851         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
30852         (DT_PPC_NUM): Increment.
30853         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
30854         (CHECK_STATIC_TLS): Use here.
30855         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
30856         TLS descriptors.
30857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30858         * sysdeps/powerpc/dl-tls.c: New file.
30859         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
30860         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
30861         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
30862         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
30864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
30865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
30867 2015-03-25  Alan Modra  <amodra@gmail.com>
30869         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
30870         for overlapping .opd entries" to "support...".
30871         * sysdeps/powerpc/powerpc64/configure: Regenerate
30873 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
30875         * math/auto-libm-test-in: Add more tests of acos.
30876         * math/auto-libm-test-out: Regenerated.
30877         * sysdeps/i386/fpu/libm-test-ulps: Update.
30878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30880         * math/auto-libm-test-in: Add more tests of expm1.
30881         * math/auto-libm-test-out: Regenerated.
30882         * sysdeps/i386/fpu/libm-test-ulps: Update.
30883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30885 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
30887         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30888         * math/auto-libm-test-out: Regenerated.
30889         * sysdeps/i386/fpu/libm-test-ulps: Update.
30890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30892         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30895         * math/auto-libm-test-in: Add more tests of log2.
30896         * math/auto-libm-test-out: Regenerated.
30897         * sysdeps/i386/fpu/libm-test-ulps: Update.
30898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30900 2015-03-23  Roland McGrath  <roland@hack.frob.com>
30902         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
30903         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
30904         _IO_IS_APPENDING bit in READ_WRITE instead.
30906 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30908         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
30909         (__determine_cpumask_size): Replace extend_alloca with a
30910         variable-length array.  Do not treat res == 0 as an error.
30912 2015-03-23  Florian Weimer  <fweimer@redhat.com>
30914         [BZ #18100]
30915         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
30916         and integer overflow.
30917         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
30918         (main): Add integer overflow tests.
30919         * manual/pattern.texi (Calling Wordexp): Document additional use
30920         for WRDE_SYNTAX.
30922 2015-03-23  Alan Modra  <amodra@gmail.com>
30924         * config.h.in: Remove HAVE_ASM_PPC_REL16.
30925         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
30926         and false branch of conditional.
30927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30928         Likewise.
30930 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
30932         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
30933         libc-modules.h
30934         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
30935         unused declaration of _hurd_intr_rpc_msg_in_trap.
30936         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
30937         defined instead of whether it is non-zero.
30938         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
30939         input constraint instead of both input and output constraint.  Use ecx
30940         clobber instead of %ecx.
30941         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
30942         mutex_unlock): Use a statement expression instead of an expression list.
30943         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
30944         type to vm_size_t instead of vm_address_t.
30945         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
30946         defined instead of whether it is non-zero.
30947         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
30948         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
30949         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
30950         comparisons with mapaddr.
30951         * nscd/nscd-client.h: Include <time.h>.
30952         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
30953         9th parameter to __vm_region instead of int.
30954         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
30955         * scripts/check-local-headers.sh (exclude): Add device/,
30956         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
30957         cthreads.h.
30959 2015-03-19  Roland McGrath  <roland@hack.frob.com>
30961         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
30962         to account for alignment padding.
30963         * sysdeps/arm/memmove.S: Likewise.
30965 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
30967         * sysdeps/unix/sysv/linux/generic/README: New file.
30969 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
30971         [BZ #18138]
30972         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
30973         (futex_abstimed_wait)
30974         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
30975         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
30976         of lll_futex_timed_wait.
30978 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
30980         [BZ #17542]
30981         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
30983 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
30985         [BZ #17090]
30986         [BZ #17620]
30987         [BZ #17621]
30988         [BZ #17628]
30989         * NEWS: Update.
30990         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
30991         entries with Static TLS too.  Skip entries past the end of the
30992         allocated DTV, from Alan Modra.
30993         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
30994         Static TLS DTV entry set up from...
30995         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
30996         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
30997         * nptl/allocatestack.c (init_one_static_tls): ... and here...
30998         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
30999         for Static TLS.
31000         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31001         that the slot we find is associated with the given map before
31002         using its generation count.
31003         * nptl_db/db_info.c: Include ldsodefs.h.
31004         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31005         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31006         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31007         (link_map::l_tls_offset): New struct field.
31008         (dtv_t::counter): Likewise.
31009         (rtld_global): New struct.
31010         (_rtld_global): New rtld variable.
31011         (dl_tls_dtv_slotinfo_list): New rtld global field.
31012         (dtv_slotinfo_list): New struct.
31013         (dtv_slotinfo): Likewise.
31014         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31015         (td_lookup): Rename to...
31016         (td_mod_lookup): ... this.  Use new mod parameter instead of
31017         LIBPTHREAD_SO.
31018         * nptl_db/td_thr_tlsbase.c: Include link.h.
31019         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31020         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31021         addresses even if the DTV is out of date or missing them.
31022         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31023         index zero-length arrays.
31024         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31025         (td_lookup): Make it a macro implemented in terms of...
31026         (td_mod_lookup): ... this declaration.
31027         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31028         (DB_MAIN_VARIABLE): Likewise.
31030 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31032         [BZ #18134]
31033         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31035 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31037         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31039 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31041         [BZ #18128]
31042         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31043         (atomic_add, atomic_increment_and_test)
31044         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31046 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31048         * stdlib/setenv.c (__add_to_environ):
31049         Dump core quickly if setenv (..., NULL, ...) is called.
31051 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31053         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31054         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31055         all the necessary asm magic in one place.
31056         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31057         using those.
31059 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31061         [BZ #14906]
31062         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31063         traced file mtime. Use consistent log message.
31064         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31065         (register_traced_file): Call install_watches. Always set mtime.
31066         (invalidate_cache): Iterate over all trace files. Call install_watches.
31067         (inotify_check_files): Don't inline. Handle watching parent
31068         directories and configuration file movement in and out.
31069         (handle_inotify_events): New function.
31070         (main_loop_poll): Call handle_inotify_events.
31071         (main_loop_epoll): Likewise.
31072         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31073         (struct traced_file): Use array of inotify fds. Add parent directory,
31074         and basename.
31075         (struct database_dyn): Remove unused file_mtime.
31076         (init_traced_file): New inline function.
31077         (define_traced_file): New macro.
31078         * nss/nss_db/db-init.c: Use define_traced_file.
31079         (_nss_db_init): Use init_traced_file.
31080         * nss/nss_files/files-init.c: Use define_traced_file.
31081         (_nss_files_init): Use init_traced_file.
31083 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31085         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31086         [_LIBC]: Do not include <stdlib.h>.
31087         [!_LIBC] (abort): Remove declaration.
31088         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31089         _FP_STATIC_ASSERT instead of conditionally calling abort.
31090         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31091         (_FP_EXTEND_CNAN): Likewise.
31092         (FP_TRUNC): Likewise.
31093         (__FP_CLZ): Likewise.
31094         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31096 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31098         * manual/string.texi (XPG basename): Fix prototype.
31100 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31102         [BZ #18080]
31103         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31104         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31105         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31106         (__setcontext): Likewise.
31107         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31108         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31109         Call rt_sigprocmask syscall one time to set new signal mask
31110         and retrieve the current signal mask instead of two calls.
31111         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31112         (__swapcontext): Likewise.
31113         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31114         * stdlib/tst-setcontext2.c: New file.
31116 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31120 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31122         [BZ #18093]
31123         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31124         the wrong size.
31126 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31128         [BZ #18043]
31129         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31131 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31133         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31134         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31135         Remove define.
31136         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31137         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31138         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31139         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31140         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31141         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31142         define.
31143         * nptl_db/td_symbol_list.c (td_lookup): Remove
31144         HAVE_ASM_GLOBAL_DOT_NAME code.
31145         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31146         HAVE_ASM_GLOBAL_DOT_NAME check.
31147         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31148         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31149         (DOT_LABEL): Remove define.
31150         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31151         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31152         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31153         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31154         (__TLS_GET_ADDR): Likewise.
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31156         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31158 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31160         [BZ #18111]
31161         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31162         (_FPU_SETCW): Initialize cw from fpsr before storing.
31163         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31164         (fesetexceptflag): Rewrite using fpu_control.h.
31165         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31167 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31169         [BZ #18110]
31170         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31171         asms.
31172         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31174 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31176         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31177         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31178         abort.
31179         (_FP_FMA): Likewise.
31180         (_FP_DIV): Likewise.
31182 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31184         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31185         with 0 in that case.
31186         * Makefile (summarize-tests): New canned sequence, factored out of
31187         commands for targets tests and xtests.  Display summary lines that
31188         don't start with PASS: or XFAIL: rather than ones that do start with
31189         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31190         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31191         do start with ERROR: or FAIL:.
31192         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31193         (except for [$(build-shared) = yes]).
31194         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31195         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31196         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31197         * nptl/Makefile: Revert 2015-03-04 changes.
31198         [$(CXX) empty] (tests-unsupported): New variable.
31199         * debug/Makefile: Likewise.
31201         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31202         gnulib file.  Replace __attribute with __attribute__ throughout.
31204 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31206         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31208 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31210         [BZ #18104]
31211         * math/auto-libm-test-in: Add another test of pow.
31212         * math/auto-libm-test-out: Regenerated.
31214 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31216         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31217         $(config-cflags-nofma).
31219 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31221         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31222         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31223         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31224         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31225         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31226         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31227         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31228         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31229         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31230         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31231         Add comment on closing #endif.
31233 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31235         * posix/wordexp.c (CHAR_IN_SET): New macro.
31236         (parse_param): Use it.
31238 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31240         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31242 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31244         [BZ #18043]
31245         * posix/wordexp.c (parse_param): Fix buffer overflow.
31246         * posix/wordexp-test.c (test_case): Add test case.
31248 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31250         [BZ #18042]
31251         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31252         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31254 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31256         [BZ #18043]
31257         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31258         (do_bz18043): Delete.
31259         (at_page_end): New.
31260         (testit): Refactor to have words at the edge of unreadable page.
31262 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31264         [BZ #16734]
31265         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31266         Cleanup read-only streams as well.
31267         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31269 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31271         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31272         <bits/libc-lockP.h>
31274 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31276         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31277         on [__KERNEL__].
31278         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31279         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31280         * soft-fp/op-common.h (_FP_DECL): Likewise.
31282 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31284         * elf/ifuncdep2.c (global): Replace
31285         __attribute__((visibility("protected"))) with
31286         asm (".protected global").
31287         * elf/ifuncmod1.c (global): Likewise.
31288         * elf/ifuncmod5.c (global): Likewise.
31290 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31292         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31293         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31295 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31297         * manual/install.texi (Configuring and compiling):
31298         Document test-wrapper-env-only.
31299         * INSTALL: Regenerated.
31301 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31303         [BZ #18043]
31304         * posix/wordexp.c (parse_param): Fix buffer overflow.
31305         * posix/wordexp-test.c (do_bz18043): Add test case.
31307 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31309         * time/tst-strptime2.c (do_test): Ensure failing tests are
31310         reported correctly.
31311         * time/tst-strptime3.c (do_test): Likewise.
31313 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31315         Fix aio_error thread-safety.
31316         * sysdeps/pthread/aio_error.c: New file
31317         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31318         synchronization.
31320 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31322         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31323         (group_number, vfprintf): Use it.
31324         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31325         (JUMP, REF): Use it.
31326         (WORK_BUFFER_SIZE): New enum constant.
31327         (process_arg, vfprintf): Use it.
31329 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31331         * manual/errno.texi (Error Messages): Complete example function
31332         by adding missing #define.
31333         (program_invocation_name): Add statement indicating GNU
31334         extension and reference which header file declares the variable.
31335         (program_invocation_short_name): Likewise.
31337 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31339         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31340         compatibility note.
31342 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31344         * Makeconfig (test-wrapper-env-only): New variable.
31345         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31346         then use that with $(test-wrapper-env-only) rather than using
31347         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31349 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31351         [BZ #18082]
31352         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31353         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31354         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31355         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31356         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31357         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31358         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31359         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31360         Likewise.
31361         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31362         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31363         Likewise.
31364         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31365         Likewise.
31366         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31367         Likewise.
31368         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31369         Likewise.
31370         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31371         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31372         Likewise.
31373         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31374         Likewise.
31375         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31376         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31378 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31380         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31381         (ETH_ALEN): New macro.
31382         (struct ether_addr): Use it for length of ether_addr_octet.
31384         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31385         (setdb): Don't call __nss_configure_lookup for "rpc".
31386         (do_test): Don't call test_rpc.
31387         (output_rpcent, test_rpc): Functions moved ...
31388         * sunrpc/test-rpcent.c: ... to this new file.
31389         * sunrpc/Makefile (tests): Add it.
31391         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31392         __xpg_sigpause.
31393         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31394         * nptl/tst-signal6.c: Likewise.
31395         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31396         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31398         * configure.ac (libc_cv_cxx_link_ok): New check.
31399         Reset CXX to empty if it fails to link.
31400         * configure: Regenerated.
31401         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31402         bug-atexit3-lib only if $(CXX) is nonempty.
31403         * nptl/Makefile (tests): Likewise for tst-cancel24.
31404         (tests, tests-static): Likewise for tst-cancel24-static.
31405         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31406         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31407         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31408         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31410 2015-03-04  Andreas Schwab  <schwab@suse.de>
31412         [BZ #17631]
31413         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31414         for non-GCC compilers.
31415         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31416         Likewise.
31418 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31420         [BZ #17776]
31421         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31422         integer before bitwise and assembly operations.
31423         (feclearexcept): Likewise.
31424         * math/test-fenvinline.c: New file.
31425         * math/Makefile: Add test-fenvinline test.
31427 2015-03-03  Alan Modra  <amodra@gmail.com>
31429         [BZ #16512]
31430         * scripts/localplt.awk: Strip off symbol version.
31431         * NEWS: Mention bug fix.
31433 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31435         * sysdeps/pthread/timer_routines.c
31436         (timer_free_list, thread_free_list, thread_active_list): Make static.
31438 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31440         [BZ #17779]
31441         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31442         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31443         Undefine.
31444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31445         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31446         Likewise.
31447         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31448         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31449         Likewise.
31451 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31453         [BZ #18036]
31454         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31455         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31457 2015-03-02  Andreas Schwab  <schwab@suse.de>
31459         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31460         variable name.
31462 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31464         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31465         Return error status.
31467 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31469         [BZ #15969]
31470         * locale/findlocale.c (_nl_find_locale): Introduce const
31471         version of loc_name and drop unsafe type casts.
31473 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31475         * dlfcn/tststatic2.c (main): Converted to ...
31476         (do_test): ... this.
31477         (TEST_FUNCTION): New macro.
31478         Include test-skeleton.c.
31480 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31482         [BZ #17711]
31483         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31484         (tests-pie): Add vismain.
31485         (CFLAGS-vismain.c): New.
31486         * elf/vismain.c: Add comments for PIE requirement.
31488 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31490         [BZ #18046]
31491         [BZ #18047]
31492         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31493         0x1p-56L as threshold for just returning the argument.
31494         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31495         0x1p-32L as threshold for just returning the argument.
31496         * math/auto-libm-test-in: Add more tests of atanh.
31497         * math/auto-libm-test-out: Regenerated.
31498         * sysdeps/i386/fpu/libm-test-ulps: Update.
31499         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31501 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31503         * string/bcopy.c (bcopy): Call memmove for performance.
31505 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31507         * string/bzero.c (__bzero): Call memset for performance.
31509 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31511         [BZ #18068]
31512         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31513         to 00100000.
31515 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31517         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31519 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31521         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31522         (__kernel_standard): Use CSTR macro when setting exc.name.
31523         * sysdeps/ieee754/Makefile [$(subdir) = math]
31524         (CFLAGS-k_standard.c): Remove variable.
31526         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31527         setting p and q from "else if" to "else".
31528         (qzero): Likewise.
31529         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31530         (qone): Likewise.
31531         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31532         (qzerof): Likewise.
31533         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31534         (qonef): Likewise.
31535         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31536         (qzero): Likewise.
31537         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31538         (qone): Likewise.
31540         [BZ #18038]
31541         [BZ #18039]
31542         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31543         return pi/2 for arguments below 0x1p-113L.
31544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31545         return pi/2 for arguments below 0x1p-106L.
31546         * math/auto-libm-test-in: Add more tests of acos.
31547         * math/auto-libm-test-out: Regenerated.
31549         [BZ #16351]
31550         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31551         (MO): New macro.
31552         (__ieee754_asin): Force underflow exception for results with small
31553         absolute value.
31554         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31555         (MO): New macro.
31556         (__ieee754_asinf): Force underflow exception for results with
31557         small absolute value.
31558         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31559         (__ieee754_asin): Force underflow exception for results with small
31560         absolute value.
31561         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31562         (__ieee754_asinf): Force underflow exception for results with
31563         small absolute value.
31564         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31565         (__ieee754_asinl): Force underflow exception for results with
31566         small absolute value.
31567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31568         (__ieee754_asinl): Force underflow exception for results with
31569         small absolute value.
31570         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31571         (__ieee754_asinl): Force underflow exception for results with
31572         small absolute value.
31573         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31574         Include <math.h>.
31575         * math/auto-libm-test-in: Do not mark underflow exceptions as
31576         possibly missing for bug 16351.
31577         * math/auto-libm-test-out: Regenerated.
31579         [BZ #18030]
31580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31581         of power of 2 down when low part has opposite sign.
31582         * math/libm-test.inc (logb_test_data): Add more tests.
31584 2015-02-26  Andreas Schwab  <schwab@suse.de>
31586         [BZ #18032]
31587         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31588         over collating symbol inside a bracket expression.  Minor cleanup.
31589         * posix/tst-fnmatch3.c (do_test): Add test case.
31591 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31593         [BZ #18029]
31594         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31595         Adjust exponent of power of 2 down when low part has opposite
31596         sign.
31597         * math/libm-test.inc (ilogb_test_data): Add more tests.
31599 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31601         [BZ #15969]
31602         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31603         the previous change.
31605         [BZ #15969]
31606         * locale/findlocale.c (_nl_find_locale): Retry archive search
31607         after alias expansion.
31609 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31611         * iconv/tst-iconv3.c (main): Converted to ...
31612         (do_test): ... this.
31613         (TEST_FUNCTION): New macro.
31614         Include test-skeleton.c.
31616         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31617         (convert): Make function static.
31618         (test_unalign): Likewise.  Add const to argument pointee types.
31619         (main): Replace with static function do_test.
31620         Print "Succeeded." only if RET is zero.
31621         (TEST_FUNCTION): New macro.
31622         Include test-skeleton.c.
31624         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31625         returns a null pointer.
31627 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31630         to __memcpy_ppc only for static builds.
31632 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31634         [BZ #18020]
31635         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31636         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31637         * math/auto-libm-test-in: Add more tests of asinh.
31638         * math/auto-libm-test-out: Regenerated.
31639         * sysdeps/i386/fpu/libm-test-ulps: Update.
31640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31642 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31644         [BZ #15850]
31645         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31646         and ip6_mtuinfo definitions here.
31647         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31648         in this define too.  Update comment.
31650 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31652         * elf/sprof.c (load_shobj): Tweak error message to match others.
31654 2015-02-24  Kevin Easton  <kevin@guarana.org>
31656         [BZ #16145] (partial fix)
31657         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31658         to reduce lock contention.
31660 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31662         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31663         (struct timex): Update time comment.
31664         (ADJ_SETOFFSET): Define.
31666 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #18019]
31669         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31670         2**56 not 2**28 as threshold for log (2x) formula.
31671         * math/auto-libm-test-in: Add more tests of acosh.
31672         * math/auto-libm-test-out: Regenerated.
31673         * sysdeps/i386/fpu/libm-test-ulps: Update.
31674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31676 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31678         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31679         parenthesis around the buf assignment.
31680         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31682 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31684         [BZ #16783]
31685         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31686         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31687         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31688         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31689         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31690         * math/libm-test.inc (scalb_test_data): Add more tests.
31692 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31694         [BZ #17916]
31695         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31696         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31698 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31700         [BZ #17523]
31701         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31702         * io/bits/fcntl2.h (open): Use it.
31703         (openat): Likewise.
31704         * io/open.c (__libc_open): Likewise.
31705         * io/open64.c (__libc_open64): Likewise.
31706         * io/open64_2.c (__open64_2): Likewise.
31707         * io/open_2.c (__open_2): Likewise.
31708         * io/openat.c (__openat): Likewise.
31709         * io/openat64.c (__openat64): Likewise.
31710         * io/openat64_2.c (__openat64_2): Likewise.
31711         * io/openat_2.c (__openat_2): Likewise.
31712         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31713         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31714         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31715         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31716         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31717         (__open_nocancel): Likewise.
31718         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
31719         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
31720         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
31722 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31724         [BZ #14841]
31725         * resolv/gethnamaddr.c (getanswer): Skip logging if
31726         RES_USE_DNSSEC is set.
31727         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31729 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31731         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
31733 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
31735         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
31736         201304L, for Unicode 7.
31738 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
31740         [BZ #17836]
31741         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
31742         shared library.  Add gmon-start.os otherwise.
31743         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
31744         $(objpfx)gmon-start.os if builing shared library.
31745         ($(objpfx)g$(static-start-installed-name)): Likewise.
31747 2015-02-23  Andreas Schwab  <schwab@suse.de>
31749         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
31751 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31753         [BZ #17269]
31754         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
31755         (enlarge_userbuf): Likewise.
31757 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31759         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
31760         * math/atest-exp.c (TIMEOUT): Adjust to 200.
31761         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
31762         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
31764 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
31766         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
31767         expression inside statement expression.
31769 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
31771         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
31772         <sysdeps/nptl/lowlevellock.h> and remove macros and
31773         functions that are now defined there.
31774         (SYS_futex): Remove.
31775         (lll_compare_and_swap): Remove.
31776         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
31778 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
31780         [BZ #17999]
31781         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
31782         instead of scandirat.
31783         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
31784         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
31785         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
31786         __scandirat.
31787         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
31788         (__scandirat): Declare.  Use libc_hidden_proto.
31789         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
31790         Remove variable.
31791         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31793 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31795         [BZ #15319]
31796         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
31797         (MO): New macro.
31798         (__ieee754_atan2): For results with small absolute value, force
31799         underflow exception and remove excess range and precision from
31800         return value.
31801         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
31802         (MO): New macro.
31803         (__ieee754_atan2f): For results with small absolute value, force
31804         underflow exception and remove excess range and precision from
31805         return value.
31806         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
31807         (MO): New macro.
31808         (__atan): For results with small absolute value, force underflow
31809         exception and remove excess range and precision from return value.
31810         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
31811         (MO): New macro.
31812         (__atanf): For results with small absolute value, force underflow
31813         exception and remove excess range and precision from return value.
31814         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
31815         <math.h>.
31816         (__ieee754_atan2): Force underflow exception for results with
31817         small absolute value.
31818         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
31819         <math_private.h>.
31820         (atan): Force underflow exception for results with small absolute
31821         value.
31822         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
31823         (__atanf): Force underflow exception for results with small
31824         absolute value.
31825         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
31826         <math.h>.
31827         (__atanl): Force underflow exception for results with small
31828         absolute value.
31829         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
31830         (__atanl): Force underflow exception for results with small
31831         absolute value.
31832         * sysdeps/x86/fpu/bits/mathinline.h
31833         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
31834         (__ieee754_atan2): Only define inline for long double.
31835         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
31836         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
31837         * math/auto-libm-test-in: Do not mark underflow exceptions as
31838         possibly missing for bug 15319.  Add more tests of atan2.
31839         * math/auto-libm-test-out: Regenerated.
31840         * math/libm-test.inc (casin_test_data): Do not mark underflow
31841         exceptions as possibly missing for bug 15319.
31842         (casinh_test_data): Likewise.
31843         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
31847         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
31848         * sysdeps/mips/bits/endian.h: Fix comments.
31850 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
31852         [BZ #17996]
31853         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
31854         (hdestroy_r): Likewise.
31855         (hsearch_r): Likewise.
31856         (__hcreate_r): Declare and use libc_hidden_proto.
31857         (__hdestroy_r): Likewise.
31858         (__hsearch_r): Likewise.
31859         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
31860         (hcreate): Call __hcreate_r instead of hcreate_r.
31861         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
31862         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
31863         as weak alias of __hcreate_r.
31864         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
31865         __hdestroy_r.
31866         (hsearch_r): Rename to __hsearch_r and define as weak alias of
31867         __hsearch_r.
31868         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
31869         Remove variable.
31870         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31871         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31872         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31873         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31875 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31877         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
31878         arena_lock into a single arena_get.
31880 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
31882         * dl-reloc.c: Inlucde libc-internal.h.
31883         (_dl_try_allocate_static_tls): Call ALIGN_UP.
31884         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
31885         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
31886         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
31887         (grow_heap): Likewise.
31888         * malloc/malloc.c: Include libc-internal.h.
31889         (do_check_malloc): Call powerof2.
31890         (sysmalloc): Use pagesize. Call ALIGN_UP.
31891         (systrim): Use pagesize.
31892         (mremap_chunk): Use pagesize. Call ALIGN_UP.
31893         (__libc_valloc): Use pagesize.
31894         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
31896 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31898         [BZ #17991]
31899         * include/sys/resource.h (__getrlimit64): Declare.  Use
31900         libc_hidden_proto.
31901         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
31902         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
31903         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
31904         getrlimit64.
31905         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
31906         __getrlimit64.
31907         [!getrlimit64] (getrlimit64): Define as weak alias of
31908         __getrlimit64.  Use libc_hidden_weak.
31909         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
31910         using __getrlimit64 not __new_getrlimit64.
31911         (__GI_getrlimit64): Likewise.
31912         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
31913         Likewise.
31914         (__GI_getrlimit64): Likewise.
31915         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
31916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
31917         (getrlimit): Add __getrlimit64 alias.
31918         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
31919         Likewise.
31920         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
31921         Remove variable.
31922         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31923         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31925 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
31927         * libio/fileops.c: Add missing sys/mman.h
31928         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
31930 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
31932         * manual/math.texi (Errors in Math Functions): Clarify goals
31933         regarding inexact and underflow exceptions.
31935 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31937         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
31938         * sysdeps/mips/memset.S: Ditto.
31940 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
31942         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
31944 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31946         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
31947         (__v1longjmp): Remove versioned symbol.
31948         (__v1siglongjmp): Remove alias and versioned symbol.
31949         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
31950         (__v2siglongjmp): Likewise.
31952 2015-02-16  Torvald Riegel  <triegel@redhat.com>
31954         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
31956 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
31958         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
31960 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #17987]
31963         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
31964         zero result does not depend on the sign resulting from
31965         subtraction.
31966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31967         Likewise.
31968         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31969         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31970         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31971         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31972         * math/libm-test.inc (remquo_test_data): Add more tests.
31974 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
31976         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
31977         Problem reported by J William Piggott.
31979 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
31981         [BZ #17978]
31982         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
31983         products 4 * y and 2 * y where those would overflow.
31984         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
31985         Likewise.
31986         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
31987         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31988         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31989         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
31990         * math/libm-test.inc (remquo_test_data): Add more tests.
31992         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
31994         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
31995         [defined _COMPILING_NEWLIB].
31996         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
31997         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
31999         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32000         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32002 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32004         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32005         acquired.
32007 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32009         [BZ #17792]
32010         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32011         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32012         HOST_STACK_END_ADDR): Likewise.
32014 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32016         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32017         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32018         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32020 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32022         * sysdeps/generic/c++-types.data: New file.
32023         * sysdeps/generic/ld.abilist: New file.
32024         * sysdeps/generic/libBrokenLocale.abilist: New file.
32025         * sysdeps/generic/libanl.abilist: New file.
32026         * sysdeps/generic/libc.abilist: New file.
32027         * sysdeps/generic/libcrypt.abilist: New file.
32028         * sysdeps/generic/libdl.abilist: New file.
32029         * sysdeps/generic/libm.abilist: New file.
32030         * sysdeps/generic/libpthread.abilist: New file.
32031         * sysdeps/generic/libresolv.abilist: New file.
32032         * sysdeps/generic/librt.abilist: New file.
32034 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32036         [BZ #17569]
32037         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32038         Compute absolute value of x as modified by fmod, not original
32039         value of x.
32040         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32041         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32042         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32043         RUN_TEST_ffI_f1_mod8.
32044         (remquo_test_data): Add more tests.
32046 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32048         * sysdeps/init_array/pt-crti.S: New file.
32050 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32052         [BZ #17967]
32053         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32054         __builtin_fmaf instead of relying on contraction of a * b + c.
32056 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32058         [BZ #17969]
32059         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32060         node.
32062 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32064         [BZ #17964]
32065         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32066         __builtin_fma instead of relying on contraction of a * b + c.
32068 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32070         * Makeconfig (ASFLAGS): Add -Werror=undef.
32071         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32072         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32073         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32075         * Makeconfig (after-link): New variable.
32076         (+link-pie, +link-pie-tests): Use it.
32077         (+link-static, +link-static-tests): Likewise.
32078         (+link, +link-tests): Likewise.
32079         * Makerules (build-module, build-module-asneeded): Likewise.
32080         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32081         Likewise.
32082         * elf/Makefile ($(objpfx)ld.so): Likewise.
32084 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32086         [BZ #17965]
32087         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32088         both struct timeval and struct timespec.
32090 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32092         [BZ #16560]
32093         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32094         and redefine.
32095         (__ieee754_exp2l): Do not multiply small fractional parts by
32096         M_LN2l.
32097         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32098         small argument.
32099         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32100         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32101         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32102         * math/auto-libm-test-in: Add more tests of exp2.
32103         * math/auto-libm-test-out: Regenerated.
32105 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32107         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32108         unaligned path.
32110 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32112         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32113         little endian.
32115 2015-02-12  Andreas Schwab  <schwab@suse.de>
32117         [BZ #15790]
32118         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32119         Filter out elision flags from value returned in kind.
32120         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32121         * nptl/tst-pthread-mutexattr.c: New file.
32123 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32125         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32126         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32127         into gnu-gnu, and update comment to refer to abi-tags.
32129 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32131         [BZ #15467]
32132         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32133         (__sincos): Set errno to EDOM for infinite argument.
32134         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32135         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32136         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32137         (__sincosl): Set errno to EDOM for infinite argument.
32138         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32139         (__sincosl): Set errno to EDOM for infinite argument.
32140         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32141         (__sincosl): Set errno to EDOM for infinite argument.
32142         * math/libm-test.inc (sincos_test_data): Test errno setting.
32144 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32146         * string/strxfrm_l.c: Remove #define STRCMP.
32147         * string/strcoll_l.c: Remove #define STRLEN.
32148         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32149         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32151 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32153         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32154         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32155         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32156         * sysdeps/mips/mips64/Makefile: ... here.
32157         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32158         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32159         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32160         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32161         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32162         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32163         * sysdeps/mips/mips64/n64/Implies: Likewise.
32165 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32167         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32168         <sys/time.h>, <string.h>, and <errno.h>.
32169         (dest_offset, dest_address, value, zero): Remove unused variables.
32170         (ldouble): Remove typedef.
32171         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32172         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32173         1).  Fix code style.
32174         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32175         (check): Function removed.
32176         (CHECK): New macro.
32177         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32178         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32179         Don't call set_sigaction_FP and remove_sigaction_FP here.
32180         (ldouble_test): Just use 'long double' as macro argument, no need for
32181         the 'ldouble' typedef.
32182         (do_test): Set up SIGFPE handler at start, using plain signal rather
32183         than sigaction.  Fix code style.
32185 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32187         [BZ #17949]
32188         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32189         jump label.
32191 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32193         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32194         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32196         * sysdeps/powerpc/configure.ac: Remove file.
32197         * sysdeps/powerpc/configure: Likewise.
32199         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32200         [sysdep_routines]: Remove wordcopy-power6 object.
32201         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32202         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32203         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32204         (__memmove_ppc32): Likewise.
32205         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32206         file.
32207         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32209         Remove preprocessor.
32211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32212         [sysdep_routines]: Remove wide chars objects.
32213         [wcsmbs]: New rule for wide char objects.
32215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32216         Remove wordcopy-power6 obejct.
32217         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32218         Use local call for wordcopy and memcpy symbols.
32219         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32220         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32221         implementation for loader.
32222         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32225         Remove wordcopy-power7 object.
32226         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32227         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32228         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32229         (_wordcopy_fwd_dest_aligned): Likewise.
32230         (_wordcopy_bwd_aligned): Likewise.
32231         (_wordcopy_bwd_dest_aligned): Likewise.
32233         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32234         Rewrite to call __memmove_ppc instead of include default
32235         implementation.
32237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32238         Remove wide chars objects.
32239         [wcsmbs]: New rule for wide char objects.
32241 2015-02-09  Andreas Schwab  <schwab@suse.de>
32243         [BZ #17912]
32244         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32245         in terms of __O_DIRECTORY.
32247 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32249         * time/getdate.c: Include <stdbool.h>.
32250         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32251         call PTR_MANGLE.
32252         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32253         PTR_DEMANGLE.
32255 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32257         Add ersatz _Static_assert on older C hosts
32258         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32259         pre-C11 C platform that is not known to support _Static_assert.
32261 2015-02-07  Richard Braun  <rbraun@sceen.net>
32263         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32264         sigstate.
32265         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32267 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32269         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32270         priority against unexistent AIO_PRIO_DELTA_MAX.
32271         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32272         instead of int.
32273         * misc/fchflags.c (fchflags): Likewise.
32274         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32275         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32276         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32277         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32278         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32279         Declare macros.
32280         [__USE_MISC] (chflags, fchflags): Declare functions.
32281         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32282         EINVAL when nfds is greater than FD_SETSIZE.
32283         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32284         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32285         45.
32286         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32287         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32288         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32289         MACH_RCV_TIMED_OUT.
32290         * hurd/hurd/signal.h (_hurd_self_sigstate,
32291         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32292         Explicit casts from void *.
32293         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32294         * abi-tags: Rename gnu-gnu os into gnu.
32296         [BZ #4719]
32297         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32298         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32299         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32300         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32301         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32302         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32304         [BZ #17944]
32305         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32306         duplicates ADDR->sun_path with sockaddr LEN limitation.
32307         * sysdeps/mach/hurd/connect.c: Include <string.h>
32308         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32309         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32310         * sysdeps/mach/hurd/sendto.c: Likewise.
32311         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32312         implementing it by hand.
32314 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32316         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32317         Use sfi_breg on ldr.
32318         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32319         Likewise.
32321         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32322         it's defined.
32323         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32324         Test SIGSETXID only if it's defined.
32326         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32328         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32329         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32331         * nptl/tst-align2.c: Moved ...
32332         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32333         * nptl/Makefile (tests): Remove tst-align2.
32334         * sysdeps/unix/sysv/linux/Makefile
32335         [$(subdir) = nptl] (tests): Add tst-align-clone.
32336         * nptl/tst-getpid1.c: Moved ...
32337         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32338         * nptl/tst-getpid2.c: Moved ...
32339         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32340         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32341         * sysdeps/unix/sysv/linux/Makefile
32342         [$(subdir) = nptl] (tests): ... here.
32343         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32344         * sysdeps/unix/sysv/linux/Makefile
32345         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32347         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32348         Drop trailing \n from perror argument.  Use return rather than exit.
32350         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32351         on [SA_SIGINFO].
32352         * nptl/tst-cancel21.c (do_test): Likewise.
32353         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32354         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32355         [!SA_SIGINFO]: Make it a stub test.
32357         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32358         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32360         * posix/tst-getlogin.c: Move to ...
32361         * login/tst-getlogin.c: ... here.
32362         * posix/Makefile (tests): Move tst-getlogin to ...
32363         * login/Makefile (tests): ... here.
32365         * libio/tst-atime.c (do_test): Move local variables SV and E
32366         inside [ST_NOATIME] conditional.
32368         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32370         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32372         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32373         (wait_code): New function replaces macro.
32374         Call nanosleep rather than syscall.
32376         * nptl/pt-system.c: Rewritten.  Put everything under
32377         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32378         Use IFUNC to redirect when possible.
32380         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32381         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32382         Use IFUNC to redirect when possible.
32384         * nptl/pt-fork.c: Rewritten.  Put everything under
32385         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32386         Use IFUNC to redirect when possible.
32387         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32389         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32390         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32391         unconditionally nowadays.  This included the only reference to
32392         __vdso_clock_gettime that appears outside libc proper.
32393         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32394         Remove version set (containing only __vdso_clock_gettime).
32395         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32396         Add attribute_hidden.
32397         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32398         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32399         libc_hidden_data_def.
32400         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32401         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32403         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32404         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32405         setrpcent, and getrpcport to ...
32406         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32407         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32408         getrpcbynumber_r, and getrpcent_r to ...
32409         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32410         * inet/getrpcbyname.c: Moved ...
32411         * sunrpc/getrpcbyname.c: ... here.
32412         * inet/getrpcbyname_r.c: Moved ...
32413         * sunrpc/getrpcbyname_r.c: ... here.
32414         * inet/getrpcbynumber.c: Moved ...
32415         * sunrpc/getrpcbynumber.c: ... here.
32416         * inet/getrpcbynumber_r.c: Moved ...
32417         * sunrpc/getrpcbynumber_r.c: ... here.
32418         * inet/getrpcent.c: Moved ...
32419         * sunrpc/getrpcent.c: ... here.
32420         * inet/getrpcent_r.c: Moved ...
32421         * sunrpc/getrpcent_r.c: ... here.
32422         * inet/Makefile (routines): Move those to ...
32423         * sunrpc/Makefile (routines): ... here.
32424         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32425         the $(subdirs) list.
32426         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32427         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32428         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32429         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32431         * elf/Makefile (routines): Include $(all-dl-routines), not just
32432         $(dl-routines).
32433         (rtld-routines): Likewise.  Use = rather than :=.
32434         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32435         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32436         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32437         * sysdeps/arm/Makefile: Likewise.
32438         * sysdeps/i386/Makefile: Likewise.
32439         * sysdeps/x86_64/Makefile: Likewise.
32440         * sysdeps/hppa/Makefile [$(subdir) = elf]
32441         (sysdep_routines, sysdep-rtld-routines): Don't add
32442         $(sysdep-dl-routines) to these.
32443         * sysdeps/ia64/Makefile: Likewise.
32444         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32445         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32446         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32447         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32448         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32449         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32450         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32451         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32452         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32453         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32454         these; sysdep-dl-routines alone is enough.
32456 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32458         [BZ #17932]
32459         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32460         where multiplication results in zero and third argument is finite
32461         and nonzero.
32462         * math/auto-libm-test-in: Add more tests of fma.
32463         * math/auto-libm-test-out: Regenerated.
32465         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32466         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32467         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32468         (_FP_CMP_EQ): Likewise.
32469         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32471         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32472         extra argument CHECK_NAN.  Redefine as wrapper around
32473         _FP_EXTEND_CNAN.
32475 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32477         * version.h (RELEASE): Set to "stable".
32478         (VERSION): Set to "2.21"
32479         * include/features.h (__GLIBC_MINOR__): Set to 21.
32481         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32483 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32484             Paul Eggert  <eggert@cs.ucla.edu>
32486         [BZ #16618]
32487         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32488         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32489         size in bytes. Store needed elements in wpmax. Use needed size
32490         in bytes for extend_alloca.
32492 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32494         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32495         binutls 2.25, and texinfo 5.2.
32496         * INSTALL: Regenerate.
32497         * sysdeps/nios2/configure: Regenerate.
32498         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32499         * manual/contrib.texi: Update.
32500         * po/be.po: Update.
32501         * po/bg.po: Update.
32502         * po/ca.po: Update.
32503         * po/cs.po: Update.
32504         * po/da.po: Update.
32505         * po/de.po: Update.
32506         * po/el.po: Update.
32507         * po/eo.po: Update.
32508         * po/es.po: Update.
32509         * po/fi.po: Update.
32510         * po/fr.po: Update.
32511         * po/gl.po: Update.
32512         * po/hr.po: Update.
32513         * po/hu.po: Update.
32514         * po/ia.po: Update.
32515         * po/id.po: Update.
32516         * po/it.po: Update.
32517         * po/ja.po: Update.
32518         * po/ko.po: Update.
32519         * po/lt.po: Update.
32520         * po/nb.po: Update.
32521         * po/nl.po: Update.
32522         * po/pl.po: Update.
32523         * po/pt_BR.po: Update.
32524         * po/ru.po: Update.
32525         * po/rw.po: Update.
32526         * po/sk.po: Update.
32527         * po/sl.po: Update.
32528         * po/sv.po: Update.
32529         * po/tr.po: Update.
32530         * po/uk.po: Update.
32531         * po/vi.po: Update.
32532         * po/zh_CN.po: Update.
32533         * po/zh_TW.po: Update.
32535         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32536         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32537         * sysdeps/hppa/dl-irel.h: Remove #warning.
32538         * sysdeps/hppa/entry.h: Provide prototype for
32539         __canonicalize_funcptr_for_compare and cast argument.
32540         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32541         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32542         * sysdeps/hppa/sotruss-lib.c: New file.
32543         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32544         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32545         (atomic_compare_and_exchange_bool_acq): Likewise.
32546         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32547         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32549         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32550         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32551         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32553 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32555         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32556         called function in non-PIC case.
32558 2015-01-31  David S. Miller  <davem@davemloft.net>
32560         * sysdeps/sparc/sparc32/bits/atomic.h
32561         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32562         unlock not after it.
32563         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32564         volatile register usage warnings from the compiler.
32566         * sysdeps/sparc/nptl/sem_init.c: Delete.
32567         * sysdeps/sparc/nptl/sem_post.c: Delete.
32568         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32569         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32570         * sysdeps/sparc/sparc32/sem_init.c: New file.
32571         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32572         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32573         padding explicitly initialized.
32574         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32575         padding for in-semaphore spinlock.
32576         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32577         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32578         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32579         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32580         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32581         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32582         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32583         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32584         version.
32585         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32586         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32588 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32590         [BZ #17801]
32591         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32592         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32593         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32594         New.
32595         (index_AVX_Fast_Unaligned_Load): Likewise.
32596         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32597         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32598         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32599         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32600         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32601         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32602         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32603         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32604         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32606 2015-01-29  Andreas Schwab  <schwab@suse.de>
32608         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32610 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32612         [BZ #17892]
32613         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32615 2015-01-28  Martin Sebor  <msebor@redhat.com>
32617         * math/README.libm-test: Clarify. Add "How to read the test output."
32619 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32621         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32622         Define to 0.
32624 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32626         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32627         (__HAVE_64B_ATOMICS): Define to 0.
32629 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32631         [BZ #17885]
32632         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32633         value to set as new flag.
32635         [BZ #16576]
32636         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32637         and use _ARCH_PPCSQ instead.
32638         (__ieee754_sqrt): Likewise.
32639         (__ieee754_sqrtf): Likewise.
32640         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32641         _ARCH_PPCSQ is defined.
32642         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32643         fsqrt instruction.
32644         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32645         _ARCH_PPCSQ is defined.
32646         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32647         fsqrts instruction.
32648         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32650 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32652         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32653         bug (GCC BZ #64739).
32655 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32657         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32658         Mark _retval as used.
32659         (lll_futex_wake_unlock): Likewise.
32660         (lll_futex_timed_wait_requeue_pi): Likewise.
32662         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32663         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32664         register variables.
32666         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32667         libm_hidden_def.
32669         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32670         (__bswap_64): Mark as __always_inline.
32672 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32674         [BZ #15378]
32675         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32676         when none of the search directories exist.
32678 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32680         [BZ #17869]
32681         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32682         power8 in .machine directive.
32684         [BZ #17868]
32685         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32686         set dependency from opd value.
32688 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32690         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32691         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32692         architecture.
32694 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32696         [BZ #17870]
32697         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32698         with uint64_t.
32699         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32700         (uint64_t) 1.
32701         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32702         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32703         Replace 1UL with (uint64_t) 1.
32704         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32705         int with uint64_t.
32707 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32709         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32710         (if_freenameindex): Likewise.
32712         * resource/getrlimit64.c: Add missing libc_hidden_def.
32714 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32716         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32717         __label__.
32718         (_FP_FMA): Likewise.
32719         (_FP_TO_INT_ROUND): Likewise.
32720         (_FP_FROM_INT): Likewise.
32722 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32724         [BZ #16418]
32725         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
32726         Make code racy and cancel safe.
32728 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
32730         * sysdeps/arm/unwind-resume.h: Fix copyright year.
32731         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
32732         attribution.
32734         * pwd/tst-getpw.c: Rewrite.
32736         [BZ #17702]
32737         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
32738         (modules-names): Add moddummy1 and moddummy2.
32739         ($(objpfx)tst-rec-dlopen): Define.
32740         * dlfcn/moddummy1.c: New file.
32741         * dlfcn/moddummy2.c: New file.
32742         * dlfcn/tst-rec-dlopen.c: New file.
32743         * elf/dl-cache.c (_dl_load_cache_lookup):
32744         Return char*. Copy result with alloca/strcpy/strdup.
32745         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
32746         returns char*. Free cached. If not saving realname
32747         free cached.
32748         * elf/dl-open.c (dl_open_worker): Do not assert that
32749         _r_debug->r_state is RT_CONSISTENT.
32750         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
32751         returns char*.
32753 2015-01-21  Torvald Riegel  <triegel@redhat.com>
32754             Carlos O'Donell  <carlos@redhat.com>
32756         [BZ #12674]
32757         * nptl/sem_waitcommon.c: New file.
32758         * nptl/sem_wait.c: Include sem_waitcommon.c.
32759         (__sem_wait_cleanup, do_futex_wait): Remove.
32760         (__new_sem_wait): Adapt.
32761         (__new_sem_trywait): New function.
32762         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
32763         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
32764         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32765         (sem_timedwait): Adapt.
32766         * nptl/sem_post.c (__new_sem_post): Adapt.
32767         (futex_wake): New function.
32768         (__old_sem_post): Add release MO fence.
32769         * nptl/sem_open.c (sem_open): Adapt.
32770         * nptl/sem_init.c (__new_sem_init): Adapt.
32771         (futex_private_if_supported): New function.
32772         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
32773         (__old_sem_getvalue): Add using previous code.
32774         * sysdeps/nptl/internaltypes.h: Adapt.
32775         * nptl/tst-sem13.c (do_test): Adapt.
32776         * nptl/tst-sem11.c (main): Adapt.
32777         * nptl/sem_trywait.c: Remove.
32778         * nptl/DESIGN-sem.txt: Remove.
32779         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
32780         (gen-as-const-headers): Remove structsem.sym.
32781         * nptl/structsem.sym: Remove.
32782         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
32783         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
32784         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
32785         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
32786         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
32787         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
32788         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
32789         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
32790         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
32791         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
32792         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
32793         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
32794         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
32795         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
32796         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
32797         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
32798         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
32799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
32800         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
32801         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
32802         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
32803         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
32805 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
32807         * INSTALL: Regenerated.
32809         * po/libc.pot: Regenerated.
32811 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
32812             Sandra Loosemore  <sandra@codesourcery.com>
32813             Andrew Jenner  <andrew@codesourcery.com>
32814             Joseph Myers  <joseph@codesourcery.com>
32815             Nathan Sidwell  <nathan@codesourcery.com>
32817         * NEWS: Mention new Nios II port.
32818         * sysdeps/nios2/Implies: New file.
32819         * sysdeps/nios2/Makefile: New file.
32820         * sysdeps/nios2/Subdirs: New file.
32821         * sysdeps/nios2/Versions: New file.
32822         * sysdeps/nios2/__longjmp.S: New file.
32823         * sysdeps/nios2/abort-instr.h: New file.
32824         * sysdeps/nios2/backtrace.c: New file.
32825         * sysdeps/nios2/bits/endian.h: New file.
32826         * sysdeps/nios2/bits/fenv.h: New file.
32827         * sysdeps/nios2/bits/link.h: New file.
32828         * sysdeps/nios2/bits/setjmp.h: New file.
32829         * sysdeps/nios2/bsd-_setjmp.S: New file.
32830         * sysdeps/nios2/bsd-setjmp.S: New file.
32831         * sysdeps/nios2/configure: New generated file.
32832         * sysdeps/nios2/configure.ac: New file.
32833         * sysdeps/nios2/crti.S: New file.
32834         * sysdeps/nios2/crtn.S: New file.
32835         * sysdeps/nios2/dl-init.c: New file.
32836         * sysdeps/nios2/dl-machine.h: New file.
32837         * sysdeps/nios2/dl-sysdep.h: New file.
32838         * sysdeps/nios2/dl-tls.h: New file.
32839         * sysdeps/nios2/dl-trampoline.S: New file.
32840         * sysdeps/nios2/gccframe.h: New file.
32841         * sysdeps/nios2/gmp-mparam.h: New file.
32842         * sysdeps/nios2/jmpbuf-offsets.h: New file.
32843         * sysdeps/nios2/jmpbuf-unwind.h: New file.
32844         * sysdeps/nios2/ldsodefs.h: New file.
32845         * sysdeps/nios2/libc-tls.c: New file.
32846         * sysdeps/nios2/libm-test-ulps: New file.
32847         * sysdeps/nios2/machine-gmon.h: New file.
32848         * sysdeps/nios2/math-tests.h: New file.
32849         * sysdeps/nios2/math_private.h: New file.
32850         * sysdeps/nios2/memusage.h: New file.
32851         * sysdeps/nios2/nptl/Makefile: New file.
32852         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
32853         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
32854         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
32855         * sysdeps/nios2/nptl/pthreaddef.h: New file.
32856         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
32857         * sysdeps/nios2/nptl/tls.h: New file.
32858         * sysdeps/nios2/preconfigure: New file.
32859         * sysdeps/nios2/s_fma.c: New file.
32860         * sysdeps/nios2/s_fmaf.c: New file.
32861         * sysdeps/nios2/setjmp.S: New file.
32862         * sysdeps/nios2/sfp-machine.h: New file.
32863         * sysdeps/nios2/sotruss-lib.c: New file.
32864         * sysdeps/nios2/stackguard-macros.h: New file.
32865         * sysdeps/nios2/stackinfo.h: New file.
32866         * sysdeps/nios2/start.S: New file.
32867         * sysdeps/nios2/sysdep.h: New file.
32868         * sysdeps/nios2/tls-macros.h: New file.
32869         * sysdeps/nios2/tst-audit.h: New file.
32870         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
32871         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
32872         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
32873         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
32874         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
32875         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
32876         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
32877         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
32878         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
32879         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
32880         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
32881         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
32882         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
32883         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
32884         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
32885         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
32886         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
32887         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
32888         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
32889         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
32890         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
32891         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
32892         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
32893         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
32894         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
32895         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
32896         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
32897         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
32898         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
32899         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
32900         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
32901         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
32902         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
32903         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
32904         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
32905         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
32906         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
32907         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
32908         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
32909         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
32910         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
32911         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
32912         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
32913         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
32915 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32917         [BZ #17844]
32918         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
32919         (getutent): Use weak_alias in non SHARED case
32920         and default_symbol_version in SHARED case.
32921         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
32922         (getutent_r, pututline): Likewise.
32923         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
32924         (getutid): Likewise.
32925         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
32926         (getutid_r): Likewise.
32927         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
32928         (getutline): Likewise.
32929         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
32930         (getutline_r): Likewise.
32931         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
32932         (updwtmp): Likewise.
32934 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32936         [BZ #17848]
32937         * sysdeps/s390/s390-32/memcmp.S
32938         (memcmp_g5): Rename to __memcmp_g5.
32939         * sysdeps/s390/s390-32/memcpy.S
32940         (memcpy_g5): Rename to __memcpy_g5.
32941         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32942         (memcpy_mvcle) Rename to __memcpy_mvcle.
32943         * sysdeps/s390/s390-32/memset.S
32944         (memset_g5): Rename to __memset_g5.
32945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32946         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32947         and use prefixed functions.
32948         * sysdeps/s390/s390-32/multiarch/memcmp.S
32949         (memcmp_z196): Rename to __memcmp_z196.
32950         (memcmp_z10): Rename to __memcmp_z10.
32951         (memcmp): Set alias to __memcmp_g5.
32952         (bcmp): Set alias to __memcmp_g5.
32953         * sysdeps/s390/s390-32/multiarch/memcpy.S
32954         (memcpy_z196): Rename to __memcpy_z196.
32955         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32956         (memcpy_z10): Rename to __memcpy_z10.
32957         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32958         (memcpy): Set alias to __memcpy_g5.
32959         * sysdeps/s390/s390-32/multiarch/memset.S
32960         (memset_z196): Rename to __memset_z196.
32961         Jump to __memset_mvcle instead of memset_mvcle.
32962         (memset_z10): Rename to __memset_z10.
32963         Jump to __memset_mvcle instead of memset_mvcle.
32964         (memset_mvcle) Rename to __memset_mvcle.
32965         (memset): Set alias to __memset_g5.
32966         * sysdeps/s390/s390-64/memcmp.S
32967         (memcmp_z900): Rename to __memcmp_z900.
32968         * sysdeps/s390/s390-64/memcpy.S
32969         (memcpy_z900): Rename to __memcpy_z900.
32970         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32971         (memcpy_mvcle) Rename to __memcpy_mvcle.
32972         * sysdeps/s390/s390-64/memset.S
32973         (memset_z900): Rename to __memset_z900.
32974         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
32975         (IFUNC_RESOLVE): Prefix ifunc-resolve function
32976         and use prefixed functions.
32977         * sysdeps/s390/s390-64/multiarch/memcmp.S
32978         (memcmp_z196): Rename to __memcmp_z196.
32979         (memcmp_z10): Rename to __memcmp_z10.
32980         (memcmp): Set alias to __memcmp_z900.
32981         (bcmp): Set alias to __memcmp_z900.
32982         * sysdeps/s390/s390-64/multiarch/memcpy.S
32983         (memcpy_z196): Rename to __memcpy_z196.
32984         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32985         (memcpy_z10): Rename to __memcpy_z10.
32986         Jump to __memcpy_mvcle instead of memcpy_mvcle.
32987         (memcpy): Set alias to __memcpy_z900.
32988         * sysdeps/s390/s390-64/multiarch/memset.S
32989         (memset_z196): Rename to __memset_z196.
32990         Jump to __memset_mvcle instead of memset_mvcle.
32991         (memset_z10): Rename to __memset_z10.
32992         Jump to __memset_mvcle instead of memset_mvcle.
32993         (memset_mvcle) Rename to __memset_mvcle.
32994         (memset): Set alias to __memset_z900.
32996 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
32998         [BZ #17748]
32999         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33000         __fesetenv instead of fesetenv.
33002 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33004         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33005         macro.
33007 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33009         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33010         regression on LE.
33012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33013         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33015         strncmp-power8 object.
33016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33017         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33018         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33019         * NEWS: Update.
33021 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33022             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33024         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33025         trailing byte check.
33027 2015-01-13  David S. Miller  <davem@davemloft.net>
33029         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33031 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33033         * login/logout.c (logout): Use memset rather than bzero.
33034         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33035         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33036         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33037         (_gethtbyaddr): Likewise.
33038         * locale/programs/simple-hash.c (bcopy): Macro removed.
33040 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33042         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33043         Add strcmp-power8 object.
33044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33045         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33046         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33047         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33048         __strcmp_power8 implementation.
33049         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33050         * NEWS: Update.
33052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33053         Add strncpy-power8 and stpncpy-power8 objects.
33054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33055         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33056         implementations.
33057         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33058         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33059         __stpncpy_power8 implementation.
33060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33061         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33062         __strncpy_power8 implementation.
33063         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33064         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33065         * NEWS: Update.
33067         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33068         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33069         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33072         strncat-power8 object.
33073         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33074         __strcat_power8 implementation.
33075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33076         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33077         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33078         optimized strcat for power8.
33080         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33081         strcpy-power8 and stpcpy-power8 objects.
33082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33083         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33084         implementations.
33085         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33086         multiarch stpcpy implementation for POWER8.
33087         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33088         multiarch strcpy implementation for POWER8.
33089         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33090         __strcpy_power8 function.
33091         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33092         stpcpy for POWER8.
33093         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33094         strcpy for POWER8.
33095         * NEWS: Update.
33097 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33099         [BZ #16009]
33100         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33101         weights and rules. Use do_xfrm_cached if data fits in cache,
33102         do_xfrm otherwise.  Moved former main loop to...
33103         * (do_xfrm_cached): New function.
33104         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33105         find_idx, find_position and stack_push.
33106         * (find_idx): New function.
33107         * (find_position): Likewise.
33108         * localedata/sort-test.sh: Added test run for do_xfrm.
33109         * localedata/xfrm-test.c (main): Added command line option
33110         -nocache to run the test with strings that are too large for
33111         the STRXFRM cache.
33113 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33115         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33116         variable to lll_futex_wake call, not the value itself.
33118 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33120         [BZ #17803]
33121         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33122         twom64.  Adjust value to 0x1p-64L.
33123         (__scalblnl): Only return standard underflowing result for K <=
33124         -64 not K <= -63; adjust exponent for underflowing result by 64
33125         not 63.
33126         * math/libm-test.inc (scalbn_test_data): Add more tests.
33127         (scalbln_test_data): Likewise.
33129         [BZ #17834]
33130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33131         0x1p63L.
33132         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33133         not HX.
33134         * math/libm-test.inc (scalbn_test_data): Add more tests.
33135         (scalbln_test_data): Likewise.
33137 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33138             Stefani Seibold  <stefani@seibold.net>
33140         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33141         (sysdep_routines): Add dl-vdso here, ...
33142         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33143         (sysdep_routines): ... not here.
33144         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33145         fallback when vDSO is not presented.
33146         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33147         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33148         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33149         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33150         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33151         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33152         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33154         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33156         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33157         fallback configurable symbol when vDSO is not available.
33158         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33159         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33160         be able to redefine fallback symbol when vDSO is not available.
33161         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33162         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33164 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33166         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33167         (TLS_INIT_TP): Add tm_capable initialization.
33168         (TLS_DEFINE_INIT_TP): Likewise.
33169         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33170         TCB.
33171         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33172         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33173         calculation.
33174         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33175         transactoion is lock elision is built and TCB tm_capable is set.
33176         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33178         (INTERNAL_SYSCALL_NCS): Likewise.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33180         (INTERNAL_SYSCALL_NCS): Likewise.
33181         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33183         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33184         for powerpc.
33185         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33186         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33187         and remove it for 32 bits case.
33188         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33190         initialization.
33191         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33192         Disable lock elision with rdlocks if elision is not available.
33194         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33195         (sysdep_routines): Add lock elision objects.
33196         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33197         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33198         [pthread_mutex_t] (__elision): Add field.
33199         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33200         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33201         elision definitions for powerpc.
33202         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33203         implementation of lock elision for powerpc.
33204         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33205         implementation of timed lock elision for powerpc.
33206         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33207         implementation of trylock with lock elision for powerpc.
33208         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33209         implementaion of unlock for lock elision for powerpc.
33210         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33211         automatic enable lock elision for mutexes.
33212         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33213         transaction execution definitions for powerpc.
33214         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33215         definitions.
33216         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33217         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33218         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33219         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33220         * NEWS: Update.
33222 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33224         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33225         for #include of <shm-directory.h>.
33227 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33229         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33230         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33232 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33234         [BZ #17791]
33235         * NEWS: Mention bug fix.
33236         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33237         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33238         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33240 2015-01-09  Torvald Riegel <triegel@redhat.com>
33242         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33244 2015-01-09  Torvald Riegel <triegel@redhat.com>
33246         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33248 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33250         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33251         pointer and cast to uintptr_t.
33253 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33255         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33256         removed.
33257         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33259 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33261         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33262         of 0.
33264 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33266         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33267         <nptl/pthreadP.h> instead.
33268         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33270         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33271         already defined.
33272         [__SIGRTMIN] (init): Function removed.
33273         [__SIGRTMIN] (initialized): Variable removed.
33274         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33275         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33276         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33277         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33278         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33279         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33280         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33281         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33282         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33283         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33284         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33285         * sysdeps/nptl/allocrtsig.c: New file.
33286         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33287         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33288         * sysdeps/generic/testrtsig.h: File removed.
33290         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33291         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33293         * nptl/nptl-init.c (pthread_functions): Conditionalize
33294         .ptr__nptl_setxid initialization on [SIGSETXID].
33296         * sysdeps/nptl/sys/procfs.h: New file.
33297         * nptl_db/Makefile (headers): Add it.
33298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33300         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33301         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33302         * nptl/pthread_attr_setaffinity.c: Include it.
33303         * nptl/pthread_setattr_default_np.c: Likewise.
33304         * nptl/check-cpuset.h: New file.
33306 2015-01-08  Richard Henderson  <rth@redhat.com>
33308         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33309         (CFLAGS-tst-execstack-prog.c): Likewise.
33310         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33312 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33313             Sandra Loosemore  <sandra@codesourcery.com>
33314             Andrew Jenner  <andrew@codesourcery.com>
33315             Joseph Myers  <joseph@codesourcery.com>
33316             Nathan Sidwell  <nathan@codesourcery.com>
33318         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33319         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33320         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33321         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33322         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33323         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33324         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33325         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33326         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33327         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33328         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33329         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33330         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33331         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33332         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33333         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33334         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33336 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33338         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33339         timespec struct member in syscall macro.
33340         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33341         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33342         first timeval struct member in syscall macro.
33343         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33345 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33347         [BZ #17748]
33348         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33349         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33350         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33351         __feupdateenv and define as weak alias of __feupdateenv.  Use
33352         libm_hidden_weak.
33353         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33354         libm_hidden_def.
33355         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33356         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33357         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33358         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33359         libm_hidden_def.
33360         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33361         __feupdateenv and define as weak alias of __feupdateenv.  Use
33362         libm_hidden_weak.
33363         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33364         libm_hidden_def.
33365         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33366         __feupdateenv and define as weak alias of __feupdateenv.  Use
33367         libm_hidden_weak.
33368         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33369         libm_hidden_def.
33370         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33371         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33372         (__feupdateenv): Likewise.
33373         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33374         __feupdateenv and define as weak alias of __feupdateenv.  Use
33375         libm_hidden_weak.
33376         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33377         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33378         libm_hidden_def.
33379         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33380         function.
33381         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33382         libm_hidden_def.
33383         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33384         __feupdateenv instead of feupdateenv.
33385         (default_libc_feupdateenv_test): Likewise.
33386         (libc_feresetround_ctx): Likewise.
33388 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33390         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33391         prototype.
33393 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33395         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33396         COLL_SYM in a couple of places to avoid uninitialized variable
33397         wanings on tilegx gcc 4.8.2.
33399 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33401         * sysdeps/aarch64/strcpy.S: New file.
33402         * sysdeps/aarch64/stpcpy.S: New file.
33403         * NEWS: Updated.
33405 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33407         * sysdeps/aarch64/strrchr.S: New file.
33408         * NEWS: Updated.
33410 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33412         [BZ #17658]
33413         * stdlib/setenv.c: Fix memory leak when setting large,
33414         duplicate string.
33416 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33418         [BZ #17273]
33419         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33420         and tabs from buffer before parsing fstab entry.
33421         * misc/tst-mntent.c (main): Add test for mount entry with
33422         trailing spaces and tabs.
33424 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33426         [BZ #17748]
33427         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33428         * math/fesetround.c (fesetround): Rename to __fesetround and
33429         define as weak alias of __fesetround.  Use libm_hidden_weak.
33430         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33431         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33432         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33433         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33434         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33435         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33436         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33437         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33438         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33439         __fesetround_inline.
33440         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33441         __fesetround_inline instead of __fesetround.
33442         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33443         __fesetround and define as weak alias of __fesetround.  Use
33444         libm_hidden_weak.  Call __fesetround_inline instead of
33445         __fesetround.
33446         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33447         __fesetround and define as weak alias of __fesetround.  Use
33448         libm_hidden_weak.
33449         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33450         Likewise.
33451         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33453         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33454         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33455         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33456         __fesetround and define as weak alias of __fesetround.  Use
33457         libm_hidden_weak.
33458         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33459         __fesetround instead of fesetround.
33460         (default_libc_feholdexcept_setround): Likewise.
33461         (libc_feholdsetround_ctx): Likewise.
33462         (libc_feholdsetround_noex_ctx): Likewise.
33464         [BZ #17748]
33465         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33466         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33467         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33468         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33469         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33470         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33471         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33472         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33473         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33474         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33475         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33476         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33477         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33478         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33479         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33480         libm_hidden_def.
33481         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33482         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33483         Likewise.
33484         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33485         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33486         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33487         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33488         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33489         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33490         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33491         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33492         __fesetenv instead of fesetenv.
33493         (libc_feresetround_noex_ctx): Likewise.
33494         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33495         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33496         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33497         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33498         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33499         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33500         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33501         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33502         (__feupdateenv): Likewise.
33503         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33504         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33505         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33506         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33508 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33510         [BZ #17806]
33511         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33512         addresses have been freed.
33514 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33516         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33517         and nservall.
33519 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33521         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33522         Clean up check_pf allocation pattern. addresses
33524 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33526         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33527         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33528         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33529         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33530         * nptl/pthread_join.c (pthread_join): Likewise.
33531         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33532         * sysdeps/posix/waitid.c (__waitid): Likewise.
33533         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33534         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33535         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33536         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33537         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33538         Likewise.
33539         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33540         (__libc_pread64): Likewise.
33541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33542         (__libc_pwrite): Likewise.
33543         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33544         (__libc_pwrite64): Likewsie.
33545         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33546         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33547         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33548         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33549         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33550         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33551         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33553         Likewise.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33555         (__libc_pread64): Likewise.
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33557         Likewise.
33558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33559         (__libc_pwrite64): Likewise.
33560         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33561         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33562         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33563         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33564         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33565         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33566         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33567         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33568         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33569         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33570         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33571         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33572         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33573         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33574         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33575         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33576         Likewise.
33578 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33580         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33581         (CFLAGS-test-double.c): Likewise.
33582         (CFLAGS-test-ldouble.c): Likewise.
33583         (CPPFLAGS-test-ifloat.c): Likewise.
33584         (CPPFLAGS-test-idouble.c): Likewise.
33585         (CPPFLAGS-test-ildoubl.c): Likewise.
33586         (CFLAGS-test-test-fenv.c): Remove variable.
33587         (CFLAGS-test-misc.c): Likewise.
33589 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33591         [BZ #17797]
33592         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33593         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33594         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33595         CLOCKS_PER_SEC == 1000000.
33596         * time/clocktest.c (main): Replace %ld with %jd and cast to
33597         intmax_t.
33599 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33601         * sysdeps/generic/unwind-resume.h: New file.
33602         * sysdeps/gnu/unwind-resume.c: Include it.
33603         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33604         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33605         argument list.
33606         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33607         global rather than static.
33608         (_Unwind_Resume): Update user.
33609         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33610         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33611         rather than static.  Add __attribute__ ((cold)).
33612         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33613         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33614         * sysdeps/arm/arm-unwind-resume.S: New file.
33615         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33616         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33617         * sysdeps/arm/Makefile [$(subdir) = csu]
33618         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33619         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33620         Add rt-arm-unwind-resume.
33621         [$(subdir) = nptl]
33622         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33623         Add pt-arm-unwind-resume.
33624         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33625         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33627 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33629         [BZ #17748]
33630         * include/fenv.h (__feholdexcept): Declare.  Use
33631         libm_hidden_proto.
33632         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33633         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33634         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33635         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33636         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33637         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33638         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33639         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33640         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33641         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33642         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33643         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33644         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33645         (feholdexcept): Likewise.
33646         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33647         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33648         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33649         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33650         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33651         __feholdexcept instead of feholdexcept.
33652         (default_libc_feholdexcept_setround): Likewise.
33654 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33656         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33657         to avoid using stl/str to align destination.
33659 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33661         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33663 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33665         [BZ #17796]
33666         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33667         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33668         Define as weak alias not strong alias.
33670 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33672         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33673         bltzal with addiupc.
33674         (RTLD_START): Ditto.
33676 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33678         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33679         for __vdso_* functions in declarations.
33680         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33681         definitions.
33682         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33683         INTERNAL_VSYSCALL): Use struct return types to check for error.
33685         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33686         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33687         function with cast from llround().
33688         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33689         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33690         Define.
33692 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33694         [BZ #17793]
33695         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33696         Define as weak alias not strong alias.
33698         [BZ #17635]
33699         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33700         ...
33701         * ctype/ctype-extn.c: ... here.
33702         (__isblank_l): Move to ...
33703         * ctype/ctype-c99_l.c: ... here.  New file.
33704         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33705         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33706         Remove variable.
33707         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33708         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33709         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33710         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33711         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33713         [BZ #17777]
33714         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33715         (posix_fadvise64): Define as weak alias not strong alias.
33716         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33717         (posix_fallocate64): Likewise.
33718         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
33719         Remove variable.
33720         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33721         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33722         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33723         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33724         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33726 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33728         [BZ #16191]
33729         * NEWS: Mention bug fix.
33730         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
33731         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
33732         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
33733         (HOST_STACK_END_ADDR): Likewise.
33735 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33737         [BZ #17748]
33738         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
33739         * math/fegetround.c (fegetround): Rename to __fegetround and
33740         define as weak alias of __fegetround.  Use libm_hidden_weak.
33741         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
33742         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
33743         * sysdeps/arm/fegetround.c (fegetround): Likewise.
33744         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
33745         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
33746         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
33747         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
33748         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
33749         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
33750         Undefine after rather than before function definition; use
33751         parentheses around function name in definition.
33752         (__fegetround): Also undefine macro after function definition.
33753         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
33754         __fegetround and define as weak alias of __fegetround.  Use
33755         libm_hidden_weak.  Do not undefine as macro.
33756         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
33757         Likewise.
33758         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
33759         __fegetround and define as weak alias of __fegetround.  Use
33760         libm_hidden_weak.
33761         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33762         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
33763         * sysdeps/tile/math_private.h (__fegetround): New inline function.
33764         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
33765         __fegetround and define as weak alias of __fegetround.  Use
33766         libm_hidden_weak.
33767         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
33768         __fegetround instead of fegetround.
33770         [BZ #17782]
33771         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
33772         Condition macro definition on [__USE_MISC].
33774         [BZ #17781]
33775         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
33776         (struct sigaction): Change type of sa_flags field to int.
33778         [BZ #17780]
33779         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
33780         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
33781         __glibc_reserved0.
33783         * nptl/version.c (banner): Use single year in copyright notice.
33785         * NEWS: Update copyright dates.
33786         * catgets/gencat.c (print_version): Likewise.
33787         * csu/version.c (banner): Likewise.
33788         * debug/catchsegv.sh: Likewise.
33789         * debug/pcprofiledump.c (print_version): Likewise.
33790         * debug/xtrace.sh (do_version): Likewise.
33791         * elf/ldconfig.c (print_version): Likewise.
33792         * elf/ldd.bash.in: Likewise.
33793         * elf/pldd.c (print_version): Likewise.
33794         * elf/sotruss.sh: Likewise.
33795         * elf/sprof.c (print_version): Likewise.
33796         * iconv/iconv_prog.c (print_version): Likewise.
33797         * iconv/iconvconfig.c (print_version): Likewise.
33798         * locale/programs/locale.c (print_version): Likewise.
33799         * locale/programs/localedef.c (print_version): Likewise.
33800         * login/programs/pt_chown.c (print_version): Likewise.
33801         * malloc/memusage.sh (do_version): Likewise.
33802         * malloc/memusagestat.c (print_version): Likewise.
33803         * malloc/mtrace.pl: Likewise.
33804         * manual/libc.texinfo: Likewise.
33805         * nptl/version.c (banner): Likewise.
33806         * nscd/nscd.c (print_version): Likewise.
33807         * nss/getent.c (print_version): Likewise.
33808         * nss/makedb.c (print_version): Likewise.
33809         * posix/getconf.c (main): Likewise.
33810         * scripts/test-installation.pl: Likewise.
33811         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
33813 2015-01-02  Will Newton  <will.newton@linaro.org>
33815         * sysdeps/arm/armv7/configure: Removed.
33816         * sysdeps/arm/armv7/configure.ac: Likewise.
33818 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
33820         * All files with FSF copyright notices: Update copyright dates
33821         using scripts/update-copyrights.
33822         * intl/plural.c: Regenerated.
33823         * locale/programs/charmap-kw.h: Likewise.
33824         * locale/programs/locfile-kw.h: Likewise.
33826 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33828         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
33830 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33832         [BZ #17748]
33833         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
33834         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
33835         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33836         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33837         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33838         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
33839         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33840         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
33841         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33842         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33843         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33844         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33845         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33846         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33847         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
33848         libm_hidden_def.
33849         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
33851         Likewise.
33852         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
33853         define as weak alias of __fegetenv.  Use libm_hidden_weak.
33854         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33855         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
33856         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
33857         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
33858         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
33859         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
33860         __fegetenv instead of fegetenv.
33861         (libc_feholdsetround_noex_ctx): Likewise.
33863 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33865         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
33866         (Elf_MIPS_ABIFlags_v0): New structure.
33867         (EF_MIPS_FP64): Define.
33868         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
33869         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
33870         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
33871         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
33872         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
33873         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
33874         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
33875         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
33876         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
33877         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
33878         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
33879         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
33880         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
33881         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
33882         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
33883         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
33884         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
33885         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
33886         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
33887         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
33888         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
33889         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
33890         field.
33891         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
33892         EF_MIPS_FP64.
33893         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
33894         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
33895         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
33896         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
33897         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
33898         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
33899         * sysdeps/mips/tst-abi-interlink.c: Likewise.
33900         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
33901         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
33902         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
33903         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
33904         record the current FP ABI extension.
33905         (mips-mode-switch): Define to show if kernel headers support mode
33906         switching.
33907         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
33908         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
33909         supported SYSV ABI version to 3.
33910         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
33911         feature.
33913 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33914             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33916         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
33917         path.
33918         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
33920 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
33922         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
33923         __fegetround and redefine to call __fegetround.  Remove condition
33924         on [!__NO_MATH_INLINES].
33925         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
33926         function.
33927         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
33928         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
33929         Remove macro.
33930         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
33931         instead of <fenv_libc.h>.
33932         (__llrintl): Call fegetround instead of __fegetround.
33933         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
33934         instead of <fenv_libc.h>.
33935         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33936         (__lrintl): Call fegetround instead of __fegetround.
33937         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
33938         instead of <fenv_libc.h>.
33939         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33940         (__rintl): Call fegetround instead of __fegetround.
33942 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33944         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
33945         arrays.
33947 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
33949         [BZ #17775]
33950         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
33951         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
33952         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
33954 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33956         * sysdeps/i386/tls-macros.h: Include <features.h>.
33957         (TLS_LE): Use non-PIC version for GCC >= 5.0.
33958         (TLS_IE): Likewise.
33959         (TLS_LD): Likewise.
33960         (TLS_GD): Likewise.
33961         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
33962         define for GCC >= 5.0.
33964 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
33966         * math/test-fenv.c (test_single_exception, set_single_exc,
33967         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
33968         feexcp_mask_test, feenable_test, fe_single_test): Add
33969         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
33970         case where they are not used.
33971         * math/libm-test.inc: Likewise.
33972         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
33973         unused in the absence of FP rounding/exception support.
33974         * stdio-common/tst-printf-round.c: Likewise.
33975         * stdlib/tst-strtod-round.c: Likewise.
33976         * stdlib/tst-strtod-underflow.c: Likewise.
33978 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
33980         [BZ #17723]
33981         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
33982         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
33983         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33984         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33985         libm_hidden_weak.
33986         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
33987         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
33988         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
33989         libm_hidden_def.
33990         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33991         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33992         libm_hidden_weak.
33993         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
33994         Likewise.
33995         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
33996         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
33997         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
33998         libm_hidden_weak.
33999         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34000         libm_hidden_def.
34001         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34002         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34003         (__feraiseexcept): Likewise.
34004         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34005         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34006         libm_hidden_weak.
34007         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34008         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34009         libm_hidden_def.
34010         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34011         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34012         Use libm_hidden_def.
34013         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34014         libm_hidden_def.
34015         (feraiseexcept): Define as weak not strong alias.  Use
34016         libm_hidden_weak.
34017         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34018         New inline function.  Factored out of ...
34019         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34020         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34021         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34022         feraiseexcept.
34023         * math/w_acos.c (__acos): Likewise.
34024         * math/w_asin.c (__asin): Likewise.
34025         * math/w_ilogb.c (__ilogb): Likewise.
34026         * math/w_j0.c (y0): Likewise.
34027         * math/w_j1.c (y1): Likewise.
34028         * math/w_jn.c (yn): Likewise.
34029         * math/w_log.c (__log): Likewise.
34030         * math/w_log10.c (__log10): Likewise.
34031         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34032         * sysdeps/aarch64/fpu/math_private.h
34033         (libc_feupdateenv_test_aarch64): Likewise.
34034         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34035         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34036         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34037         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34038         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34039         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34040         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34041         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34042         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34043         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34045 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34047         [BZ #17732]
34048         * io/test-utime.c (main): Replace %ld with %jd and cast to
34049         intmax_t.
34050         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34051         * nptl/tst-mutex5.c: Include <stdint.h>.
34052         (do_test): Replace %ld with %jd and cast to intmax_t.
34053         * posix/tst-regex.c (run_test): Likewise.
34054         (run_test_backwards): Likewise.
34055         * rt/tst-clock.c: Include <stdint.h>.
34056         (clock_test): Replace %ld with %jd and cast to intmax_t.
34057         * rt/tst-cpuclock1.c: Include <stdint.h>.
34058         (do_test): Replace %lu with %ju and cast to uintmax_t.
34059         * rt/tst-cpuclock2.c: Include <stdint.h>.
34060         (do_test): Replace %lu with %ju and cast to uintmax_t.
34061         * rt/tst-mqueue1.c: Include <stdint.h>.
34062         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34063         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34064         intmax_t.
34065         * rt/tst-mqueue4.c (do_test): Likewise.
34066         * rt/tst-timer4.c: Include <stdint.h>.
34067         (check_ts): Replace %ld with %jd and cast to intmax_t.
34068         (do_test): Likewise.
34069         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34070         and cast to intmax_t.
34071         * sysdeps/pthread/tst-timer.c (main): Likewise.
34072         * time/clocktest.c (main): Likewise.
34073         * time/tst-posixtz.c (do_test): Likewise.
34074         * timezone/tst-timezone.c (main): Likewise.
34076 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34077             H.J. Lu  <hongjiu.lu@intel.com>
34079         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34080         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34081         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34082         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34083         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34084         version if bit_Fast_Unaligned_Load is set.
34085         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34086         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34087         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34088         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34089         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34090         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34091         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34092         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34093         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34094         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34095         to 4.
34096         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34097         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34098         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34099         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34101 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34103         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34104         instead of #if to avoid a Wundef warning.
34105         * stdlib/tst-limits.c (do_test): Likewise.
34107         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34108         parallel other exception macros.
34109         (fegetenv): Convert from macro to extern inline so that it applies
34110         retroactively to inline functions already seen by the compiler.
34111         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34113         * posix/Makefile (before-compile): Use $(objpfx) for
34114         posix-conf-vars-def.h.
34116 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34118         * posix/getconf.c (main): Use size_t for type of I.
34119         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34120         NSPEC.
34122         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34123         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34124         * posix/posix-envs.def: Likewise.
34125         * sysdeps/posix/sysconf.c: Likewise.
34126         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34127         (specs): Remove array.
34128         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34129         array.
34131         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34132         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34133         (__sysconf): Use CONF_IS_* macros.
34135         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34136         ($(objpfx)posix-conf-vars-def.h): New target.
34137         * posix/posix-conf-vars.list: New file.
34138         * posix/posix-conf-vars.h: New file.
34139         * posix/confstr.c: Include posix-conf-vars.h.
34140         (confstr): Use CONF_IS_* macros.
34141         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34142         CONF_IS_* macros.
34143         * scripts/gen-posix-conf-vars.awk: New file.
34145 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34147         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34148         fegetround): Add no-op macros to avoid linknamespace issues.
34150         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34151         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34153         * sysdeps/unix/sysv/linux/tile/sysdep.h
34154         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34155         assembly-specific section to avoid a redefinition warning.
34157         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34158         long before casting to pointer to avoid a cast warning.
34160 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34162         * sysdeps/tile/tilegx/Implies: New file.
34164 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34166         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34168 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34170         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34172 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34174         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34175         not define.
34176         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34177         <kernel-features.h>.
34178         (__utimes) [__NR_utimes]: Make code unconditional.
34179         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34180         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34181         (__ASSUME_UTIMES): Do not undefine.
34182         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34183         (__ASSUME_UTIMES): Likewise.
34184         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34185         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34186         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34187         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34189 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34191         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34193 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34195         [BZ #17747]
34196         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34197         alias to weak alias for j0l, y0l.
34198         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34199         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34201         [BZ #17746]
34202         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34203         conversion.
34205 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34207         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34208         to zero if not already defined.
34210 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34212         [BZ #17724]
34213         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34214         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34215         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34216         (char *) casts added.
34217         * sysdeps/ieee754/k_standardf.c: New file.
34218         * sysdeps/ieee754/k_standardl.c: Likewise.
34219         * math/Makefile (libm-support): Remove k_standard.
34220         (libm-calls): Add k_standard.
34222 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34224         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34225         Optimize to avoid an unnecessary FPCR read.
34227 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34230         Optimize to reduce FPCR/FPSR accesses.
34232 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34234         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34235         Call libc_fetestexcept_aarch64.
34237 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34239         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34240         Call libc_fesetround_aarch64.
34242 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34244         [BZ #17733]
34245         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34246         (__bind): Do not define as weak alias.
34247         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34248         define.
34249         (__getsockname): Do not define as weak alias.
34251 2014-12-22  Will Newton  <will.newton@linaro.org>
34253         * manual/install.texi: Document that we require bison 2.7
34254         or above.
34255         * INSTALL: Regenerate.
34256         * configure.ac: Use AC_CHECK_PROG_VER instead of
34257         AC_PATH_PROG when checking for bison and check for
34258         version 2.7 or above.
34259         * configure: Regenerate.
34261 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34263         [BZ #17745]
34264         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34265         * sysdeps/tile/ffsll.c (ffsll): To here.
34267         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34269 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34271         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34272         if not defined.
34273         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34274         definition.
34275         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34276         hidden ___tls_get_addr.
34277         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34278         hidden __tls_get_addr.
34279         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34280         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34281         Likewise.
34283 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34285         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34286         _dl_init call.
34288 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34290         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34291         from "call _dl_init@PLT".
34292         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34294 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34296         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34297         guarantees.
34299 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34301         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34303 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34305         [BZ #17744]
34306         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34307         strnlen.
34309 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34311         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34312         of multu on MIPSr6.
34313         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34314         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34315         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34316         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34317         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34319 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34321         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34322         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34323         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34324         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34325         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34326         mips32r6/mips64r6.
34327         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34329 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34331         * string/strncat.c (STRNCAT): Simplify implementation.
34333 2014-12-19  David S. Miller  <davem@davemloft.net>
34335         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34336         access the quad as both a long double and as a series of 4 words.
34338         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34339         link_map->l_info array access.
34341 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34343         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34345         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34346         * math/atest-exp2.c (TIMEOUT): Likewise.
34347         * math/atest-sincos.c (TIMEOUT): Likewise.
34349 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34351         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34352         -Wno-error with -fno-builtin-lround.
34354 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34356         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34357         Contains futex constants and functions moved over from ...
34358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34359         <lowlevellock-futex.h>.
34360         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34361         (lll_timedwait_tid): Add comments and parentheses around macro
34362         arguments.
34364 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34367         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34368         (__lll_private_flag): Remove.
34369         (lll_futex_wait): Likewise.
34370         (lll_futex_timed_wait): Likewise.
34371         (lll_futex_wake): Likewise.
34372         (lll_futex_requeue): Likewise.
34373         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34374         (__lll_timedwait_tid): Spell out argument names.
34375         (lll_timedwait_tid): Add comments and parentheses around macro
34376         arguments.
34377         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34378         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34380 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34382         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34383         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34384         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34385         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34386         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34387         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34388         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34389         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34390         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34391         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34393         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34394         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34395         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34396         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34397         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34398         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34399         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34400         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34402 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34404         * sysdeps/x86_64/x32/Makefile: New file.
34406 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34408         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34409         1L with (mp_limb_t) 1.
34411 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34413         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34414         * nptl/libc_pthread_init.c: ... here.
34415         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34416         * nptl/register-atfork.c: ... here.
34418         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34419         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34420         Use assert_perror to check its return value.
34421         (__gai_create_helper_thread): Likewise.
34423         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34425         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34427 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34429         [BZ #17725]
34430         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34431         __profil_counter.
34432         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34433         Likewise.
34434         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34435         Likewise.
34436         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34437         Likewise.
34438         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34439         (profil_counter): Likewise.
34440         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34441         (profil_counter): Likewise.
34442         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34443         Likewise.
34444         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34445         Likewise.
34446         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34447         (profil_counter): Likewise.
34448         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34449         Likewise.
34450         [!__profil_counter] (profil_counter): Define as weak alias of
34451         __profil_counter.
34452         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34453         (profil_counter): Rename to __profil_counter.
34454         [!__profil_counter] (profil_counter): Define as weak alias of
34455         __profil_counter.
34456         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34457         (profil_counter): Rename to __profil_counter.
34458         [!__profil_counter] (profil_counter): Define as weak alias of
34459         __profil_counter.
34460         * sysdeps/posix/profil.c: Update comment referring to
34461         profil_counter.
34462         (__profil): Use __profil_counter instead of profil_counter.
34463         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34464         __profil_counter.  Use __profil_counter_ushort and
34465         __profil_counter_uint in definitions.
34466         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34467         instead of profil_counter_uint and profil_counter_ushort.
34469         [BZ #17722]
34470         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34471         define as weak alias of __inet_makeaddr.
34472         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34473         as weak alias of __inet_addr.
34474         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34475         as weak alias of __inet_pton.  Use libc_hidden_weak.
34476         * include/arpa/inet.h (__inet_pton): Declare.  Use
34477         libc_hidden_proto.
34478         (inet_makeaddr): Don't use libc_hidden_proto.
34479         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34480         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34481         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34482         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34483         Remove variable.
34484         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34485         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34487 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34489         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34491 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34493         * stdio-common/bug-vfprintf-nargs.c (do_test):
34494         Cast value to intptr_t to avoid format warning
34495         for usage with PRIdPTR printing macro.
34497 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34499         * libio/tst-widetext.c (do_test):
34500         Use format type %td instead of %Zd for ptrdiff_t
34501         in order to avoid format warning.
34503 2014-12-17  Andreas Schwab  <schwab@suse.de>
34505         * nscd/mem.c (gc): Add size_t cast to match printf format.
34507 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34509         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34510         (init): Apply PTR_MANGLE to pointers before storing them.
34511         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34512         before using them.
34514 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34516         [BZ #17719]
34517         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34518         define as weak alias of __memrchr.
34519         (__memrchr): Do not define as strong alias of memrchr.
34520         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34521         Remove variable.
34522         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34523         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34524         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34526         [BZ #17717]
34527         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34528         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34529         (if_indextoname): Rename to __if_indextoname and define as weak
34530         alias of __if_indextoname.  Use libc_hidden_weak.
34531         (if_freenameindex): Rename to __if_freenameindex and define as
34532         weak alias of __if_freenameindex.
34533         (if_nameindex): Rename to __if_nameindex and define as weak alias
34534         of __if_nameindex.
34535         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34536         __if_nametoindex and define as weak alias of __if_nametoindex.
34537         Use libc_hidden_weak.
34538         (if_freenameindex): Rename to __if_freenameindex and define as
34539         weak alias of __if_freenameindex.
34540         (if_nameindex): Rename to __if_nameindex and define as weak alias
34541         of __if_nameindex.
34542         (if_indextoname): Rename to __if_indextoname and define as weak
34543         alias of __if_indextoname.  Use libc_hidden_weak.
34544         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34545         __if_nametoindex and define as weak alias of __if_nametoindex.
34546         Use libc_hidden_weak.
34547         (if_freenameindex): Rename to __if_freenameindex and define as
34548         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34549         (if_nameindex_netlink): Use __if_freenameindex instead of
34550         if_freenameindex.
34551         (if_nameindex): Rename to __if_nameindex and define as weak alias
34552         of __if_nameindex.  Use libc_hidden_weak.
34553         (if_indextoname): Rename to __if_indextoname and define as weak
34554         alias of __if_indextoname.  Use libc_hidden_weak.
34555         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34556         libc_hidden_proto.
34557         [!_ISOMAC] (__if_freenameindex): Likewise.
34558         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34559         if_nametoindex.
34560         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34561         variable.
34562         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34563         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34564         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34565         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34566         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34567         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34568         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34570         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34571         Remove variable.
34572         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34573         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34575 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34577         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34578         subscript above bounds'
34580         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34581         bounds.
34583 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34585         * libio/tst-fopenloc.c: Use test-skeleton.c.
34587         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34588         (entry): Rename to ITEM.
34589         (do_test, comp): Adjust.
34591         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34593 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34595         * string/tester.c: Include <libc-internal.h>.
34596         (test_memset): Ignore -Wmemset-transposed-args.
34598 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34600         * misc/tst-mntent2.c (do_test): Fix warning.
34602 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34604         * elf/tst-unique4lib.cc(a): Mark as used.
34606 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34608         [BZ #17630]
34609         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34610         names.
34612 2014-12-16  Allan McRae  <allan@archlinux.org>
34614         * stdio-common/Makefile (tests): Re-add bug26.
34616 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34618         [BZ #17657]
34619         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34620         static array.
34622 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34624         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34625         (__lll_lock_wait): Likewise.
34626         (__lll_timedlock_wait): Likewise.
34627         (__lll_timedwait_tid): Likewise.
34628         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34629         (__lll_robust_timedlock_wait): Likewise.
34630         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34631         (lll_cond_trylock): Likewise.
34632         (__lll_lock): Likewise.
34633         (__lll_robust_lock): Likewise.
34634         (__lll_cond_lock): Likewise.
34635         (lll_robust_cond_lock): Likewise.
34636         (__lll_timedlock): Likewise.
34637         (__lll_robust_timedlock): Likewise.
34638         (__lll_unlock): Likewise.
34639         (__lll_robust_unlock): Likewise.
34640         (lll_wait_tid): Likewise.
34641         (lll_timedwait_tid): Likewise.
34643 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34645         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34647 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34649         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34651 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34653         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34654         * stdio-common/tst-sprintf.c: Likewise.
34656 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34658         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34660 2014-12-15  Jeff Law  <law@redhat.com>
34662         [BZ #16617]
34663         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34664         on the heap.  (CVE-2012-3406)
34665         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34666         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34667         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34669 2014-12-15  Will Newton  <will.newton@linaro.org>
34671         * manual/install.texi: Bump required version of texinfo
34672         to 4.7 from 4.5.
34673         * INSTALL: Regenerated.
34674         * configure.ac: Check for makeinfo version 4.7 and above.
34675         * configure: Regenerated.
34677 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34679         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34680         PREFIX, string constant to insert between directory and name.
34681         * sysdeps/posix/shm_open.c: Update caller.
34682         * sysdeps/posix/shm_unlink.c: Likewise.
34683         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34684         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34685         (SEM_SHM_PREFIX): New macro.
34686         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34687         [$(have-thread-library) = no].
34688         * nptl/Makefile (libpthread-routines): Add shm-directory.
34689         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34690         * sysdeps/nptl/shm-directory.h: New file.
34691         * sysdeps/posix/shm-directory.c
34692         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34693         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34694         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34695         INTERNAL_SYSCALL.
34696         (__where_is_shmfs): Function removed.
34697         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34698         Variables removed.
34699         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34700         Use SHM_GET_NAME.
34701         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34703         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34704         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34705         unconditional for use inside libpthread.
34706         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34708 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34710         * nptl/pthread_getaffinity.c: New file.
34711         * nptl/pthread_setaffinity.c: New file.
34712         * nptl/pthread_getname.c: New file.
34713         * nptl/pthread_setname.c: New file.
34715         * nptl/pthread_create.c (START_THREAD_DEFN)
34716         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34718 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34719             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34721         * resolv/res_send.c (send_vc): Disable warning resplen may
34722         be used uninitialized.
34724 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34726         * nptl/tst-mutex6.c
34727         (ATTR_NULL): New define checks ATTR against NULL.
34728         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
34729         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
34731 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
34733         [BZ #17581]
34734         * malloc/hooks.c
34735         (mem2mem_check): Revert my previous change.
34736         (malloc_check_get_size): Revert my previous change.
34737         (mem2chunk_check): Revert my previous change.
34739 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34741         * sysdeps/posix/shm-directory.c: New file.
34742         * sysdeps/posix/shm-directory.h: New file.
34743         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
34744         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
34745         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
34746         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
34747         Transmute EPERM to EACCES.
34748         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
34749         from ...
34750         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
34751         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
34753 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34755         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
34756         pointer and cast to uintptr_t.
34757         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
34758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
34759         Add cast to avoid warning.
34760         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
34762 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34764         * nptl/semaphore.h: Move to ...
34765         * sysdeps/pthread/semaphore.h: ... here.
34766         * Makefile (installed-headers): Change nptl/semaphore.h to
34767         sysdeps/pthread/semaphore.h.
34769 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34771         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
34772         generated error format strings.
34774         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
34775         -Wformat-extra-args warnings for scanf formats.
34776         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
34777         test of zero-length format (duh).
34778         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
34779         corner-case scanf format test.
34780         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
34781         generated fprintf format string.
34782         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
34783         corner-case sprintf format tests.
34784         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
34785         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
34786         -Wformat-extra-args warnings throughout.
34787         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
34788         (CFLAGS-scanf4.c): Likewise.
34789         (CFLAGS-scanf7.c): Likewise.
34790         (CFLAGS-tst-sprintf.c): Likewise.
34791         (CFLAGS-tst-printf.c): Likewise.
34792         (CFLAGS-tst-printfsz.c): Likewise.
34794 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
34796         * include/cpio.h: New file.
34797         * include/fmtmsg.h: Likewise.
34799         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
34800         corresponding format argument to size_t.
34801         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
34802         arguments.
34803         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
34804         corresponding format argument to size_t.
34805         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
34806         arguments.
34807         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
34808         corresponding format argument to size_t.
34809         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
34810         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
34811         (CFLAGS-tst-mbswcs2.c): Likewise.
34812         (CFLAGS-tst-mbswcs3.c): Likewise.
34813         (CFLAGS-tst-mbswcs4.c): Likewise.
34814         (CFLAGS-tst-mbswcs5.c): Likewise.
34815         (CFLAGS-tst-trans.c): Likewise.
34817 2014-12-11  Roland McGrath  <roland@hack.frob.com>
34819         * posix/regexbug1.c (main): Use "%s" format with regerror results,
34820         rather than assuming they won't contain any '%'s.
34822 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
34824         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
34825         inhibit_loop_to_libcall to avoid recursive calls.
34826         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34827         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
34829 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34831         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
34832         prototype.
34834 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34836         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
34837         integer value instead of boolean.
34839 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
34841         * malloc/malloc.c: Fix powerof2 check.
34843 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34845         * locale/programs/locfile.h (maybe_swap_uint32):
34846         Remove inline and add unused attribute.
34848 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34851         Truncating assembler expression to a .long expression.
34853 2014-12-11  Andreas Schwab  <schwab@suse.de>
34855         * elf/rtld.c (struct map_args): Constify str member.
34856         (do_preload): Constify fname argument.
34858 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
34861         constants definition.
34863 2014-12-11  Andreas Schwab  <schwab@suse.de>
34865         [BZ #16657]
34866         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
34867         FORCE_ELISION instead of DO_ELISION.
34868         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
34869         Remove.
34870         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
34871         Likewise.
34873         * iconvdata/gconv-modules: Remove duplicate entry.
34875 2014-12-11  Will Newton  <will.newton@linaro.org>
34877         Merge gettext 0.19.3 into intl/.
34879         This involves a number of cosmetic changes to comments
34880         and ANSI function definitions and prototypes throughout
34881         all the files. The gettext copyright header is used but
34882         with the date ranges taken from the glibc copy.
34884         * NEWS: Add gettext merge to 2.21.
34885         * intl/bindtextdom.c: Switch to gettext copyright.
34886         Use ANSI definitions and prototypes.
34887         Use gl_* locking primitives rather than __libc_* ones.
34888         Use __builtin_expect rather than __glibc_likely/unlikely.
34889         * intl/dcgettext.c: Switch to gettext copyright.
34890         Use ANSI definitions and prototypes.
34891         * intl/dcigettext.c: Switch to gettext copyright.
34892         Use ANSI definitions and prototypes.
34893         (INTDIV0_RAISES_SIGFPE): New define.
34894         Use gl_* locking primitives rather than __libc_* ones.
34895         Include eval-plural.h instead of plural-eval.c.
34896         Use __builtin_expect rather than __glibc_likely/unlikely.
34897         * intl/dcngettext.c: Switch to gettext copyright.
34898         Use ANSI definitions and prototypes.
34899         * intl/dgettext.c: Likewise.
34900         * intl/dngettext.c: Likewise.
34901         * intl/plural-eval.c: Renamed to...
34902         * intl/eval-plural.h: ...this.
34903         * intl/explodename.c: Switch to gettext copyright.
34904         Use ANSI definitions and prototypes.
34905         (_nl_explode_name): Use strchr instead of __rawmemchr.
34906         * intl/finddomain.c: Switch to gettext copyright.
34907         Use ANSI definitions and prototypes.
34908         Use gl_* locking primitives rather than __libc_* ones.
34909         (_nl_find_domain): Use malloc rather than alloca for
34910         allocation of temporary locale name.
34911         * intl/gettext.c: Switch to gettext copyright.
34912         Use ANSI definitions and prototypes.
34913         * intl/gettextP.h: Switch to gettext copyright.
34914         Use ANSI definitions and prototypes.
34915         Use gl_* locking primitives rather than __libc_* ones.
34916         * intl/gmo.h: Switch to gettext copyright.
34917         (struct sysdep_string): Move struct segment_pair outside of
34918         struct definition.
34919         * intl/hash-string.c: Use ANSI definitions and prototypes.
34920         * intl/hash-string.h: Switch to gettext copyright.
34921         Use ANSI definitions and prototypes.
34922         * intl/l10nflist.c: Switch to gettext copyright.
34923         Use ANSI definitions and prototypes.
34924         (_nl_normalize_codeset): Avoid integer overflow.
34925         * intl/loadinfo.h: Switch to gettext copyright.
34926         Use ANSI definitions and prototypes.
34927         (LIBINTL_DLL_EXPORTED): New define.
34928         (PATH_SEPARATOR): New define.
34929         * intl/loadmsgcat.c: Switch to gettext copyright.
34930         * intl/localealias.c: Switch to gettext copyright.
34931         Use ANSI definitions and prototypes.
34932         (_nl_expand_alias): Use PATH_SEPARATOR.
34933         * intl/ngettext.c: Switch to gettext copyright.
34934         Use ANSI definitions and prototypes.
34935         * intl/plural-exp.c: Likewise.
34936         * intl/plural-exp.h: Switch to gettext copyright.
34937         Use ANSI definitions and prototypes.
34938         (struct expression): Move definition of enum operator outside
34939         of struct definition.
34940         * intl/plural.c: Regenerate.
34941         * intl/plural.y: Switch to gettext copyright.
34942         Use ANSI definitions and prototypes.
34943         Port to bison 3.0.
34944         * intl/textdomain.c: Switch to gettext copyright.
34945         Use ANSI definitions and prototypes.
34946         Use gl_* locking primitives rather than __libc_* ones.
34948 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
34950         * debug/warning-nop.c: Add used atrribute.
34952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34954         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
34956         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
34957         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
34958         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
34960 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
34961             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34963         [BZ #17634]
34964         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
34965         Undefine after defining function.  Define as weak alias of
34966         __wcschr.  Use libc_hidden_weak.
34967         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
34968         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
34969         (libc_hidden_def): Also define __GI___wcschr alias.
34970         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
34971         __wcschr and define as weak alias of __wcschr.
34972         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
34973         __wcschr.
34974         [!WCSCHR] (DEFAULT_WCSCHR): Define.
34975         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
34976         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
34977         libc_hidden_weak.  Do not use libc_hidden_def.
34978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
34979         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
34980         __GI___wcschr alias.
34981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
34982         [IS_IN (libc)] (wcschr): Define as macro expanding to
34983         __redirect_wcschr.
34984         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
34985         [IS_IN (libc)] (__wcschr_power6): Likewise.
34986         [IS_IN (libc)] (__wcschr_power7): Likewise.
34987         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
34988         instead of wcschr.
34989         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
34990         __libc_wcschr.
34991         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
34992         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
34993         __wcschr and define as weak alias of __wcschr.  Use
34994         libc_hidden_builtin_def.
34995         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
34996         as weak alias of __wcschr.  Use libc_hidden_weak.
34997         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
34998         wcschr.
34999         * time/era.c (_nl_init_era_entries): Likewise.
35000         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35001         variable.
35002         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35003         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35005 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35007         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35008         format for long int variable.
35010 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35012         [BZ #10672]
35013         * manual/search.texi: (Array Sort Function): Remove claim how to make
35014         qsort stable.
35016 2014-12-10  Andreas Schwab  <schwab@suse.de>
35018         [BZ #12847]
35019         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35020         user-controlled locks.
35022 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35024         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35025         register.
35027 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35029         * configure.ac (--disable-werror): New configure option.
35030         (enable_werror): New AC_SUBST.
35031         * configure: Regenerated.
35032         * config.make.in (enable-werror): New variable.
35033         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35034         -Wno-error=undef.
35035         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35036         * manual/install.texi (Configuring and compiling): Document
35037         --disable-werror.
35038         * INSTALL: Regenerated.
35039         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35040         (CFLAGS-tst-chk2.c): Likewise.
35041         (CFLAGS-tst-chk3.c): Likewise.
35042         (CFLAGS-tst-chk4.cc): Likewise.
35043         (CFLAGS-tst-chk5.cc): Likewise.
35044         (CFLAGS-tst-chk6.cc): Likewise.
35045         (CFLAGS-tst-lfschk1.c): Likewise.
35046         (CFLAGS-tst-lfschk2.c): Likewise.
35047         (CFLAGS-tst-lfschk3.c): Likewise.
35048         (CFLAGS-tst-lfschk4.cc): Likewise.
35049         (CFLAGS-tst-lfschk5.cc): Likewise.
35050         (CFLAGS-tst-lfschk6.cc): Likewise.
35052         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35053         (main): Disable -Wdeprecated-declarations around calls to
35054         register_printf_function.
35056         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35057         (do_test): Disable -Wdiv-by-zero around some calls to
35058         fwrite_unlocked and fread_unlocked.
35060         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35061         (DIAG_POP_NEEDS_COMMENT): Likewise.
35062         (_DIAG_STR1): Likewise.
35063         (_DIAG_STR): Likewise.
35064         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35065         * stdio-common/bug21.c: Include <libc-internal.h>.
35066         (do_test): Disable -Wformat around call to sscanf.
35067         * stdio-common/scanf14.c: Include <libc-internal.h>.
35068         (main): Disable -Wformat around some calls to scanf functions.
35070 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35072         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35074 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35076         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35077         stack variable alignment.
35079 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35081         [BZ #17682]
35082         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35083         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35084         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35085         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35086         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35087         __getrlimit instead of getrlimit.
35088         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35089         __gettimeofday instead of gettimeofday.
35090         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35091         Likewise.
35092         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35093         Likewise.
35094         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35095         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35096         Remove variable.
35097         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35098         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35100 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35102         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35103         for wide-character tests.
35105 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35107         * io/openat64.c: #include <libc-internal.h>
35108         (__openat64): Prototypify.  Use ignore_value on MODE.
35109         * io/openat.c: Likewise.
35110         * misc/reboot.c: #include <libc-internal.h>
35111         (reboot): Prototypify.  Use ignore_value on HOWTO.
35112         * misc/ptrace.c: #include <libc-internal.h>
35113         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35115 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35117         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35118         XPG4, UNIX98 and XOPEN2K.
35119         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35120         Remove variable.
35121         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35123 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35125         * libio/fileops.c: Use ISO C style for function definitions.
35126         * libio/iofopen.c: Likewise.
35127         * libio/wfileops.c: Likewise.
35129         [BZ #17653]
35130         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35131         offset on EOF.
35132         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35133         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35134         (fgets_func): Function pointer to fgets and fgetws.
35135         (do_ftell_test): Add test to verify ftell value after read
35136         EOF.
35137         (do_test): Set fgets_func.
35139         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35140         O_TRUNC flag for w and w+ modes.
35141         (do_rewind_test): Likewise.
35142         (do_ftell_test): Likewise.
35143         (do_write_test): Likewise.
35145         [BZ #17647]
35146         * libio/fileops.c (do_ftell): Seek only when there are
35147         unflushed writes.
35148         * libio/wfileops.c (do_ftell_wide): Likewise.
35149         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35150         test case.
35151         (do_one_test): Call it.
35153 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35155         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35156         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35157         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35158         Remove variable.
35159         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35160         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35161         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35163 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35165         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35166         Remove variable.
35167         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35169         [BZ #17668]
35170         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35171         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35172         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35173         __freeifaddrs.  Use libc_hidden_weak.
35174         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35175         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35176         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35177         __freeifaddrs.  Use libc_hidden_weak.
35178         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35179         __getifaddrs and define as weak alias of __getifaddrs.  Use
35180         libc_hidden_weak.
35181         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35182         __freeifaddrs.  Use libc_hidden_weak.
35183         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35184         Remove variable.
35185         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35186         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35188 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35190         [BZ #17601]
35191         * sysdeps/mips/start.S (__start): Use indirect jump to call
35192         __libc_start_main.
35194 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35196         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35198         * nptl/tst-mutex1.c: Include <stdbool.h>.
35199         [!ATTR] (ATTR_NULL): New macro.
35200         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35201         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35202         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35204         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35205         to char *.
35207         [BZ #17665]
35208         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35209         Change conditional to [__USE_MISC].
35211         [BZ #17664]
35212         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35213         fgets_unlocked.
35214         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35215         __fgets_unlocked.
35216         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35217         fgets_unlocked.
35218         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35219         Remove variable.
35220         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35221         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35222         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35223         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35224         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35225         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35226         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35227         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35228         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35230         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35232 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35235         Remove strpbrk objects.
35236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35237         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35238         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35240         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35241         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35243         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35244         Remove strcspn objects.
35245         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35246         (__libc_ifunc_impl_list): Remove strcspn implementation.
35247         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35248         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35249         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35250         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35252         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35253         Remove strspn objetcs.
35254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35255         (__libc_ifunc_impl_list): Remove strspn implementation.
35256         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35257         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35258         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35259         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35261 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35263         [BZ #17581]
35264         * malloc/hooks.c
35265         (mem2mem_check): Add a terminator to the chain of checking blocks.
35266         (malloc_check_get_size): Use it here.
35267         (mem2chunk_check): Ditto.
35269 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35271         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35272         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35274 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35276         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35278         * nptl/nptl-init.c: Include libc-internal.h.
35279         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35281         * elf/ldconfig.c (search_dir): Expand comment.
35283 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35285         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35286         variable.
35287         (linknamespace-symlist-stdlibs-tests): Likewise.
35288         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35289         instead of $(objpfx)symlist-stdlibs.
35290         (linknamespace-libs-isoc): New variable.
35291         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35292         (linknamespace-libs-ISO): New variable.
35293         (linknamespace-libs-ISO99): Likewise.
35294         (linknamespace-libs-ISO11): Likewise.
35295         (linknamespace-libs-XPG3): Likewise.
35296         (linknamespace-libs-XPG4): Likewise.
35297         (linknamespace-libs-POSIX): Likewise.
35298         (linknamespace-libs-UNIX98): Likewise.
35299         (linknamespace-libs-XOPEN2K): Likewise.
35300         (linknamespace-libs-POSIX2008): Likewise.
35301         (linknamespace-libs-XOPEN2K8): Likewise.
35302         ($(objpfx)symlist-stdlibs): Replace by
35303         $(linknamespace-symlist-stdlibs-tests).  Use
35304         $(linknamespace-libs-$*) as set of libraries.
35305         ($(linknamespace-header-tests)): Update dependencies.  Use
35306         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35307         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35308         * conform/linknamespace.pl: Remove comment about considering
35309         definitions of symbols from irrelevant libraries.
35311 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35313         [BZ #13862]
35314         * elf/dl-tls.c: Include <atomic.h>.
35315         (oom): Remove #ifdef SHARED/#endif.
35316         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35317         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35318         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35319         big enough.
35320         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35321         * nptl/Makefile (tests): Add tst-stack4.
35322         (modules-names): Add tst-stack4mod.
35323         ($(objpfx)tst-stack4): New.
35324         (tst-stack4mod.sos): Likewise.
35325         ($(objpfx)tst-stack4.out): Likewise.
35326         ($(tst-stack4mod.sos)): Likewise.
35327         (clean): Likewise.
35328         * nptl/tst-stack4.c: New file.
35329         * nptl/tst-stack4mod.c: Likewise.
35331 2014-11-27  J. Brown  <jb999@gmx.de>
35333         * sysdeps/x86/bits/string.h: Add recent CPUs.
35335 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35337         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35338         sigblock.
35340         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35341         feof.
35343         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35344         variable.
35346 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35348         * nscd/connections.c: Include libc-internal.h because of macro
35349         usage ignore_value.
35351 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35353         * string/bits/string3.h (__warn_memset_zero_len): Don't
35354         declare for gcc newer than 5.0.
35355         (memset): Don't test for zero-length __LEN for gcc newer than
35356         5.0.
35358 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35360         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35361         size_t for %zu format.
35363         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35364         difference, not %ju.
35366 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35368         * include/libc-internal.h (ignore_value): New macro.
35369         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35370         with ignore_value.
35372         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35373         definition.
35375         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35376         pthread_cleanup_push to void *.
35378         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35379         Undefine.
35381         [BZ #16619]
35382         [BZ #16740]
35383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35384         instead of 1L << 52.
35386         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35387         * libio/bug-rewind2.c (do_test): Likewise.
35389         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35390         * debug/test-strcpy_chk-ifunc.c: Likewise.
35391         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35392         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35393         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35394         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35395         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35396         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35397         * Rules [$(multi-arch) = no] (tests): Do not filter out
35398         $(tests-ifunc).
35399         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35400         * debug/Makefile (tests-ifunc): Remove variable.
35401         (tests): Do not add $(tests-ifunc).
35402         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35403         (tests): Do not add $(tests-ifunc).
35404         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35405         [TEST_IFUNC]: Remove conditionals.
35406         * string/test-string.h (TEST_IFUNC): Remove macro.
35407         [TEST_IFUNC]: Remove conditionals.
35409         * string/test-strchr.c [!WIDE] (L): New macro.
35410         [WIDE] (L): Likewise.
35411         (check1): Use CHAR instead of char.  Use L on string and character
35412         constants.
35414 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35416         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35417         tests.
35418         * sysdeps/powerpc/bits/atomic.h
35419         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35420         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35421         (atomic_exchange_and_add_acq): Likewise.
35422         (atomic_exchange_and_add_rel): Likewise.
35423         * sysdeps/powerpc/powerpc32/bits/atomic.h
35424         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35425         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35426         * sysdeps/powerpc/powerpc64/bits/atomic.h
35427         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35428         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35430 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35432         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35433         Change synchronization of __sched_fifo_min_prio and
35434         __sched_fifo_max_prio.
35435         * nptl/pthread_mutexattr_getprioceiling.c
35436         (pthread_mutexattr_getprioceiling): Likewise.
35437         * nptl/pthread_mutexattr_setprioceiling.c
35438         (pthread_mutexattr_setprioceiling): Likewise.
35439         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35440         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35441         Likewise.
35443 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35445         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35446         void.
35448 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35450         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35451         third argument const.
35453 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35455         fnmatch: work around GCC compiler warning bug with uninit var
35456         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35457         This works around a bug with x86-64 GCC 4.9.2 and earlier
35458         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35459         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35460         used uninitialized in this function [-Wmaybe-uninitialized]".
35462 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35464         * posix/bug-regex31.c (main): Return RES not 0.
35466 2014-11-25  Anton Blanchard <anton@samba.org>
35468         * sysdeps/powerpc/bits/atomic.h
35469         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35471 2014-11-24  Sterling Augustine  <saugustine@google.com>
35473         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35475 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35477         [BZ #17608]
35478         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35480 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35482         [BZ #17633]
35483         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35484         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35485         variable.
35486         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35487         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35489 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35491         * string/strncpy.c (strncpy): Improve performance by using memset.
35493 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35495         * string/strcpy.c (strcpy):
35496         Improve performance by using strlen and memcpy.
35498 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35500         * string/strcoll_l.c (get_next_seq): __always_inline.
35501         * string/strcoll_l.c (do_compare): __always_inline.
35503 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35505         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35506         defined.
35507         * include/mqueue.h: Likewise.
35508         * include/stdlib.h: Likewise.
35510         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35511         (get_null_defines): Adjust.
35512         * sunrpc/Makefile: Adjust comment.
35513         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35514         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35515         (CFLAGS-interp.c): Likewise.
35516         (CFLAGS-ldconfig.c): Likewise.
35517         (CPPFLAGS-.os): Likewise.
35518         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35519         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35520         * extra-modules.mk (extra-modules.mk): Likewise.
35521         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35522         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35523         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35524         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35525         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35526         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35527         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35528         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35529         * iconvdata/Makefile (CPPFLAGS): Likewise.
35530         (cpp-srcs-left): Add libof for all iconvdata routines.
35531         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35532         * include/assert.h: Likewise.
35533         * include/ctype.h: Likewise.
35534         * include/errno.h: Likewise.
35535         * include/libc-symbols.h: Likewise.
35536         * include/math.h: Likewise.
35537         * include/netdb.h: Likewise.
35538         * include/resolv.h: Likewise.
35539         * include/stdio.h: Likewise.
35540         * include/stdlib.h: Likewise.
35541         * include/string.h: Likewise.
35542         * include/sys/stat.h: Likewise.
35543         * include/wctype.h: Likewise.
35544         * intl/l10nflist.c: Likewise.
35545         * libidn/idn-stub.c: Likewise.
35546         * libio/libioP.h: Likewise.
35547         * nptl/libc_multiple_threads.c: Likewise.
35548         * nptl/pthreadP.h: Likewise.
35549         * posix/regex_internal.h: Likewise.
35550         * resolv/res_hconf.c: Likewise.
35551         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35552         * sysdeps/arm/memmove.S: Likewise.
35553         * sysdeps/arm/sysdep.h: Likewise.
35554         * sysdeps/generic/_itoa.h: Likewise.
35555         * sysdeps/generic/symbol-hacks.h: Likewise.
35556         * sysdeps/gnu/errlist.awk: Likewise.
35557         * sysdeps/gnu/errlist.c: Likewise.
35558         * sysdeps/i386/i586/memcpy.S: Likewise.
35559         * sysdeps/i386/i586/memset.S: Likewise.
35560         * sysdeps/i386/i686/memcpy.S: Likewise.
35561         * sysdeps/i386/i686/memmove.S: Likewise.
35562         * sysdeps/i386/i686/mempcpy.S: Likewise.
35563         * sysdeps/i386/i686/memset.S: Likewise.
35564         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35565         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35566         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35567         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35568         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35569         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35570         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35571         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35572         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35574         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35575         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35576         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35577         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35578         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35579         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35580         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35581         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35582         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35583         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35584         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35585         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35586         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35587         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35588         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35590         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35591         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35592         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35593         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35594         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35595         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35596         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35597         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35598         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35599         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35600         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35601         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35605         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35606         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35607         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35608         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35609         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35610         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35611         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35612         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35613         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35614         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35615         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35616         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35618         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35619         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35621         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35622         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35623         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35624         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35625         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35626         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35627         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35628         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35629         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35630         * sysdeps/posix/closedir.c: Likewise.
35631         * sysdeps/posix/opendir.c: Likewise.
35632         * sysdeps/posix/readdir.c: Likewise.
35633         * sysdeps/posix/rewinddir.c: Likewise.
35634         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35635         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35636         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35637         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35638         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35639         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35640         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35645         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35646         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35647         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35648         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35649         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35650         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35651         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35652         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35653         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35654         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35655         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35656         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35658         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35660         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35662         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35670         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35671         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35672         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35673         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35674         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35676         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35677         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35678         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35679         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35680         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35681         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35682         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35683         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35684         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35685         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35687         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35688         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35689         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35690         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35691         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35692         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35693         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35694         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35695         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35696         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35697         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35698         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35699         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35700         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35701         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35702         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35703         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35704         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35705         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35706         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35707         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35709         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35710         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35711         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35712         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35713         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35714         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35717         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35718         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
35719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
35720         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
35721         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35722         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35723         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35724         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
35725         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
35726         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
35727         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35728         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35729         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
35730         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35732         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
35733         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
35734         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35735         * sysdeps/unix/alpha/sysdep.S: Likewise.
35736         * sysdeps/unix/alpha/sysdep.h: Likewise.
35737         * sysdeps/unix/make-syscalls.sh: Likewise.
35738         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35740         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35741         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
35742         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35743         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
35744         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
35745         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35746         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35747         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
35748         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35749         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35750         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35751         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35752         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35753         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
35754         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35756         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35757         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35758         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
35759         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35760         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35761         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35762         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
35763         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
35764         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
35766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
35767         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
35768         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
35770         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
35771         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35772         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
35774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
35775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35776         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35777         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35778         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35779         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
35780         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35781         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
35782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
35784         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35785         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35786         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
35787         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35788         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35789         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
35790         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35791         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
35792         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
35793         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35794         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
35795         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35796         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
35797         * sysdeps/x86_64/memcpy.S: Likewise.
35798         * sysdeps/x86_64/memmove.c: Likewise.
35799         * sysdeps/x86_64/memset.S: Likewise.
35800         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
35801         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35802         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
35803         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
35804         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
35805         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35806         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35807         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35808         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35809         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35810         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35811         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35812         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
35813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35815         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
35816         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35817         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35818         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35819         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35820         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
35821         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35822         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35823         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35824         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35825         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35826         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35827         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
35828         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35829         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35830         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
35831         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35832         * sysdeps/x86_64/strcmp.S: Likewise.
35834         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
35836         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
35837         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
35838         * elf/rtld-Rules: Likewise.
35839         * elf/setup-vdso.h: Likewise.
35840         * include/assert.h: Likewise.
35841         * include/bits/stdlib-float.h: Likewise.
35842         * include/errno.h: Likewise.
35843         * include/sys/stat.h: Likewise.
35844         * include/unistd.h: Likewise.
35845         * sysdeps/aarch64/setjmp.S: Likewise.
35846         * sysdeps/alpha/setjmp.S: Likewise.
35847         * sysdeps/arm/__longjmp.S: Likewise.
35848         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
35849         * sysdeps/arm/setjmp.S: Likewise.
35850         * sysdeps/arm/sysdep.h: Likewise.
35851         * sysdeps/generic/_itoa.h: Likewise.
35852         * sysdeps/generic/dl-sysdep.h: Likewise.
35853         * sysdeps/generic/ldsodefs.h: Likewise.
35854         * sysdeps/i386/dl-tls.h: Likewise.
35855         * sysdeps/i386/setjmp.S: Likewise.
35856         * sysdeps/m68k/setjmp.c: Likewise.
35857         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
35858         * sysdeps/mach/hurd/opendir.c: Likewise.
35859         * sysdeps/posix/getcwd.c: Likewise.
35860         * sysdeps/posix/opendir.c: Likewise.
35861         * sysdeps/posix/profil.c: Likewise.
35862         * sysdeps/powerpc/dl-procinfo.h: Likewise.
35863         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35864         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35865         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35866         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35867         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
35868         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35869         * sysdeps/s390/dl-tls.h: Likewise.
35870         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35871         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35872         * sysdeps/sh/sh3/setjmp.S: Likewise.
35873         * sysdeps/sh/sh4/setjmp.S: Likewise.
35874         * sysdeps/unix/alpha/sysdep.h: Likewise.
35875         * sysdeps/unix/arm/sysdep.S: Likewise.
35876         * sysdeps/unix/i386/sysdep.S: Likewise.
35877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35878         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35879         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
35880         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
35881         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35882         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
35883         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35884         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35885         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
35886         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
35887         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
35888         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
35889         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
35890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35892         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
35893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35894         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35895         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35896         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35897         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
35898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35899         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35900         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
35901         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
35903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35904         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35905         * sysdeps/x86_64/setjmp.S: Likewise.
35907         * include/math.h: Use IS_IN instead of IS_IN_libm.
35908         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
35909         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35910         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35911         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
35912         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35913         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35914         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35915         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35917         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35918         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
35919         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
35920         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
35921         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
35922         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
35923         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
35924         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
35925         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
35926         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
35927         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
35928         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
35929         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
35930         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
35931         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
35932         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
35933         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
35934         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
35935         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
35936         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
35937         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
35938         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
35939         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
35940         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
35941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
35942         Likewise.
35943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
35944         Likewise.
35945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
35946         Likewise.
35947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
35948         Likewise.
35949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
35950         Likewise.
35951         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
35952         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
35953         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
35954         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35955         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35956         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
35958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
35959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
35960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
35961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
35962         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
35963         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
35964         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
35965         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
35966         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
35967         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
35968         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
35969         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
35970         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
35971         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
35972         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
35973         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
35974         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
35975         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
35976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35977         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
35979         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
35980         * nptl/pthreadP.h: Likewise.
35981         * nptl_db/structs.def: Likewise.
35982         * sysdeps/arm/sysdep.h: Likewise.
35983         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35984         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35985         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
35986         * sysdeps/unix/alpha/sysdep.h: Likewise.
35987         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
35988         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35989         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
35990         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
35991         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
35992         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
35993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35994         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
35995         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35996         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
35997         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
35998         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
35999         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36000         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36003         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36005         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36006         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36007         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36008         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36009         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36010         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36011         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36012         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36014         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36015         * nptl/pthreadP.h: Likewise.
36016         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36017         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36018         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36019         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36020         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36021         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36022         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36023         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36024         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36025         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36026         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36027         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36029         Likewise.
36030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36031         Likewise.
36032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36033         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36034         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36036         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36037         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36038         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36039         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36041         * dlfcn/dladdr.c: Use IS_IN.
36042         * dlfcn/dladdr1.c: Likewise.
36043         * dlfcn/dlclose.c: Likewise.
36044         * dlfcn/dlerror.c: Likewise.
36045         * dlfcn/dlinfo.c: Likewise.
36046         * dlfcn/dlmopen.c: Likewise.
36047         * dlfcn/dlopen.c: Likewise.
36048         * dlfcn/dlsym.c: Likewise.
36049         * dlfcn/dlvsym.c: Likewise.
36051         * include/ifaddrs.h: Use IS_IN.
36052         * inet/check_pf.c: Likewise.
36053         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36054         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36056         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36057         IS_IN_ldconfig.
36058         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36059         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36061         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36062         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36063         IS_IN (libc).
36065         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36067         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36068         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36069         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36070         * include/libc-symbols.h (IS_IN_LIB): New macro.
36071         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36072         * include/netdb.h: Likewise.
36073         * include/stap-probe.h: Remove all uses of IN_LIB.
36075         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36076         instead of IN_MODULE.
36077         * include/libc-symbols.h (IN_MODULE): Define using
36078         MODULE_NAME.
36079         (PASTE_NAME, PASTE_NAME1): New macros.
36080         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36081         of IN_LIB.
36082         (STAP_PROBE_ASM): Likewise.
36084 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36086         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36087         __mach_init in dlopened libc.
36089 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36091         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36092         * sysdeps/arm/preconfigure: Regenerate.
36094 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36096         * nptl/pthread_create.c (__pthread_create_2_1): Set
36097         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36098         when copying values from IATTR into PD.
36100 2014-11-21  Will Newton  <will.newton@linaro.org>
36101             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36103         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36104         Refactor inline-asm.  Also add comment.
36106         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36107         ElfW macro instead of hardcoded Elf64 types.
36108         (la_aarch64_gnu_pltenter): Likewise.
36109         * sysdeps/aarch64/dl-machine.h
36110         (elf_machine_runtime_setup): Use ElfW(Addr).
36112         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36113         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36114         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36115         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36116         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36117         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36118         (R_AARCH64_TLS_DTPMOD): This.
36119         (R_AARCH64_TLS_DTPREL64): Rename to ...
36120         (R_AARCH64_TLS_DTPREL): This.
36121         (R_AARCH64_TLS_TPREL64): Rename to ...
36122         (R_AARCH64_TLS_TPREL): This.
36123         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36124         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36125         R_AARCH64_TLS_TPREL64.
36126         (elf_machine_rela): Likewise.
36128 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36130         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36131         by setting it to 0.  64b atomics are not supported currently.
36133 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36135         [BZ #16469]
36136         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36137         search domain names.
36139 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36141         [BZ #16469]
36142         * NEWS: Update.
36143         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36144         trailing dot.
36145         * posix/tst-getaddrinfo5.c: New.
36146         * posix/Makefile (tests): Add it.
36148 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36150         [BZ #14498]
36151         * NEWS: Fixed.
36152         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36153         after parsing line but before break_if_match.
36154         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36155         if there is a protocol mismatch.
36157 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36159         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36160         because the potential race is on the user-supplied stream.
36162 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36164         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36165         string literal if not passed a buffer.
36166         * manual/job.texi (ctermid): Update reasoning, note deviation
36167         from posix, suggest mtasurace when not passed a buffer, for
36168         future non-preliminary safety notes.
36170 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36172         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36173         of not passing it a buffer.
36174         Reported by Peng Haitao.
36176 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36178         * manual/Makefile ($(objpfx)stamp-summary): Require
36179         check-safety.sh to pass.
36180         * manual/check-safety.sh: Wish for verification that every
36181         @deftypefn and @deftypefun is followed by a @safety remark.
36183 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36185         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36187         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36188         PTHREAD_CANCEL_ASYNCHRONOUS.
36189         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36190         send SIGCANCEL.
36192         * nptl/default-sched.h: New file.
36193         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36194         * nptl/pthread_create.c: Include it.
36195         (__pthread_create_2_1): Use collect_default_sched instead of making
36196         Linux syscalls here directly.
36198 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36200         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36201         __pthread_once): Use C11 atomics.
36203 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36205         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36207 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36209         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36210         atomic_thread_fence_acquire, atomic_thread_fence_release,
36211         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36212         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36213         atomic_compare_exchange_weak_relaxed,
36214         atomic_compare_exchange_weak_acquire,
36215         atomic_compare_exchange_weak_release,
36216         atomic_exchange_acquire, atomic_exchange_release,
36217         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36218         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36219         atomic_fetch_and_acquire,
36220         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36222 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36224         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36225         USE_ATOMIC_COMPILER_BUILTINS): Define.
36226         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36228         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36230         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36232         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36234         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36236         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36238         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36240         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36242         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36244         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36246         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36248         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36249         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36250         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36251         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36252         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36253         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36254         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36255         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36256         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36257         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36258         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36259         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36260         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36261         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36262         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36263         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36264         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36265         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36267 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36269         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36270         the sched_priority value here.  It was already checked when the user
36271         called pthread_attr_setschedparam.
36273         * nptl/tst-bad-schedattr.c: New file.
36274         * nptl/Makefile (tests): Add it.
36276 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36277             Florian Weimer  <fweimer@redhat.com>
36278             Joseph Myers  <joseph@codesourcery.com>
36279             Adam Conrad  <adconrad@0c3.net>
36280             Andreas Schwab  <schwab@suse.de>
36281             Brooks  <bmoses@google.com>
36283         [BZ #17625]
36284         * wordexp-test.c (__dso_handle): Add prototype.
36285         (__register_atfork): Likewise.
36286         (__app_register_atfork): New function.
36287         (registered_forks): New global.
36288         (register_fork): New function.
36289         (test_case): Add 3 new tests for WRDE_CMDSUB.
36290         (main): Call __app_register_atfork.
36291         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36292         fork count is non-zero fail the test.
36293         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36294         is set.
36295         (parse_dollars): Remove check for WRDE_NOCMD.
36296         (parse_dquote): Likewise.
36298 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36300         * Makeconfig (built-modules): List non-library modules to be
36301         built.
36302         (module-cppflags): Include libc-modules.h for
36303         everything except shlib-versions.v.i.
36304         (CPPFLAGS): Use it.
36305         (before-compile): Add libc-modules.h.
36306         ($(common-objpfx)libc-modules.h,
36307         $(common-objpfx)libc-modules.stmp): New targets.
36308         (common-generated): Add libc-modules.h and libc-modules.stmp.
36309         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36310         * include/libc-symbols.h: Don't include libc-modules.h.
36311         * include/libc-modules.h: Remove file.
36312         * scripts/gen-libc-modules.awk: New script to generate
36313         libc-modules.h.
36314         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36315         Depend on libc-modules.stmp.
36317         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36319         * Makeconfig (in-module): Get value of libof set for the
36320         translation unit.
36321         (CPPFLAGS): Use $(in-module).
36322         * Makerules: Don't suffix routine names for nonlib.
36323         * include/libc-modules.h: New file.
36324         * include/libc-symbols.h: Include libc-modules.h
36325         (IS_IN): New macro to replace IS_IN_* macros.
36326         * elf/Makefile: Set libof-* for each routine.
36327         * elf/rtld-Rules: Likewise.
36328         * extra-modules.mk: Likewise.
36329         * iconv/Makefile: Likewise.
36330         * iconvdata/Makefile: Likewise.
36331         * locale/Makefile: Likewise.
36332         * malloc/Makefile: Likewise.
36333         * nss/Makefile: Likewise.
36334         * sysdeps/gnu/Makefile: Likewise.
36335         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36336         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36337         * sysdeps/s390/s390-64/Makefile: Likewise.
36338         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36339         CPPFLAGS for nscd instead of nonlib.
36341 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36343         * nptl/createthread.c: New file.
36345         * nptl/createthread.c: Moved ...
36346         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36348         * nptl/createthread.c: Add proper top-line comment.
36349         (do_clone): Folded into ...
36350         (create_thread): ... here.  Take new arguments STOPPED_START and
36351         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36352         increment __nptl_threads, do event-reporting logic, do
36353         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36354         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36355         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36356         just send SIGCANCEL.
36357         * nptl/pthread_create.c: Forward-declare create_thread before
36358         including createthread.c.
36359         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36360         declaration, and new macro START_THREAD_SELF to replace argument.
36361         Remove return statement.
36362         (report_thread_creation): New function.
36363         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36364         synchronization logic, and __nptl_nthreads increment here, around
36365         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36366         PD->parent_cancelhandling here, before create_thread.  When
36367         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36368         __deallocate_stack, and ENOMEM translation here.
36370 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36372         [BZ #17616]
36373         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36374         (mptwo): Rename to __mptwo.
36375         (__inv): Use __mptwo instead of mptwo.
36376         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36377         (mptwo): Rename to __mptwo.
36378         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36379         of mpone and __mptwo instead of mptwo.
36380         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36381         instead of mpone.
36382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36383         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36384         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36385         of mpone and __mptwo instead of mptwo.
36386         (__mpranred): Use __mpone instead of mpone.
36387         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36388         variable.
36389         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36390         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36391         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36392         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36393         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36394         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36395         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36396         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36397         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36398         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36399         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36400         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36401         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36402         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36403         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36404         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36405         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36406         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36407         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36409 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36411         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36412         replace BSD Handler xref with BSD Signal Handling.
36414 2014-11-17  Richard Henderson  <rth@redhat.com>
36416         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36417         (_FP_PACK_RAW_2): Remove.
36418         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36419         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36420         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36421         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36422         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36423         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36424         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36425         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36426         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36427         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36428         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36429         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36430         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36431         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36432         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36433         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36435 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36437         * signal/signal.h [__USE_MISC]
36438         (struct sigvec): Remove type.
36439         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36440         (sigvec): Remove declaration.
36441         * sysdeps/posix/sigvec.c: Moved ...
36442         * signal/sigvec.c: ... here, replacing old file.
36443         (struct sigvec): New type, copied from old signal.h definition.
36444         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36445         (__sigvec): Convert definition to prototype.
36446         (sigvec): Replace weak_alias with compat_symbol.
36447         * signal/Versions (libc: GLIBC_2.21): New version set.
36448         * include/signal.h: Remove __sigvec declaration.
36449         * sysdeps/unix/bsd/sigvec.c: Remove file.
36450         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36451         * manual/signal.texi (BSD Handler): Remove subsection.
36452         Move siginterrupt up to ...
36453         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36454         (Blocking in BSD): Fold subsection into its parent.
36455         * NEWS: Mention sigvec removal.
36457 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36459         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36460         (DLA_FMS): Make definition conditional only on [__FMA4__].
36461         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36462         definition.
36464         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36465         Make definition conditional only on [PROF].
36466         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36467         definition.
36468         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36469         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36471         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36472         !__GNUC__].
36473         * include/signal.h (__sigpause): Move declaration above call to
36474         libc_hidden_proto.
36475         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36476         variable.
36477         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36478         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36480 2014-11-14  David S. Miller  <davem@davemloft.net>
36482         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36483         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36485 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36487         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36488         * configure: Regenerated.
36489         * manual/install.texi (Tools for Compilation): Document a
36490         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36491         compiler verified to work.
36492         * INSTALL: Regenerated.
36494         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36495         redeclare with asm name.
36496         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36497         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36498         including <string.h>.
36499         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36500         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36501         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36502         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36503         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36505         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36507 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36509         * stdlib/strtol.c (__strtol): Use prototype definition.
36511         [BZ #17594]
36512         * stdlib/strtol.c (SYM__): New macro.
36513         (SYM__1): Likewise.
36514         (__strtol): Likewise.
36515         (strtol): Rename to __strtol and define as weak alias of
36516         __strtol.  Use libc_hidden_weak.
36518 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36520         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36521         Use numbered labels in inline assembly.
36523 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36525         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36526         Add setjmp LIBC_PROBE.
36527         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36528         Likewise.
36529         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36530         Add longjmp, longjmp_target LIBC_PROBE.
36531         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36532         Likewise.
36534 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36536         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36537         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36538         to get rid of unused variable warning.
36540 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36542         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36543         Check for unwind_backtrace ==  NULL only in SHARED case.
36544         (__backchain_backtrace): Compile only in SHARED case.
36545         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36546         Likewise.
36547         (__backchain_backtrace): Declare as static.
36549 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36551         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36552         (__libc_multiple_threads_ptr): Variable moved ...
36553         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36555 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36557         * conform/GlibcConform.pm: New file.
36558         * conform/conformtest.pl: Use GlibcConform module.
36559         * conform/linknamespace.pl: New file.
36560         * conform/list-header-symbols.pl: Likewise.
36561         * conform/Makefile (linknamespace-symlists-base): New variable.
36562         (linknamespace-symlists-tests): Likewise.
36563         (linknamespace-header-base): Likewise.
36564         (linknamespace-header-tests): Likewise.
36565         (tests-special): Add new tests.
36566         ($(linknamespace-symlists-tests)): New rule.
36567         (linknamespace-libs): New variable.
36568         ($(objpfx)symlist-stdlibs): New rule.
36569         ($(linknamespace-header-tests)): Likewise.
36570         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36571         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36572         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36573         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36574         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36575         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36576         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36577         (test-xfail-ISO/math.h/linknamespace): Likewise.
36578         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36579         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36580         (test-xfail-ISO/time.h/linknamespace): Likewise.
36581         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36582         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36583         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36584         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36585         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36586         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36587         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36588         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36589         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36590         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36591         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36592         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36593         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36594         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36595         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36596         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36597         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36598         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36599         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36600         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36601         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36602         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36603         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36604         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36605         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36606         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36607         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36608         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36609         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36610         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36611         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36612         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36613         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36614         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36615         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36616         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36617         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36618         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36619         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36620         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36621         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36622         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36623         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36624         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36625         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36626         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36627         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36628         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36629         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36630         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36631         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36632         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36633         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36634         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36635         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36636         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36637         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36638         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36639         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36640         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36641         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36642         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36643         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36644         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36645         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36646         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36647         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36648         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36649         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36650         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36651         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36652         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36653         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36654         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36655         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36656         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36657         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36658         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36659         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36660         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36661         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36662         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36663         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36664         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36665         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36666         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36667         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36668         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36669         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36670         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36671         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36672         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36673         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36674         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36675         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36676         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36677         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36678         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36679         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36680         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36681         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36682         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36683         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36684         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36685         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36686         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36687         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36688         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36689         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36690         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36691         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36692         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36693         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36694         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36695         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36696         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36697         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36698         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36699         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36700         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36701         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36702         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36703         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36704         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36705         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36706         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36707         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36708         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36709         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36710         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36711         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36712         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36713         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36714         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36715         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36716         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36717         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36718         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36719         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36720         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36721         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36722         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36723         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36724         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36725         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36726         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36727         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
36728         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36729         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36730         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36732         [BZ #17589]
36733         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
36734         of fgets_unlocked.
36736         [BZ #17585]
36737         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
36738         (memmem): Rename to __memmem and define as weak alias of
36739         __memmem.  Use libc_hidden_weak.
36740         (__memmem): Use libc_hidden_def.
36741         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
36742         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
36743         memmem.
36745         [BZ #17582]
36746         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
36747         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
36748         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
36749         and define as weak alias of __fgets_unlocked.  Use
36750         libc_hidden_weak.
36751         (__fgets_unlocked): Use libc_hidden_def.
36752         * include/stdio.h (__fgets_unlocked): Declare.  Use
36753         libc_hidden_proto.
36754         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
36755         __fgets_unlocked instead of fgets_unlocked.
36756         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
36757         (GET_NPROCS_CONF_PARSER): Likewise.
36758         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
36759         (GET_NPROCS_CONF_PARSER): Likewise.
36761         [BZ #17574]
36762         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
36763         weak alias of __wmemset.  Use libc_hidden_weak.
36764         (__wmemset): Use libc_hidden_def.
36765         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
36766         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
36767         of wmemset.
36769         [BZ #17573]
36770         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
36771         with asm name __mempcpy.
36772         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
36774         [BZ #17572]
36775         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
36776         and define as weak alias of __rawmemchr.
36777         (__rawmemchr): Do not define as strong alias of rawmemchr.
36779         [BZ #17571]
36780         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
36781         alias of __qsort_r.
36782         (qsort): Call __qsort_r instead of qsort_r.
36783         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
36784         (__qsort_r): Declare.  Call libc_hidden_proto.
36785         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
36786         instead of qsort_r.
36787         * nscd/gai.c (__qsort_r): Define to qsort_r.
36788         * posix/tst-rfc3484.c (__qsort_r): Likewise.
36789         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
36790         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
36792         [BZ #17570]
36793         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
36794         define as weak alias of __malloc_info.
36796         [BZ #17584]
36797         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
36798         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36799         (__rewinddir): Use libc_hidden_def.
36800         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
36801         as weak alias of __rewinddir.  Don't use libc_hidden_def.
36802         (__rewinddir): Use libc_hidden_def.
36803         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
36804         weak alias of __rewinddir.  Don't use libc_hidden_def.
36805         (__rewinddir): Use libc_hidden_def.
36806         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
36807         (__rewinddir): Use libc_hidden_proto.
36808         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
36809         rewinddir.
36810         (__getcwd): Use __rewinddir instead of rewinddir.
36812         [BZ #17583]
36813         * libio/fileno.c (fileno): Rename to __fileno and define as weak
36814         alias of __fileno.  Use libc_hidden_weak.
36815         (__fileno): Use libc_hidden_def.
36816         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
36817         * libio/ftello.c (ftello): Rename to __ftello and define as weak
36818         alias of __ftello.
36819         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
36820         __ftello.
36821         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
36822         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
36823         libc_hidden_def.
36824         (fread_unlocked): Don't use libc_hidden_ver.
36825         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
36826         and define as weak alias of __fread_unlocked.  Don't use
36827         libc_hidden_def.
36828         (__fread_unlocked): Use libc_hidden_def.
36829         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
36830         (ftello): Don't use libc_hidden_proto.
36831         (__ftello): Declare.  Use libc_hidden_proto.
36832         (fread_unlocked): Don't use libc_hidden_proto.
36833         (__fread_unlocked): Declare.  Use libc_hidden_proto.
36834         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
36835         and __ftello instead of fileno, fread_unlocked and ftello.
36837 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36839         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
36840         GOT12.
36841         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36842         Likewise.
36843         (_dl_start_user): Likewise.
36844         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
36846 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
36847             Siddhesh Poyarekar  <siddhesh@redhat.com>
36849         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
36850         Move argv and envp down instead of moving argc up.
36851         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
36853 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
36855         [BZ #17506]
36856         * test-skeleton.c (main): Return successful if one of
36857         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
36858         * string/tst-strcoll-overflow.c: Define expected status.
36860 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
36862         [BZ #17475]
36863         * locale/iso-639.def: Define Bhili and Tulu language codes.
36865 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
36867         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
36869 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
36871         [BZ #17555]
36872         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
36874 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
36876         * configure.ac: Updated check of minimal required version to
36877         2.22.
36878         * manual/install.texi (Tools for Compilation): Updated version
36879         number.
36880         * configure: Regenerated.
36881         * INSTALL: Likewise.
36883 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
36885         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
36886         __tls_get_addr.
36888 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
36890         * include/sys/wait.h (__libc_waitpid): Remove declaration.
36891         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
36892         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36893         libc_hidden_weak.
36894         (waitpid): Define as alias of __waitpid.
36895         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
36896         __waitpid.
36897         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36898         libc_hidden_weak.
36899         (waitpid): Define as alias of __waitpid.
36900         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
36901         __libc_waitpid alias.
36902         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
36903         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
36904         Likewise.
36905         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
36906         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
36907         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
36908         alias.
36909         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
36910         __waitpid.
36911         (__waitpid): Don't define as alias.  Use libc_hidden_def not
36912         libc_hidden_weak.
36913         (waitpid): Define as alias of __waitpid.
36915 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
36917         * manual/llio.texi: Add comment that write safety has been
36918         fixed in Linux.
36920         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
36921         (localplt-build-dso): Add elf/ld.so.
36922         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
36923         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
36924         and free for ld.so.
36925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
36926         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
36927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
36928         Likewise.
36929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36930         Likewise.
36931         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
36932         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
36933         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
36934         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
36935         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
36936         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
36937         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
36938         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
36939         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
36940         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
36941         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
36943 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
36945         [BZ #14132]
36946         * include/libc-symbols.h (INTUSE): Remove macro.
36947         (INTDEF): Likewise.
36948         (INTVARDEF): Likewise.
36949         (_INTVARDEF): Likewise.
36950         (INTDEF2): Likewise.
36951         (INTVARDEF2): Likewise.
36952         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36953         rtld_hidden_def instead of INTVARDEF.
36954         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
36955         (_dl_starting_up_internal): Remove declaration.
36956         (_dl_starting_up): Use rtld_hidden_proto.
36957         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
36958         declaration.
36959         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
36960         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
36961         _dl_starting_up.
36962         * elf/dl-writev.h (_dl_writev): Likewise.
36963         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
36964         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
36965         _dl_starting_up_internal.
36967 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36969         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
36970         test-skeleton.c.
36972 2014-11-05  Will Newton  <will.newton@linaro.org>
36974         * benchtests/Makefile: (bench-malloc): Add malloc thread
36975         scalability benchmark.
36976         * benchtests/bench-malloc-threads.c: New file.
36978 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
36980         * sysdeps/aarch64/strchrnul.S: New file.
36982 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36984         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
36985         definition.
36986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36987         Likewise.
36988         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36989         Likewise.
36990         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36991         Likewise.
36992         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36993         Likewise.
36994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36995         Likewise.
36997 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
36999         * catgets/test-gencat.c: Use test-skeleton.c.
37000         * catgets/tst-catgets.c: Likewise.
37001         * csu/tst-empty.c: Likewise.
37002         * elf/tst-audit2.c: Likewise.
37003         * elf/tst-global1.c: Likewise.
37004         * elf/tst-pathopt.c: Likewise.
37005         * elf/tst-piemod1.c: Likewise.
37006         * elf/tst-tls10.c: Likewise.
37007         * elf/tst-tls11.c: Likewise.
37008         * elf/tst-tls12.c: Likewise.
37009         * gnulib/tst-gcc.c: Likewise.
37010         * iconvdata/tst-e2big.c: Likewise.
37011         * iconvdata/tst-loading.c: Likewise.
37012         * iconv/tst-iconv1.c: Likewise.
37013         * iconv/tst-iconv2.c: Likewise.
37014         * inet/test-inet6_opt.c: Likewise.
37015         * inet/tst-gethnm.c: Likewise.
37016         * inet/tst-network.c: Likewise.
37017         * inet/tst-ntoa.c: Likewise.
37018         * intl/tst-codeset.c: Likewise.
37019         * intl/tst-gettext2.c: Likewise.
37020         * intl/tst-gettext3.c: Likewise.
37021         * intl/tst-ngettext.c: Likewise.
37022         * intl/tst-translit.c: Likewise.
37023         * io/test-stat.c: Likewise.
37024         * libio/test-fmemopen.c: Likewise.
37025         * libio/tst-freopen.c: Likewise.
37026         * libio/tst-sscanf.c: Likewise.
37027         * libio/tst-ungetwc1.c: Likewise.
37028         * libio/tst-ungetwc2.c: Likewise.
37029         * libio/tst-widetext.c: Likewise.
37030         * localedata/tst-ctype.c: Likewise.
37031         * localedata/tst-digits.c: Likewise.
37032         * localedata/tst-leaks.c: Likewise.
37033         * localedata/tst-mbswcs1.c: Likewise.
37034         * localedata/tst-mbswcs2.c: Likewise.
37035         * localedata/tst-mbswcs3.c: Likewise.
37036         * localedata/tst-mbswcs4.c: Likewise.
37037         * localedata/tst-mbswcs5.c: Likewise.
37038         * localedata/tst-setlocale.c: Likewise.
37039         * localedata/tst-trans.c: Likewise.
37040         * localedata/tst-wctype.c: Likewise.
37041         * localedata/tst-xlocale1.c: Likewise.
37042         * login/tst-grantpt.c: Likewise.
37043         * malloc/tst-calloc.c: Likewise.
37044         * malloc/tst-malloc.c: Likewise.
37045         * malloc/tst-mallocstate.c: Likewise.
37046         * malloc/tst-mcheck.c: Likewise.
37047         * malloc/tst-mtrace.c: Likewise.
37048         * malloc/tst-obstack.c: Likewise.
37049         * math/atest-exp2.c: Likewise.
37050         * math/atest-exp.c: Likewise.
37051         * math/atest-sincos.c: Likewise.
37052         * math/test-matherr.c: Likewise.
37053         * math/test-misc.c: Likewise.
37054         * math/test-powl.c: Likewise.
37055         * math/tst-definitions.c: Likewise.
37056         * misc/tst-dirname.c: Likewise.
37057         * misc/tst-efgcvt.c: Likewise.
37058         * misc/tst-fdset.c: Likewise.
37059         * misc/tst-hsearch.c: Likewise.
37060         * misc/tst-mntent2.c: Likewise.
37061         * nptl/tst-sem7.c: Likewise.
37062         * nptl/tst-sem8.c: Likewise.
37063         * nptl/tst-sem9.c: Likewise.
37064         * nss/test-netdb.c: Likewise.
37065         * posix/tst-fnmatch.c: Likewise.
37066         * posix/tst-getlogin.c: Likewise.
37067         * posix/tst-gnuglob.c: Likewise.
37068         * posix/tst-mmap.c: Likewise.
37069         * pwd/tst-getpw.c: Likewise.
37070         * resolv/tst-inet_ntop.c: Likewise.
37071         * rt/tst-timer.c: Likewise.
37072         * stdio-common/test-fseek.c: Likewise.
37073         * stdio-common/test-popen.c: Likewise.
37074         * stdio-common/test-vfprintf.c: Likewise.
37075         * stdio-common/tst-cookie.c: Likewise.
37076         * stdio-common/tst-fileno.c: Likewise.
37077         * stdio-common/tst-gets.c: Likewise.
37078         * stdio-common/tst-obprintf.c: Likewise.
37079         * stdio-common/tst-perror.c: Likewise.
37080         * stdio-common/tst-sprintf2.c: Likewise.
37081         * stdio-common/tst-sprintf3.c: Likewise.
37082         * stdio-common/tst-sprintf.c: Likewise.
37083         * stdio-common/tst-swprintf.c: Likewise.
37084         * stdio-common/tst-tmpnam.c: Likewise.
37085         * stdio-common/tst-unbputc.c: Likewise.
37086         * stdio-common/tst-wc-printf.c: Likewise.
37087         * stdlib/tst-environ.c: Likewise.
37088         * stdlib/tst-fmtmsg.c: Likewise.
37089         * stdlib/tst-limits.c: Likewise.
37090         * stdlib/tst-rand48-2.c: Likewise.
37091         * stdlib/tst-rand48.c: Likewise.
37092         * stdlib/tst-random2.c: Likewise.
37093         * stdlib/tst-random.c: Likewise.
37094         * stdlib/tst-strtol.c: Likewise.
37095         * stdlib/tst-strtoll.c: Likewise.
37096         * stdlib/tst-tls-atexit.c: Likewise.
37097         * stdlib/tst-xpg-basename.c: Likewise.
37098         * string/test-ffs.c: Likewise.
37099         * string/tst-bswap.c: Likewise.
37100         * string/tst-inlcall.c: Likewise.
37101         * string/tst-strtok.c: Likewise.
37102         * string/tst-strxfrm.c: Likewise.
37103         * sysdeps/x86_64/tst-audit10.c: Likewise.
37104         * sysdeps/x86_64/tst-audit3.c: Likewise.
37105         * sysdeps/x86_64/tst-audit4.c: Likewise.
37106         * sysdeps/x86_64/tst-audit5.c: Likewise.
37107         * time/tst-ftime_l.c: Likewise.
37108         * time/tst-getdate.c: Likewise.
37109         * time/tst-mktime3.c: Likewise.
37110         * time/tst-mktime.c: Likewise.
37111         * time/tst-posixtz.c: Likewise.
37112         * time/tst-strptime2.c: Likewise.
37113         * time/tst-strptime3.c: Likewise.
37114         * wcsmbs/tst-btowc.c: Likewise.
37115         * wcsmbs/tst-mbrtowc.c: Likewise.
37116         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37117         * wcsmbs/tst-wchar-h.c: Likewise.
37118         * wcsmbs/tst-wcpncpy.c: Likewise.
37119         * wcsmbs/tst-wcrtomb.c: Likewise.
37120         * wcsmbs/tst-wcsnlen.c: Likewise.
37121         * wcsmbs/tst-wcstof.c: Likewise.
37123 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37125         [BZ #14132]
37126         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37127         INTDEF.
37128         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37129         declaration.
37130         (_dl_mcount): Use rtld_hidden_proto.
37131         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37132         _dl_mcount.
37133         * elf/rtld.c (_rtld_global_ro): Likewise.
37135         [BZ #14132]
37136         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37137         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37138         of _dl_init_internal.
37139         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37140         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37141         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37142         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37143         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37144         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37145         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37146         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37147         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37148         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37149         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37150         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37151         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37152         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37153         * sysdeps/tile/dl-start.S (_start): Likewise.
37154         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37155         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37157         [BZ #14132]
37158         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37159         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37160         (rtld_progname): Make macro definition unconditional.
37161         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37162         INTDEF.
37163         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37164         (dl_main): Likewise.
37165         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37166         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37167         instead of _dl_argv_internal.
37168         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37169         __GI__dl_argv instead of INTUSE(_dl_argv).
37170         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37171         __GI__dl_argv instead of _dl_argv_internal.
37173         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37174         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37175         macro.
37176         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37177         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37178         New macro.
37179         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37180         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37181         macro.
37182         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37183         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37185 2014-11-04  Andreas Schwab  <schwab@suse.de>
37187         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37189 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37191         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37192         mtvsrd instruction in binary form.
37194 2014-11-03  Andreas Schwab  <schwab@suse.de>
37196         [BZ #17522]
37197         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37198         for less than MB_LEN_MAX use a local buffer of that size.
37199         * libio/tst-fputws.c: New file.
37200         * libio/Makefile (tests): Add tst-fputws.
37202 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37204         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37205         the size of the fpu_fr.fpu_dregs[] array.
37207 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37209         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37210         (__nanosleep): Do not define as alias.
37211         (nanosleep): Define as alias of __nanosleep.
37212         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37213         __libc_nanosleep name.
37215 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37217         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37218         install.texi in comment.
37220 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37222         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37223         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37224         ... add here and use lwsync or sync ...
37225         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37226         ... and add here using lwsync.
37228 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37230         * elf/dl-machine-reject-phdr.h: New file.
37231         * elf/dl-load.c: #include that.
37232         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37233         if that returned true.
37235 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37237         [BZ #17496]
37238         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37239         gen-as-const-headers chunk.  Add a big scare comment after the last
37240         safe place to touch before-compile.
37242 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37244         * manual/install.texi (Tools for Compilation): Update autoconf
37245         version requirements.
37246         * INSTALL: Regenerated.
37248         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37249         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37250         (__libc_pselect): Likewise.
37252         [BZ #14138]
37253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37258 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37260         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37261         correct barrier instruction.
37262         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37263         Likewise.
37264         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37265         Likewise.
37267 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37269         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37270         after defining inlines.  Instead, just use parens to defeat macro
37271         expansion of __isctype in its declaration.
37273 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37275         * include/sys/uio.h (__libc_readv): Remove declaration.
37276         (__libc_writev): Likewise.
37277         * misc/readv.c (__libc_readv): Rename to __readv.
37278         (__readv): Do not define as alias.
37279         (readv): Define as alias of __readv.
37280         * misc/writev.c (__libc_writev): Rename to __writev.
37281         (__writev): Do not define as alias.
37282         (writev): Define as alias of __writev.
37283         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37284         (__readv): Do not define as alias.
37285         (readv): Define unconditionally as alias of __readv.
37286         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37287         (__writev): Do not define as alias.
37288         (writev): Define unconditionally as alias of __writev.
37289         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37290         name.
37291         (writev): Do not define __libc_writev name.
37293 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37295         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37296         (convert_charseq): New function, broken out of ...
37297         (use_from_charmap): ... here.  Call it.
37298         (use_to_charmap): Use convert_charseq and free instead of duplicating
37299         its code with a variable-length stack struct.
37301 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37303         * include/fcntl.h (__libc_creat): Remove declaration.
37304         * io/creat.c (__libc_creat): Rename to creat.
37305         (creat): Do not define as alias.
37306         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37307         of creat instead of __libc_creat.
37308         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37309         to creat.
37310         (creat): Do not define as alias.
37311         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37312         __libc_creat.
37313         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37314         __libc_creat name.
37315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37316         Likewise.
37318 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37320         * manual/llio.texi: Add comments discussing why write() may be
37321         considered MT-unsafe on Linux.
37323 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37325         * dl-load.c (local_strdup): Remove.
37326         (expand_dynamic_string_token): Use __strdup.
37327         (decompose_rpath): Likewise.
37328         (_dl_map_object): Likewise.
37330 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37332         [BZ #14132]
37333         * sysdeps/generic/unwind-dw2-fde.c
37334         (__register_frame_info_bases_internal): Do not declare.
37335         (__register_frame_info_table_bases_internal): Likewise.
37336         (__deregister_frame_info_bases_internal): Likewise.
37337         (__register_frame_info_bases): Declare and use hidden_proto before
37338         definition.  Use hidden_def instead of INTDEF.
37339         (__register_frame_info_table_bases): Likewise.
37340         (__deregister_frame_info_bases): Likewise.
37341         (__register_frame_info): Do not use INTUSE.
37342         (__register_frame): Likewise.
37343         (__register_frame_info_table): Likewise.
37344         (__register_frame_table): Likewise.
37345         (__deregister_frame_info): Likewise.
37346         (__deregister_frame): Likewise.
37348 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37351         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37352         not undefine.
37353         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37354         Likewise.
37355         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37356         Likewise.
37358 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37360         [BZ #14138]
37361         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37362         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37363         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37364         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37365         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37366         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37367         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37368         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37369         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37370         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37371         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37372         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37373         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37374         syscall.
37375         (setfsuid): Likewise.
37376         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37377         (setfsuid): Likewise.
37378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37379         (setfsuid): Likewise.
37380         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37381         Likewise.
37382         (setfsuid): Likewise.
37383         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37384         (setfsuid): Likewise.
37385         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37386         Likewise.
37387         (setfsuid): Likewise.
37389 2014-10-27  Andreas Schwab  <schwab@suse.de>
37391         [BZ #17501]
37392         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37393         check for Slow_SSE4_2 feature bit.
37394         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37395         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37396         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37397         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37399 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37401         * configure.ac: Validate compiler version with a empirical test of
37402         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37403         $CC -v output.
37404         * configure: Regenerated.
37406         * inet/htons.c (htons): Prototypify.
37407         * inet/htonl.c (htonl): Likewise.
37409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37411         * string/strncat.c (strncat): Improve performance by using strlen.
37413 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37415         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37419         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37420         Call libc_fetestexcept_aarch64.
37422 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37424         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37425         Call libc_feholdexcept_aarch64.
37427 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37429         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37430         Call get_rounding_mode.
37432 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37434         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37435         Simplify logic.
37437 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37439         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37440         Simplify logic.
37442 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37444         [BZ #14138]
37445         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37446         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37447         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37448         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37449         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37450         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37451         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37452         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37453         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37454         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37455         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37456         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37457         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37458         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37459         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37460         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37461         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37462         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37463         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37464         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37465         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37466         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37467         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37468         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37469         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37470         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37471         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37472         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37473         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37474         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37475         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37476         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37477         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37478         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37479         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37480         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37481         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37482         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37483         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37484         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37485         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37486         syscall.
37487         (geteuid): Likewise.
37488         (getgid): Likewise.
37489         (getuid): Likewise.
37490         (getresgid): Likewise.
37491         (getresuid): Likewise.
37492         (getgroups): Likewise.
37493         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37494         (geteuid): Likewise.
37495         (getgid): Likewise.
37496         (getuid): Likewise.
37497         (getresgid): Likewise.
37498         (getresuid): Likewise.
37499         (getgroups): Likewise.
37500         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37501         (geteuid): Likewise.
37502         (getgid): Likewise.
37503         (getuid): Likewise.
37504         (getresgid): Likewise.
37505         (getresuid): Likewise.
37506         (getgroups): Likewise.
37507         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37508         Likewise.
37509         (geteuid): Likewise.
37510         (getgid): Likewise.
37511         (getuid): Likewise.
37512         (getresgid): Likewise.
37513         (getresuid): Likewise.
37514         (getgroups): Likewise.
37515         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37516         (geteuid): Likewise.
37517         (getgid): Likewise.
37518         (getuid): Likewise.
37519         (getresgid): Likewise.
37520         (getresuid): Likewise.
37521         (getgroups): Likewise.
37522         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37523         Likewise.
37524         (geteuid): Likewise.
37525         (getgid): Likewise.
37526         (getuid): Likewise.
37527         (getgroups): Likewise.
37529         [BZ #14138]
37530         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37531         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37532         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37533         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37534         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37535         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37536         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37537         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37538         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37539         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37540         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37541         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37542         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37543         __chown.
37544         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37545         (lchown): Likewise.
37546         (fchown): Likewise.
37547         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37548         Likewise.
37549         (lchown): Likewise.
37550         (fchown): Likewise.
37551         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37552         (lchown): Likewise.
37553         (fchown): Likewise.
37554         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37555         Likewise.
37556         (lchown): Likewise.
37557         (fchown): Likewise.
37559 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37561         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37562         Simplify logic.
37564 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37566         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37567         Cleanup logic.
37569 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37571         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37572         Remove unused include.
37574 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37576         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37577         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37578         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37579         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37581 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37582             Helge Deller <deller@gmx.de>
37584         [BZ #17508]
37585         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37586         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37587         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37589 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37591         [BZ #14132]
37592         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37593         Remove macro definition.
37594         (__ashrdi3_v_glibc20): Likewise.
37595         (__lshrdi3_v_glibc20): Likewise.
37596         (__cmpdi2_v_glibc20): Likewise.
37597         (__ucmpdi2_v_glibc20): Likewise.
37598         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37599         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37600         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37601         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37602         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37603         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37605 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37607         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37608         old GNU extension [0] syntax.
37609         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37610         alloca rather than an array member with variable length.
37611         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37612         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37613         (parse_opt): ... here.  Likewise use alloca there.
37614         Validate the -i argument before checking for rootness.
37615         (send_shutdown): New function, broken out of ...
37616         (parse_opt): ... here.
37618 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37620         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37621         macro to get at the _rt_local_ro field.
37622         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37623         ([PIC] case) or _dl_hwcap ([!PIC] case).
37624         * sysdeps/arm/setjmp.S: Likewise.
37626         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37627         * sysdeps/arm/configure.ac: New check to define it.
37628         * sysdeps/arm/configure: Regenerated.
37629         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37630         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37631         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37632         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37633         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37634         Use move/movt pair instead of a load.
37635         (LDST_GLOBAL): Macro removed.
37636         (LDR_GLOBAL): New macro replaces it.
37637         (LDR_HIDDEN): New macro.
37638         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37639         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37641         * setjmp/tst-setjmp-static.c: New file.
37642         * setjmp/Makefile (tests): Add it.
37643         (tests-static): New variable.
37645 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37647         [BZ #17485]
37648         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37650 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37652         [BZ #14132]
37653         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37655 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37657         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37659 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37661         * io/fts.c (dirent_not_directory): New function.
37662         (fts_build): Call it.
37664 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37666         * nptl/version.c (__nptl_main): Use normal __write rather than
37667         INTERNAL_SYSCALL.
37668         (banner): Update copyright years.
37670         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37671         gettimeofday.
37672         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37673         * nptl/pthread_cond_timedwait.c: Likewise.
37674         * nptl/pthread_mutex_timedlock.c: Likewise.
37675         * nptl/sem_timedwait.c: Likewise.
37677         * sysdeps/nptl/bits/libc-lock.h
37678         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37679         (__libc_lock_init_recursive): Return void, not 0.
37680         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37681         (__libc_rwlock_init): Likewise.
37682         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37684 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37686         [BZ #15215]
37687         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37688         (__pthread_once_slow): ... here.
37689         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37690         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37692 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37694         [BZ #15215]
37695         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37696         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37697         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37698         * nptl/pthread_once.c (__pthread_once): Likewise.
37699         Update comments.
37701 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37703         [BZ #14138]
37704         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37705         name.
37706         (writev): Use __libc_writev as strong name.
37707         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37708         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37710 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37712         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37714         * sysdeps/i386/nptl/tls.h
37715         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37716         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37717         New macros.
37718         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
37719         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
37720         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
37721         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
37722         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
37723         Call CHECK_THREAD_SYSINFO instead of doing an assert.
37725         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37726         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
37727         on [__NR_futex].
37728         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
37729         broken out of ...
37730         (__pthread_mutex_init): ... here.  Call it.
37731         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
37732         Conditionalize PI cases on [__NR_futex].
37733         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
37734         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
37735         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
37737         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
37738         conditional on [SIGSETXID].
37739         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
37740         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
37741         is defined.  Likewise for SIGSETXID.
37742         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
37743         Conditionalize definitions on [SIGSETXID].
37744         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
37745         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
37746         unblocking on [SIGCANCEL].
37748         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
37749         [__NR_set_robust_list].
37751 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         * string/strcoll_l.c (get_next_seq): Fix up formatting.
37754         (do_compare): Likewise.
37756 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
37758         [BZ #15884]
37759         * string/strcoll_l.c: Don't include stdio.h.
37760         (coll_seq): Remove members idxarr and rulearr.
37761         (get_next_seq_cached): Remove function.
37762         (get_next_seq): Likewise.
37763         (get_next_seq_nocache): Rename to get_next_seq.
37764         (do_compare): Remove function.
37765         (do_compare_nocache): Rename to do_compare.
37766         (STRCOLL): Remove weight and rules cache.
37768 2014-10-16  Roland McGrath  <roland@hack.frob.com>
37770         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
37771         * sysdeps/arm/sfp-machine.h: ... to here.
37772         * sysdeps/arm/Implies: Remove arm/soft-fp.
37774 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
37776         * conform/data/sys/utsname.h-data (*_t): Allow.
37777         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
37778         [POSIX] (WEXITED): Do not expect constant.
37779         [POSIX] (WSTOPPED): Likewise.
37780         [POSIX] (WNOHANG): Likewise.
37781         [POSIX] (WNOWAIT): Likewise.
37782         [POSIX] (siginfo_t): Do not expect type or elements.
37783         [POSIX] (pid_t): Do not expect type.
37784         [POSIX] (signal.h): Do not allow header.
37785         [POSIX] (sys/resource.h): Likewise.
37786         [POSIX] (si_*): Do not allow pattern.
37787         [POSIX] (W*): Likewise.
37788         [POSIX] (P_*): Likewise.
37789         [POSIX] (BUS_*): Likewise.
37790         [POSIX] (CLD_*): Likewise.
37791         [POSIX] (FPE_*): Likewise.
37792         [POSIX] (ILL_*): Likewise.
37793         [POSIX] (POLL_*): Likewise.
37794         [POSIX] (SEGV_*): Likewise.
37795         [POSIX] (SI_*): Likewise.
37796         [POSIX] (TRAP_*): Likewise.
37797         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
37798         variable.
37800 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
37802         [BZ #12926]
37803         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
37804         infinite loop when __recvmsg returns 0.
37806 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
37808         * CANCEL-FCT-WAIVE: Remove file.
37809         * CANCEL-FILE-WAIVE: Likewise.
37811         [BZ #14132]
37812         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
37813         instead of INTVARDEF.
37814         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37815         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
37816         rtld_hidden_data_def instead of INTVARDEF.
37817         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
37818         * elf/dl-deps.c (expand_dst): Likewise.
37819         * elf/dl-load.c (_dl_dst_count): Likewise.
37820         (_dl_dst_substitute): Likewise.
37821         (decompose_rpath): Likewise.
37822         (_dl_init_paths): Likewise.
37823         (open_path): Likewise.
37824         (_dl_map_object): Likewise.
37825         * elf/rtld.c (dl_main): Likewise.
37826         (process_dl_audit): Likewise.
37827         (process_envvars): Likewise.
37828         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
37829         Remove declaration.
37830         (__libc_enable_secure): Use rtld_hidden_proto.
37832 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37834         * elf/dl-load.c
37835         (add_path): New function broken out of _dl_rtld_di_serinfo.
37836         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
37838 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
37840         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
37841         parentheses around macro arguments.
37842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
37843         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
37844         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
37845         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
37846         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
37847         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37848         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37849         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
37850         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
37851         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
37852         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
37853         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
37854         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
37855         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
37856         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
37857         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
37858         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
37859         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
37860         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
37861         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
37862         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
37863         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
37864         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
37865         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
37866         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
37867         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
37868         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
37869         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
37870         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
37871         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
37872         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
37873         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
37874         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
37875         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
37876         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
37877         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
37878         Likewise.
37879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
37880         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37881         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
37883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
37884         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
37885         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
37886         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
37887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
37888         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
37889         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
37890         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
37891         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
37892         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
37893         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
37894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
37895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
37896         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
37897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
37898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
37899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
37900         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
37901         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
37902         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
37903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
37904         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
37905         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
37906         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
37907         (_FP_FRAC_SRS_1): Likewise.
37908         (_FP_FRAC_CLZ_1): Likewise.
37909         (_FP_MUL_MEAT_1_imm): Likewise.
37910         (_FP_MUL_MEAT_1_wide): Likewise.
37911         (_FP_MUL_MEAT_1_hard): Likewise.
37912         (_FP_SQRT_MEAT_1): Likewise.
37913         (_FP_FRAC_ASSEMBLE_1): Likewise.
37914         (_FP_FRAC_DISASSEMBLE_1): Likewise.
37915         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
37916         (__FP_CLZ_2): Likewise.
37917         (_FP_MUL_MEAT_2_wide): Likewise.
37918         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37919         (_FP_MUL_MEAT_2_gmp): Likewise.
37920         (_FP_MUL_MEAT_2_120_240_double): Likewise.
37921         (_FP_SQRT_MEAT_2): Likewise.
37922         (_FP_FRAC_ASSEMBLE_2): Likewise.
37923         (_FP_FRAC_DISASSEMBLE_2): Likewise.
37924         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
37925         (_FP_FRAC_CLZ_4): Likewise.
37926         (_FP_MUL_MEAT_4_wide): Likewise.
37927         (_FP_MUL_MEAT_4_gmp): Likewise.
37928         (_FP_SQRT_MEAT_4): Likewise.
37929         (_FP_FRAC_ASSEMBLE_4): Likewise.
37930         (_FP_FRAC_DISASSEMBLE_4): Likewise.
37931         * soft-fp/op-common.h (_FP_CMP): Likewise.
37932         (_FP_CMP_EQ): Likewise.
37933         (_FP_CMP_UNORD): Likewise.
37934         (_FP_TO_INT): Likewise.
37935         (_FP_FROM_INT): Likewise.
37936         [!__FP_CLZ] (__FP_CLZ): Likewise.
37937         (_FP_DIV_HELP_imm): Likewise.
37938         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
37939         Likewise.
37940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
37941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
37942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
37943         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
37944         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
37945         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37946         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37947         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
37948         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
37949         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
37950         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
37951         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
37952         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
37953         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
37954         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
37955         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
37956         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
37957         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
37958         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
37959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
37960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
37961         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
37962         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
37963         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
37964         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
37965         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
37966         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
37967         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
37968         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
37969         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
37970         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
37971         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
37972         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
37973         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
37974         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
37975         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
37976         (FP_UNPACK_RAW_SP): Likewise.
37977         (FP_PACK_RAW_S): Likewise.
37978         (FP_PACK_RAW_SP): Likewise.
37979         (FP_UNPACK_S): Likewise.
37980         (FP_UNPACK_SP): Likewise.
37981         (FP_UNPACK_SEMIRAW_S): Likewise.
37982         (FP_UNPACK_SEMIRAW_SP): Likewise.
37983         (FP_PACK_S): Likewise.
37984         (FP_PACK_SP): Likewise.
37985         (FP_PACK_SEMIRAW_S): Likewise.
37986         (FP_PACK_SEMIRAW_SP): Likewise.
37987         (_FP_SQRT_MEAT_S): Likewise.
37988         (FP_CMP_S): Likewise.
37989         (FP_CMP_EQ_S): Likewise.
37990         (FP_CMP_UNORD_S): Likewise.
37991         (FP_TO_INT_S): Likewise.
37992         (FP_FROM_INT_S): Likewise.
37994         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
37996         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
37997         (FP_EX_INVALID_IMZ): Likewise.
37998         (FP_EX_INVALID_IMZ_FMA): Likewise.
37999         (FP_EX_INVALID_ISI): Likewise.
38000         (FP_EX_INVALID_ZDZ): Likewise.
38001         (FP_EX_INVALID_IDI): Likewise.
38002         (FP_EX_INVALID_SQRT): Likewise.
38003         (FP_EX_INVALID_CVI): Likewise.
38004         (FP_EX_INVALID_VC): Likewise.
38005         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38006         "invalid" exceptions.
38007         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38008         (_FP_ADD_INTERNAL): Likewise.
38009         (_FP_MUL): Likewise.
38010         (_FP_FMA): Likewise.
38011         (_FP_DIV): Likewise.
38012         (_FP_CMP_CHECK_NAN): Likewise.
38013         (_FP_SQRT): Likewise.
38014         (_FP_TO_INT): Likewise.
38015         (FP_EXTEND): Likewise.
38017 2014-10-09  Allan McRae  <allan@archlinux.org>
38019         * po/fr.po: Update French translation from translation project.
38021 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38023         [BZ #14132]
38024         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38025         of INTDEF.
38026         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38027         (__cxa_atexit): Use libc_hidden_proto.
38028         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38030         [BZ #14132]
38031         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38032         declaration.
38033         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38034         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38035         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38036         [!_ISOMAC] (__iswctype_internal): Likewise.
38037         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38038         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38039         alias.
38040         (fcntl): Remove __fcntl_internal alias.
38041         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38042         __connect_internal alias.
38043         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38044         Likewise.
38046         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38047         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38048         FP_DENORM_ZERO.
38049         (_FP_CHECK_FLUSH_ZERO): New macro.
38050         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38051         (_FP_CMP): Likewise.
38052         (_FP_CMP_EQ): Likewise.
38053         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38054         FP_DENORM_ZERO.
38055         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38056         (FP_TRUNC): Likewise.
38058         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38059         treated as invalid conversion, not as normal exponent.
38061         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38062         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38063         (_FP_CMP_EQ): Likewise.
38064         (_FP_CMP_UNORD): Likewise.
38065         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38066         (FP_CMP_EQ_D): Likewise.
38067         (FP_CMP_UNORD_D): Likewise.
38068         * soft-fp/extended.h (FP_CMP_E): Likewise.
38069         (FP_CMP_EQ_E): Likewise.
38070         (FP_CMP_UNORD_E): Likewise.
38071         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38072         (FP_CMP_EQ_Q): Likewise.
38073         (FP_CMP_UNORD_Q): Likewise.
38074         * soft-fp/single.h (FP_CMP_S): Likewise.
38075         (FP_CMP_EQ_S): Likewise.
38076         (FP_CMP_UNORD_S): Likewise.
38077         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38078         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38079         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38080         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38081         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38082         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38083         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38084         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38085         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38086         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38087         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38088         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38089         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38090         to FP_CMP_Q.
38091         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38092         FP_CMP_Q.
38093         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38094         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38095         FP_CMP_EQ_Q.
38096         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38097         FP_CMP_Q.
38098         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38099         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38100         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38101         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38102         FP_CMP_EQ_Q.
38103         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38104         FP_CMP_Q.
38105         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38106         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38107         FP_CMP_EQ_Q.
38108         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38109         FP_CMP_Q.
38110         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38111         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38112         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38113         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38114         FP_CMP_EQ_Q.
38116         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38117         a subnormal result, set the underflow exception if trapping on
38118         underflow is enabled.
38119         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38120         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38121         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38122         redefine to 0.
38123         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38124         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38125         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38126         * soft-fp/extendxftf2.c (__extendxftf2): Use
38127         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38129         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38130         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38131         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38132         FP_HANDLE_EXCEPTIONS.
38133         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38134         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38135         FP_HANDLE_EXCEPTIONS.
38136         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38137         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38138         FP_HANDLE_EXCEPTIONS.
38139         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38140         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38141         FP_HANDLE_EXCEPTIONS.
38143 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38145         [BZ #14132]
38146         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38147         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38148         use INTUSE.
38149         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38150         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38151         Remove alias.
38152         (__adjtimex): Define using libc_hidden_ver.
38153         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38154         Remove declaration.
38155         (ntp_gettime): Call __adjtimex directly.
38156         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38157         Remove declaration.
38158         (ntp_gettimex): Call __adjtimex directly.
38159         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38160         __adjtimex_internal alias.
38162 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38164         [BZ #17460]
38165         * nscd/nscd.c (more_help): Rewrite list of tables collection
38166         using xstrdup and asprintf.
38168         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38170 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38171             Roland McGrath  <roland@hack.frob.com>
38173         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38174         (do_lookup_unique): ... local function 'enter' here; update callers.
38176 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38178         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38179         compat_symbol calls on [SHARED].
38180         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38181         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38182         Remove.
38183         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38184         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38185         (oldsetrlimit): Remove.
38186         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38188         (lchown): New syscall entry.
38189         (oldsetrlimit): Remove.
38190         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38191         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38192         (oldsetrlimit): Remove.
38193         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38195         [BZ #14138]
38196         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38197         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38198         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38199         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38200         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38201         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38202         (fchown): Likewise.
38203         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38204         (fchown): Likewise.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38206         Likewise.
38208 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38211         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38212         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38213         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38214         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38215         Likewise.
38216         (__old_sem_post): Likewise.
38218 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38220         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38221         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38222         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38223         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38224         Use INLINE_VSYSCALL macro.
38225         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38226         __vdso_clock_gettime.
38227         * sysdeps/unix/sysv/linux/tile/init-first.c
38228         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38229         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38230         __vdso_clock_gettime.
38232         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38233         to set up frame more cleanly.
38235         * sysdeps/tile/memcmp.c: New file.
38237         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38239         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38240         * sysdeps/tile/tilegx/strcasestr.c: New file.
38241         * sysdeps/tile/tilegx/strnlen.c: New file.
38242         * sysdeps/tile/tilegx/strstr.c: New file.
38244         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38246 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38248         * nptl/tst-setuid3.c: Write errors to stdout.
38250 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38252         * elf/dl-deps.c
38253         (preload): New functions broken out of _dl_map_object_deps.
38254         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38256 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38258         [BZ #14138]
38259         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38260         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38262 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38264         * sysdeps/mips/strcmp.S: New.
38266 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38268         [BZ #14138]
38269         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38270         (linkat): Likewise.
38271         (mkdirat): Likewise.
38272         (readlinkat): Likewise.
38273         (renameat): Likewise.
38274         (symlinkat): Likewise.
38275         (unlinkat): Likewise.
38276         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38277         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38278         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38279         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38280         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38281         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38282         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38284 2014-09-30  Will Newton  <will.newton@linaro.org>
38286         * math/math.h: Define long double math functions if
38287         _LIBC_TEST is defined.
38288         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38290         * localedata/Makefile: Move assignment to tests-special
38291         into an ifdef testing run-built-tests.
38292         * timezone/Makefile: Likewise.
38294 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38296         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38297         with $(BASH) not $(SHELL).
38299 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38300             Matthew LeGendre  <legendre1@llnl.gov>
38302         [BZ #17411]
38303         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38304         l_reloc_result.
38306 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38308         * stdio-common/printf_fp.c
38309         (hack_digit): New function, broken out of ...
38310         (__printf_fp): ... local function here.  Update call sites.
38311         hack_digit now takes an additional parameter that is a pointer
38312         to a struct of the referenced locals.  Those locals moved inside
38313         the struct and references updated.
38315 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38317         * aclocal.m4: Require autoconf 2.69.
38318         * configure: Regenerated.
38319         * sysdeps/aarch64/configure: Likewise.
38320         * sysdeps/alpha/configure: Likewise.
38321         * sysdeps/arm/armv7/configure: Likewise.
38322         * sysdeps/arm/configure: Likewise.
38323         * sysdeps/ia64/configure: Likewise.
38324         * sysdeps/mach/configure: Likewise.
38325         * sysdeps/mips/configure: Likewise.
38326         * sysdeps/s390/configure: Likewise.
38327         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38330         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38331         file.
38332         * sysdeps/ia64/configure.ac: Likewise.
38334 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38337         specify symbol version for ld.so.  Do not include entry for
38338         libpthread.
38339         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38340         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38341         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38343         [BZ #14171]
38344         * Makeconfig [$(build-shared) = yes]
38345         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38346         makefiles.
38347         [$(build-shared) = yes && $(soversions.mk-done) = t]
38348         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38349         [$(build-shared) = yes && $(soversions.mk-done) = t]
38350         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38351         to Makerules.
38352         [$(build-shared) = yes && $(soversions.mk-done) = t]
38353         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38354         here.
38355         [$(build-shared) = yes && $(soversions.mk-done) = t]
38356         (common-generated): Don't append gnu/lib-names.h and
38357         gnu/lib-names.stmp here.
38358         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38359         (lib-names-h-abi): New variable.
38360         [$(build-shared) = yes && $(soversions.mk-done) = t]
38361         (lib-names-stmp-abi): Likewise.
38362         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38363         abi-variants] (before-compile): Append
38364         $(common-objpfx)$(lib-names-h-abi).
38365         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38366         abi-variants] (common-generated): Append gnu/lib-names.h.
38367         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38368         abi-variants] (install-others-nosubdir): Depend on
38369         $(inst_includedir)/$(lib-names-h-abi).
38370         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38371         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38372         [$(build-shared) = yes && $(soversions.mk-done) = t]
38373         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38374         [$(build-shared) = yes && $(soversions.mk-done) = t]
38375         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38376         [$(build-shared) = yes && $(soversions.mk-done) = t]
38377         (common-generated): Append $(lib-names-h-abi) and
38378         $(lib-names-stmp-abi).
38379         * scripts/lib-names.awk: Do not handle multi being set.
38380         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38381         Remove variable.
38382         (abi-lp64_be-ld-soname): Likewise.
38383         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38384         Likewise.
38385         (abi-hard-ld-soname): Likewise.
38386         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38387         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38388         Remove variable.
38389         (abi-o32_hard-ld-soname): Likewise.
38390         (abi-o32_soft_2008-ld-soname): Likewise.
38391         (abi-o32_hard_2008-ld-soname): Likewise.
38392         (abi-n32_soft-ld-soname): Likewise.
38393         (abi-n32_hard-ld-soname): Likewise.
38394         (abi-n32_soft_2008-ld-soname): Likewise.
38395         (abi-n32_hard_2008-ld-soname): Likewise.
38396         (abi-n64_soft-ld-soname): Likewise.
38397         (abi-n64_hard-ld-soname): Likewise.
38398         (abi-n64_soft_2008-ld-soname): Likewise.
38399         (abi-n64_hard_2008-ld-soname): Likewise.
38400         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38401         Likewise.
38402         (abi-64-v2-ld-soname): Likewise.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38404         ld.so entries.
38405         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38406         variable.
38407         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38408         entry.
38409         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38410         variable.
38411         (abi-64-ld-soname): Likewise.
38412         (abi-x32-ld-soname): Likewise.
38413         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38414         entry.
38415         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38417 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38419         [BZ #14138]
38420         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38421         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38422         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38423         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38424         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38425         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38426         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38427         syscall entry for GLIBC_2.2 symbol version.
38428         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38429         Likewise.
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38431         (setrlimit): Likewise.
38432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38433         Likewise.
38435 2014-09-23  Will Newton  <will.newton@linaro.org>
38437         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38438         _LINUX_ARM_SYSDEP_H include guard too.
38439         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38440         define.
38442 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38444         * sysdeps/unix/sysv/linux/eventfd.c:
38445         Make first argument unsigned.
38446         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38447         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38449 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38451         [BZ #16852]
38452         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38453         * socket/sys/socket.h: Likewise.
38454         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38456 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38458         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38460 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38462         * time/tst-ftime.c: New test.
38463         * time/Makefile (tests): Add tst-ftime.
38465 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38467         * soft-fp/extended.h: Fix comment formatting.
38468         * soft-fp/op-1.h: Likewise.
38469         * soft-fp/op-2.h: Likewise.
38470         * soft-fp/op-4.h: Likewise.
38471         * soft-fp/op-8.h: Likewise.
38472         * soft-fp/op-common.h: Likewise.
38473         * soft-fp/soft-fp.h: Likewise.
38475         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38477 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38479         [BZ #6652]
38480         * Makeconfig (soversions-default-setname): Remove variable.
38481         ($(common-objpfx)soversions.i): Don't pass default_setname to
38482         soversions.awk.
38483         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38484         oldest_abi to abi-versions.awk.
38485         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38486         * config.make.in (oldest-abi): Remove variable.
38487         * configure.ac (--enable-oldest-abi): Remove configure option.
38488         * configure: Regenerated.
38489         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38490         text.
38491         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38492         * scripts/soversions.awk: Do not handle default_setname variable.
38493         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38494         variable.
38495         * sysdeps/mach/hurd/configure: Regenerated.
38496         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38497         variable.
38498         * sysdeps/unix/sysv/linux/configure: Regenerated.
38500 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38502         * elf/Makefile (CFLAGS-interp.c): Remove.
38503         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38504         path string.
38505         * elf/interp.c: Include generated runtime-linker.h
38507         * Makerules (lib%.so): Don't include $(+interp) in
38508         prerequisites.
38509         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38510         * dlfcn/eval.c: Remove file.
38512         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38513         macros.
38515         [BZ #17266]
38516         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38517         4.2 and newer.
38519         [BZ #17370]
38520         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38522 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38523             Jakub Jelinek  <jakub@redhat.com>
38525         [BZ #17266]
38526         * libio/stdio.h: Check definition of __fortify_function
38527         instead of __extern_always_inline to include bits/stdio2.h.
38528         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38529         check if __extern_always_inline is defined.
38530         [__USE_MISC || __USE_XOPEN]: Likewise.
38531         [__USE_ISOC99] Likewise.
38532         * misc/sys/cdefs.h (__fortify_function): Define only if
38533         __extern_always_inline is defined.
38534         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38535         __extern_always_inline and __extern_inline only for g++-4.3
38536         and newer or a compatible gcc.
38538 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38540         [BZ #17371]
38541         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38542         last change to handle zero prefix length.
38544 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38546         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38547         _SC_REGEX_VERSION.
38549         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38550         _POSIX_RAW_SOCKETS.
38552 2014-09-13  Allan McRae  <allan@archlinux.org>
38554         * po/ru.po: Update Russian translation from translation project.
38556 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38558         * locale/programs/locale.c (show_locale_vars): Inline local function
38559         into its sole call site.  Clean up some style nits.
38560         (print_item): New function, broken out of ...
38561         (show_info): ... local function here.  Clean up style nits.
38563         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38564         out of ...
38565         (set_class_defaults): ... local function set_default here.
38566         Define set_default as a macro locally to pass constant parameters.
38567         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38568         rather than a shared local.
38570         * stdlib/rpmatch.c (try): New function, broken out of ...
38571         (rpmatch): ... local function here.  Also, prototypify definition.
38573 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38575         * scripts/soversions.awk: Do not handle configuration names.
38576         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38577         vendor and os variables to soversions.awk.
38578         * configure.ac: Do not modify gnu-* host_os.
38579         * configure: Regenerated
38580         * shlib-versions: Remove first column with configuration names.
38581         * nptl/shlib-versions: Likewise.
38582         * nptl_db/shlib-versions: Likewise.
38583         * sysdeps/hppa/shlib-versions: Likewise.
38584         * sysdeps/m68k/shlib-versions: Likewise.
38585         * sysdeps/mach/hurd/shlib-versions: Likewise.
38586         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38587         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38588         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38589         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38590         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38591         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38592         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38593         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38595         Likewise.
38596         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38597         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38598         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38599         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38601         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38602         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38603         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38606         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38608         Regenerated.
38609         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38611         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38613         * shlib-versions: Remove OS-specific entries.  Moved to files in
38614         sysdeps.
38615         * sysdeps/mach/hurd/shlib-versions: New file.
38616         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38618         * nptl/shlib-versions: Remove architecture-specific entries.
38619         Moved to files in sysdeps.
38620         * shlib-versions: Likewise.
38621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38622         file.
38623         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38624         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38625         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38626         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38628         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38629         (UDP_NO_CHECK6_RX): Likewise.
38631 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38633         * sysdeps/posix/sysconf.c (__sysconf): Spell
38634         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38636 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38638         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38639         loading.
38640         * iconv/Versions (__gconv_transliterate): Export for use from
38641         gconv modules.
38642         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38643         (struct __gconv_trans_data, __gconv_trans_fct,
38644         __gconv_trans_context_fct, __gconv_trans_query_fct,
38645         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38646         definitions.
38647         (struct __gconv_step_data): Remove __trans member.
38648         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38649         longer hidden.  Remove unused trans_data argument.
38650         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38651         (__gconv_translit_find): Remove declaration.
38652         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38653         prototype.
38654         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38655         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38656         trans_data argument.  Add hidden definition.
38657         (__gconv_translit_find): Remove.
38658         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38659         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38660         * iconv/skeleton.c: Remove transliteration initialization.
38661         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38662         __gconv_step_data initialization.
38663         * libio/iofwide.c (__libio_translit_): Remove.
38664         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38665         * wcsmbs/btowc.c (__btowc): Likewise.
38666         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38667         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38668         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38669         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38670         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38671         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38672         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38673         * wcsmbs/wctob.c (wctob): Likewise.
38675 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38677         [BZ #16194]
38678         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38679         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38680         register usage.
38681         * sysdeps/x86/Makefile: Adjust.
38683 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38684             Roland McGrath  <roland@hack.frob.com>
38686         * locale/weight.h: Add include guard.
38687         (findidx): Make static rather than auto; take new parameters
38688         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38689         * locale/weightwc.h: Likewise.
38690         * posix/fnmatch_loop.c
38691         (FCT): Change type of EXTRA from int32_t to wint_t.
38692         Don't include either header inside the function.
38693         Call FINDIDX rather than findidx, and pass new arguments.
38694         #undef FINDIDX at the end of the file.
38695         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38696         FINDIDX before including fnmatch_loop.c for the non-wide version.
38697         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38698         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38699         for the wide version.
38700         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38701         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38702         Pass new arguments to findidx.
38703         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38704         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38705         Don't #include it inside the function.  Pass new arguments to findidx.
38706         * posix/regex_internal.h
38707         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38708         (re_string_elem_size_at): Don't #include it inside the function.
38709         Pass new arguments to findidx.
38710         * string/strcoll_l.c: #include WEIGHT_H at top level.
38711         (get_next_seq): Don't #include it inside the function.
38712         Pass new arguments to findidx.
38713         (get_next_seq_nocache): Likewise.
38714         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38715         (STRXFRM): Don't #include it inside the function.
38716         Pass new arguments to findidx.
38718 2014-09-11  Florian Weimer  <fweimer@redhat.com>
38720         [BZ #17344]
38721         * malloc/malloc.c (unlink): Turn asserts into a call to
38722         malloc_printerr.
38724 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
38726         [BZ #17370]
38727         * libio/wfileops (do_ftell_wide): Free OUT.
38729 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
38731         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
38733 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38735         [BZ #17363]
38736         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
38737         group if the current group is empty.
38739 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38741         * benchtests/bench-memset.c (test_main): Add more test from size
38742         from 32 to 512 bytes.
38743         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38744         Add POWER8 memset object.
38745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38746         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
38747         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
38748         implementation.
38749         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
38750         Likewise.
38751         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
38752         multiarch POWER8 memset optimization.
38753         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
38754         POWER8 memset optimization.
38756         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
38757         Remove bzero multiarch objects.
38758         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
38759         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
38760         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
38761         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
38762         Remove define.
38763         [__bzero]: Redefine to specific name.
38764         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
38765         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
38766         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
38767         define.
38768         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38769         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
38771 2014-09-10  Florian Weimer  <fweimer@redhat.com>
38773         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
38774         warnings into errors.
38776         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
38777         __cxa_thread_atexit_impl prototype.
38779 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38781         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
38782         Fix capitalization of error message.
38784 2014-09-09  Steve Ellcey  <sellcey@mips.com>
38786         * sysdeps/mips/preconfigure: Modify ABI tests.
38788 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
38790         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
38792 2014-09-07  Roland McGrath  <roland@hack.frob.com>
38793             Carlos O'Donell  <carlos@systemhalted.org>
38795         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
38796         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
38797         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
38798         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
38799         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
38800         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
38801         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
38802         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
38803         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
38804         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
38805         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
38806         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
38807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
38808         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
38809         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
38810         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
38811         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
38812         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
38813         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
38814         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
38815         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
38816         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
38817         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
38818         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
38819         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
38820         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
38821         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
38822         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
38823         Deconditionalize the code that was previously under [RESET_PID].
38824         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
38825         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
38826         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
38827         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
38828         include sysdep.h.
38830 2014-09-08  Allan McRae  <allan@archlinux.org>
38832         * version.h (RELEASE): Set to "development".
38833         (VERSION): Set to "2.20.90"
38835 2014-09-07  Allan McRae  <allan@archlinux.org
38837         * version.h (RELEASE): Set to "stable".
38838         (VERSION): Set to "2.20"
38839         * include/features.h (__GLIBC_MINOR__): Set to 20.
38841         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
38842         Liebler.
38844         * po/ko.po: Update Korean translation from translation project.
38846 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
38848         [BZ #17354]
38849         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
38850         macro for handling signed relocations.
38852 2014-09-03  Florian Weimer  <fweimer@redhat.com>
38854         [BZ #17325]
38855         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
38856         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
38857         assert.
38858         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
38859         * iconvdata/ibm935.c (BODY): Likewise.
38860         * iconvdata/ibm937.c (BODY): Likewise.
38861         * iconvdata/ibm939.c (BODY): Likewise.
38862         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
38863         assert.
38864         * iconvdata/Makefile (iconv-test.out): Pass module list to test
38865         script.
38866         * iconvdata/run-iconv-test.sh: New test loop for checking for
38867         decoder crashers.
38869 2014-09-02  Khem Raj  <raj.khem@gmail.com>
38871         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38872         libm_hidden_ver.
38874 2014-09-01  Allan McRae  <allan@archlinux.org>
38876         * po/eo.po: Update Esperanto translation from translation project.
38878         * po/ca.po: Update Catalan translation from translation project.
38880 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38882         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
38883         __proc_dostop call.
38885 2014-08-27  Mark Wielaard  <mjw@redhat.com>
38887         [BZ #17319]
38888         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
38889         to call set_thread_area instead of hand written asm.
38890         (__NR_set_thread_area): Removed define.
38891         (TLS_FLAG_WRITABLE): Likewise.
38892         (__ASSUME_SET_THREAD_AREA): Remove check.
38893         (TLS_EBX_ARG): Remove define.
38894         (TLS_LOAD_EBX): Likewise.
38896 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38898         Simplify atomicity of socket creation in bind.
38900         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
38901         looking up the name after linking the file.
38903 2014-08-27  Allan McRae  <allan@archlinux.org>
38905         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38907 2014-08-26  Florian Weimer  <fweimer@redhat.com>
38909         [BZ #17187]
38910         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
38911         trans_compare, open_translit, __gconv_translit_find):
38912         Remove module loading code.
38914 2014-08-26  Allan McRae  <allan@archlinux.org>
38916         * po/vi.po: Update Vietnamese translation from translation project.
38918         * po/uk.po: Update Ukrainian translation from translation project.
38920         * po/fr.po: Update French translation from translation project.
38922         * po/ru.po: Update Russian translation from translation project.
38924         * po/pl.po: Update Polish translation from translation project.
38926         * po/cs.po: Update Czech translation from translation project.
38928         * po/de.po: Update German translation from translation project.
38930         * po/bg.po: Update Bulgarian translation from translation project.
38932         * po/sv.po: Update Sweedish translation from translation project.
38934         * po/nl.po: Update Dutch translation from translation project.
38936         * po/es.po: Update Spanish translation from translation project.
38938 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38940         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
38942         * catgets/Makefile (CPPFLAGS-gencat): Remove.
38943         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
38944         (CPPFLAGS-iconvconfig): Likewise.
38945         * timezone/Makefile (CPPFLAGS-zic): Likewise.
38947         * include/libc-symbols.h: Remove unnecessary check for
38948         NOT_IN_libc.
38949         * nptl/pthreadP.h: Likewise.
38950         * sysdeps/aarch64/setjmp.S: Likewise.
38951         * sysdeps/alpha/setjmp.S: Likewise.
38952         * sysdeps/arm/sysdep.h: Likewise.
38953         * sysdeps/i386/setjmp.S: Likewise.
38954         * sysdeps/m68k/setjmp.c: Likewise.
38955         * sysdeps/posix/getcwd.c: Likewise.
38956         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38957         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
38958         * sysdeps/s390/s390-32/setjmp.S: Likewise.
38959         * sysdeps/s390/s390-64/setjmp.S: Likewise.
38960         * sysdeps/sh/sh3/setjmp.S: Likewise.
38961         * sysdeps/sh/sh4/setjmp.S: Likewise.
38962         * sysdeps/unix/alpha/sysdep.h: Likewise.
38963         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38964         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38965         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
38966         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38969         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38970         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38971         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38972         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38973         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38974         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38975         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38976         * sysdeps/x86_64/setjmp.S: Likewise.
38978 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
38980         [BZ #17263]
38981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
38982         <stdint.h>.
38983         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
38984         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
38986 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38988         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
38990         [BZ #17262]
38991         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
38992         and __x86_64__ when disabling x87 inline functions.
38994 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38996         [BZ #17259]
38997         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
38998         asm statement with __cpuid_count.
39000 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39002         * configure.ac: Change __ehdr_start code to dereference the struct.
39003         Run readelf on the output to look for relocations.
39004         * configure: Regenerated.
39006 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39008         [BZ #17261]
39009         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39010         value to 0.
39011         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39013 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39015         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39017 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39019         [BZ #16892]
39020         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39021         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39023 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39025         * malloc/malloc.c: Fix typo in comment.
39027 2014-08-09  Allan McRae  <allan@archlinux.org>
39029         * Regenerate libc.po.
39031 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39033         * intl/tst-gettext2.sh: Check every lang file for creation.
39035 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39037         * sysdeps/aarch64/fpu/math_private.h
39038         (libc_feholdsetround_noex_aarch64_ctx): New function.
39040 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39042         * sysdeps/arm/armv6/strcpy.S (strcpy):
39043         Fix performance issue in misaligned cases.
39045 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39047         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39048         Move definition from termios.h.
39049         (struct termio): Likewise.
39050         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39051         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39052         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39053         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39054         Likewise.
39055         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39056         Move definition to ioctl-types.h
39057         (struct termio): Likewise.
39058         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39059         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39060         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39061         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39062         Likewise.
39064 2014-08-05  Richard Henderson  <rth@redhat.com>
39066         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39067         exceptions.
39068         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39069         Add fraiseexcpt.
39070         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39071         Use __feraiseexcept.
39072         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39073         Protect libm symbols with IS_IN_libm.
39075         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39077 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39079         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39081 2014-08-04  Will Newton  <will.newton@linaro.org>
39083         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39084         file.
39086 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39088         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39089         variants for each function.
39091 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39093         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39094         appended ...
39095         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39096         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39097         appended ...
39098         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39099         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39100         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39101         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39102         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39103         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39104         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39105         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39106         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39107         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39108         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39109         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39110         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39111         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39112         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39113         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39114         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39115         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39116         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39117         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39118         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39119         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39120         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39121         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39122         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39123         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39124         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39125         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39126         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39127         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39128         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39129         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39130         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39131         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39132         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39133         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39134         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39135         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39136         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39137         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39138         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39139         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39140         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39141         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39142         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39143         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39144         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39146         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39148         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39149         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39150         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39151         Update #include.
39152         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39153         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39155 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39157         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39158         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39159         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39160         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39161         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39162         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39164 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39166         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39167         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39168         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39169         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39171 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39173         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39174         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39175         (__libc_vfork): Define function under this name.
39176         (__vfork): Define as an alias.
39177         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39178         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39180 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39182         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39183         that was previously under [RESET_PID].
39184         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39186 2014-08-04  Andreas Schwab  <schwab@suse.de>
39188         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39190 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39192         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39193         (main): Likewise.
39195 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39197         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39199 2014-08-01  Richard Henderon  <rth@redhat.com>
39201         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39202         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39203         typo in exact zero test.
39204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39208 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39210         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39211         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39212         * sysdeps/arm/sysdep.h: ... here.
39213         [!__ASSEMBLER__]: Include <stdint.h>.
39215 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39217         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39218         (HAVE_WCTYPE_H): Likewise.
39219         (HAVE_ISWCTYPE): Likewise.
39220         (ENABLE_NLS): Likewise.
39221         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39222         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39224         * posix/regex_internal.c: Check if DEBUG is defined and is
39225         set.
39227         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39228         (HAVE_MBSRTOWCS): Likewise.
39229         * posix/fnmatch.c: Include string.h unconditionally.
39231 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39233         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39234         reversal.
39236 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39238         * sysdeps/generic/safe-fatal.h: New file.
39239         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39240         * nptl/forward.c: Include it.
39241         (__pthread_unwind): Use __safe_fatal as default action, rather
39242         than a bogus use of INTERNAL_SYSCALL that could never work.
39244         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39245         * configure.ac (libc_cv_builtin_trap): New test.
39246         * configure: Regenerated.
39247         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39248         (ABORT_INSTRUCTION): Define using __builtin_trap.
39250         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39251         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39252         * sysdeps/nptl/nptl-signals.h: New file.
39253         * nptl/pthreadP.h: Include <nptl-signals.h>.
39255 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39257         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39258         (ONE_DIRECTION): Define.
39259         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39260         (ONE_DIRECTION): Define.
39261         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39262         (ONE_DIRECTION): Define.
39264 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39266         * sysdeps/s390/Makefile: Delete file.
39267         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39268         * sysdeps/s390/__longjmp.c: Delete file.
39269         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39270         Remove fields __flags and __reserved.
39271         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39272         and add versioning.
39273         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39274         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39275         * sysdeps/s390/rtld-setjmp.S: Likewise.
39276         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39277         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39278         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39279         * sysdeps/s390/s390-32/setjmp.S: ... here.
39280         Add versioning.
39281         (__sigsetjmp): Remove setting __flags field.
39282         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39283         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39284         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39285         * sysdeps/s390/s390-64/setjmp.S: ... here.
39286         Add versioning.
39287         (__sigsetjmp): Remove setting __flags field.
39288         * sysdeps/s390/setjmp.S: Delete file.
39289         * sysdeps/s390/sigjmp.c: Likewise.
39290         * sysdeps/s390/v1-longjmp.c: Likewise.
39291         * sysdeps/s390/v1-setjmp.h: Likewise.
39292         * sysdeps/s390/v1-sigjmp.c: Likewise.
39293         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39294         Remove v1-longjmp_chk.
39295         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39296         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39297         Include debug/longjmp_chk.c and add versioning.
39298         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39299         Include nptl/pt-longjmp.c and add versioning.
39300         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39301         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39302         Include __longjmp.c.
39303         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39304         Move to ...
39305         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39306         (__getcontext): Remove setting __flags field.
39307         Add versioning.
39308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39309         Don't restore upper high grps.
39310         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39311         Likewise.
39312         (__swapcontext): Remove setting uc_flags field.
39313         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39314         Delete file.
39315         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39316         Include __longjmp.c.
39317         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39318         Move to ...
39319         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39320         (__getcontext): Remove setting __flags field.
39321         Add versioning.
39322         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39323         (__swapcontext): Remove setting uc_flags field.
39324         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39325         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39326         Remove fields uc_high_gprs and __reserved.
39327         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39328         New file with reverted content.
39329         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39330         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39331         Regenerated.
39332         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39333         Regenerated.
39335 2014-07-31  Andreas Schwab  <schwab@suse.de>
39337         * config.h.in (HAVE_IFUNC): Define to 0.
39338         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39339         definedness.
39341 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39344         memmove-avx-unaligned, memcpy-avx-unaligned and
39345         mempcpy-avx-unaligned.
39346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39347         Add tests for AVX memcpy functions.
39348         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39349         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39350         memcpy_chk.
39351         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39352         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39353         memmove_chk.
39354         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39355         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39356         mempcpy_chk.
39357         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39358         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39359         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39361 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39363         [BZ #17213]
39364         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39365         powerpc64le.
39367 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39369         [BZ #16839]
39370         * manual/llio.texi: Add section about open file description locks.
39371         * manual/examples/ofdlocks.c: Example of open file description
39372         lock usage.
39373         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39374         F_OFD_SETLK, and F_OFD_SETLKW.
39376 2014-07-23  Allan McRae  <allan@archlinux.org>
39378         * po/es.po: Update Spanish translation from translation project.
39380 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39382         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39384 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39386         [BZ #17078]
39387         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39388         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39389         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39391 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39393         [BZ #17088]
39394         * math/fesetenv.c (__fesetenv)
39395         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39396         * math/feupdateenv.c (__feupdateenv)
39397         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39399         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39400         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39401         (__ASSUME_SOCKETCALL): Do not define.
39403         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39404         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39405         (__ASSUME_SOCKETCALL): Do not define.
39406         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39407         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39408         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39409         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39410         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39411         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39413         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39415         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39416         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39417         (__ASSUME_SOCKETCALL): Do not define.
39418         (__ASSUME_IPC64): Define unconditionally.
39419         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39420         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39421         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39422         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39423         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39424         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39425         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39426         Likewise.
39428         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39429         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39430         (__ASSUME_SOCKETCALL): Do not define.
39431         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39432         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39433         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39434         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39435         (__ASSUME_REQUEUE_PI): Define unconditionally.
39436         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39437         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39438         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39439         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39441         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39443         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39444         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39445         (__ASSUME_SOCKETCALL): Do not define.
39446         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39447         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39448         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39449         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39450         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39451         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39453         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39454         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39455         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39456         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39458         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39459         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39460         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39461         (__ASSUME_GETCPU_SYSCALL): Likewise.
39463         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39464         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39465         cases for individual architectures.
39466         * sysdeps/gnu/configure: Regenerated.
39467         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39468         LIBC_SLIBDIR_RTLDDIR.
39469         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39470         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39471         LIBC_SLIBDIR_RTLDDIR.
39472         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39474         LIBC_SLIBDIR_RTLDDIR.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39476         Regenerated.
39477         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39478         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39479         file.
39480         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39481         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39482         file.
39483         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39484         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39485         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39486         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39488         * sysdeps/aarch64/shlib-versions: Move to ...
39489         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39490         * sysdeps/alpha/shlib-versions: Move to ...
39491         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39492         * sysdeps/arm/shlib-versions: Move to ...
39493         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39494         * sysdeps/hppa/shlib-versions: Move all contents except for
39495         libgcc_s entry to ...
39496         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39497         entry from ...
39498         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39499         * sysdeps/ia64/shlib-versions: Move to ...
39500         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39501         entry from ...
39502         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39503         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39504         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39505         * sysdeps/microblaze/shlib-versions: Move to ...
39506         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39507         * sysdeps/mips/shlib-versions: Move to ...
39508         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39509         entry from ...
39510         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39511         * sysdeps/tile/shlib-versions: Move to ...
39512         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39513         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39514         from ...
39515         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39516         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39517         entry from ...
39518         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39520 2014-07-17  Will Newton  <will.newton@linaro.org>
39522         * sysdeps/arm/bits/atomic.h
39523         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39524         (__arch_compare_and_exchange_bool_16_int): Likewise.
39525         (__arch_compare_and_exchange_bool_64_int): Likewise.
39527         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39528         into an #else block.
39530 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39532         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39533         just Linux configurations.  Test empirically that the compiler sets
39534         __ARM_EABI__, rather than using the tuple to decide.
39535         * sysdeps/arm/preconfigure: Regenerated.
39536         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39537         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39538         contents appended ...
39539         * sysdeps/arm/configure.ac: ... here.
39540         * sysdeps/arm/configure: Regenerated.
39542 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39544         * nptl/pthread_kill.c: New file.
39545         * nptl/pthread_sigmask.c: New file.
39546         * nptl/pthread_sigqueue.c: New file.
39548         * sysdeps/nptl/lowlevellock.h: New file.
39549         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39550         * sysdeps/nptl/lowlevellock-futex.h: New file.
39552         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39553         Remove dead declarations.
39555 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39557         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39558         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39559         config-cflags-avx2.
39560         * sysdeps/x86_64/configure.ac: Likewise.
39561         * sysdeps/i386/configure: Regenerated.
39562         * sysdeps/x86_64/configure: Likewise.
39563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39564         memset-avx2 only if config-cflags-avx2 is yes.
39565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39566         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39567         defined.
39568         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39569         only if HAVE_AVX2_SUPPORT is defined.
39570         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39572 2014-07-14  Alan Modra  <amodra@gmail.com>
39574         [BZ #17153]
39575         * elf/elf.h (DT_PPC64_NUM): Correct value.
39576         * NEWS: Add to fixed bug list.
39578 2014-07-13  Jim Meyering  <meyering@fb.com>
39580         [BZ 17150]
39581         regex: don't deref NULL upon heap allocation failure
39582         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39583         failure in one more place.
39584         To trigger the segfault, configure grep -with-included-regex,
39585         build it, and run these commands:
39586         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39588 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39590         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39592 2014-07-11  Richard Henderson  <rth@redhat.com>
39594         * sysdeps/aarch64/libm-test-ulps: Update.
39596 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39598         [BZ #17135]
39599         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39600         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39601         (__nptl_setxid): Initialize error member.  Call
39602         __nptl_setxid_error.
39603         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39604         * nptl/descr.h (struct xid_command): Add error member.
39605         * nptl/tst-setuid3.c: New file.
39606         * nptl/Makefile (tests): Add it.
39608 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39610         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39611         New define.
39612         (__lll_trylock): Use __lll_base_trylock.
39613         (__lll_cond_trylock): Likewise.
39615 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39617         * nptl/pthread_create.c (start_thread): Use atomic_or and
39618         lll_futex_wake directly rather than lll_robust_dead.
39619         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39620         (lll_robust_dead): Macro removed.
39621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39622         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39624         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39625         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39626         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39627         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39629         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39630         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39631         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39632         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39633         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39634         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39637         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39638         Use atomic_compare_and_exchange_val_acq directly rather than
39639         lll_robust_trylock.
39640         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39641         (__lll_robust_trylock, lll_robust_trylock): Removed.
39642         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39643         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39644         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39645         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39646         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39647         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39648         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39649         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39650         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39651         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39652         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39653         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39654         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39655         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39657 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39659         * manual/locale.texi (Locale Names): New section documenting
39660         locale name syntax.  Adjust menu and node chaining accordingly.
39661         (Choosing Locale): Reference Locale Names, Locale Categories.
39662         Mention setting LC_ALL=C.  Reflect that name syntax is now
39663         documented.
39664         (Locale Categories): New section title.  Reference Locale Names.
39665         LC_ALL is an environment variable, but not a category.
39666         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39667         description, now in Locale Name.  Reference that section.  Locale
39668         name syntax is now documented.
39670 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39672         [BZ #17137]
39673         * locale/findlocale.c (name_present, valid_locale_name): New
39674         functions.
39675         (_nl_find_locale): Use the loc_name variable to store name
39676         candidates.  Call name_present and valid_locale_name to check and
39677         validate locale names.  Return an error if the locale is invalid.
39679 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39681         * locale/setlocale.c (setlocale): Use strdup for allocating
39682         composite name copy.
39684 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39686         Sync up with gnulib.
39687         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39688         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39689         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39690         and _GL_ARG_NONNULL.
39691         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39692         [!_LIBC]: Include code for Windows and Cygwin.
39693         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39694         Include prototype for int strerror_r.
39695         [!_LIBC] (is_open): New function.
39696         (flush_stdout): New function.
39697         (print_errno_message): Use it.
39698         (error): Likewise.
39699         (error_at_line): Likewise.
39700         (error_tail) Add function attribute macros.  Use
39701         __builtin_expect.
39703         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39705         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39707         * io/ftw.c: Include sys/param.h unconditionally.
39709         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39711         [BZ #17125]
39712         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39713         libc_freeres_ptr.
39714         (freecache): New function to free CACHE on exit.
39716         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39717         initialization.
39719 2014-07-09  David S. Miller  <davem@davemloft.net>
39721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39723         * sysdeps/sparc/nptl/internaltypes.h: Delete.
39724         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
39725         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
39726         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
39727         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
39728         * sysdeps/sparc/nptl/sem_init.c: Likewise.
39729         * sysdeps/sparc/nptl/sem_post.c: Likewise.
39730         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
39731         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
39732         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
39733         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
39734         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
39735         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
39737 2014-07-09  Andreas Schwab  <schwab@suse.de>
39739         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
39740         output.
39741         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
39742         (do_test): Likewise.
39744         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39746 2014-07-09  Will Newton  <will.newton@linaro.org>
39748         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
39749         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
39750         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
39751         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
39752         * sysdeps/hppa/start.S (_start): Likewise.
39754 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
39756         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
39758         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
39759         defined.
39761 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39763         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
39764         after checking that it is non-NULL.
39766         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
39768 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39770         * sysdeps/powerpc/memmove.c: Remove file.
39771         * sysdeps/powerpc/powerpc32/power4/memcopy.h
39772         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
39773         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39774         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
39775         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
39776         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
39777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
39778         string memmove instead of removed powerpc one.
39780         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39781         [weak_alias]: Fix compiler warning due trailing data.
39782         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
39783         [weak_alias]: Likewise.
39784         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
39785         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
39787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39788         (__libc_ifunc_impl_list): Add memmove functions.
39790 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39792         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
39793         Remove code.
39794         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
39795         Likewise.
39796         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
39797         Likewise.
39798         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
39799         Likewise.
39800         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
39801         Likewise.
39802         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
39803         Likewise.
39804         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
39805         Likewise.
39806         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
39807         Likewise.
39808         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
39809         Likewise.
39810         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
39811         Likewise.
39812         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
39813         Likewise.
39814         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
39815         Likewise.
39816         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
39817         Likewise.
39818         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
39819         Likewise.
39820         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
39821         Likewise.
39822         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
39823         Likewise.
39824         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
39825         Likewise.
39827 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39829         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
39830         to avoid alignment traps in non-cacheable memory.
39831         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
39834         multiarch objects.
39835         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
39836         file: multiarch power7 memmove.
39837         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
39838         multiarch default memmove.
39839         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
39840         multiarch memove for powerpc32/power4.
39842         * string/bcopy.c: Use full path to include memmove.c.
39843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
39844         multiarch objects.
39845         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
39846         bcopy for powerpc64.
39847         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
39848         bcopy for powerpc64.
39849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
39850         and memmove implementations.
39851         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
39852         optimized multiarch memmove for POWER7/powerpc64.
39853         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
39854         default multiarch memmove for powerpc64.
39855         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
39856         multiarch for powerpc64.
39857         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
39858         for POWER7/powerpc64.
39859         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
39860         memmove for POWER7/powerpc64.
39862         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
39863         glibc default one.
39865         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
39866         __ELF_NATIVE_CLASS equal to 64.
39868 2014-07-07  Roland McGrath  <roland@hack.frob.com>
39870         * sysdeps/nptl/lowlevellock.h: File removed.
39872         * NEWS: NPTL is no longer an add-on!
39873         * nptl/internaltypes.h: Moved ...
39874         * sysdeps/nptl/internaltypes.h: ... here.
39875         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
39876         * sysdeps/nptl/fork.c: Likewise.
39877         * sysdeps/nptl/gai_misc.h: Likewise.
39878         * sysdeps/nptl/librt-cancellation.c: Likewise.
39879         * sysdeps/nptl/jmp-unwind.c: Likewise.
39880         * sysdeps/nptl/setxid.h: Likewise.
39881         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
39882         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
39883         * sysdeps/unix/sysv/linux/arm/Implies: New file.
39884         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
39885         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
39886         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
39887         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
39888         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
39889         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
39890         * sysdeps/unix/sysv/linux/mips/Implies: New file.
39891         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
39892         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
39893         * sysdeps/unix/sysv/linux/sh/Implies: New file.
39894         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
39895         * sysdeps/unix/sysv/linux/tile/Implies: New file.
39896         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
39897         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
39898         * nptl/Makeconfig: Moved ...
39899         * sysdeps/nptl/Makeconfig: ... here.
39900         * nptl/configure: File removed.
39901         * nptl/ANNOUNCE: File removed.
39902         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
39903         * sysdeps/unix/sysv/linux/configure: Regenerated.
39905         * nptl/Makefile (routines): Add libc_pthread_init,
39906         libc_multiple_threads, register-atfork and unregister-atfork.
39907         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
39908         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
39909         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
39910         pthread-pi-defines.sym, structsem.sym.
39911         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
39912         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
39913         [$(subdir) = nptl] (tests): Add tst-setgetname.
39914         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
39915         * sysdeps/unix/sysv/linux/sigaction.c: Just include
39916         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
39917         [!LIBC_SIGACTION]: Remove aliases.
39918         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
39919         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
39920         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
39921         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
39922         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
39923         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
39924         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39925         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39926         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
39927         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
39928         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
39929         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
39930         __libc_allocate_rtsig_private.
39931         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
39932         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
39933         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
39934         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
39935         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
39936         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
39937         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
39938         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
39939         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
39940         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
39941         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
39942         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
39943         * nptl/internaltypes.h: ... here.
39944         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
39945         * sysdeps/nptl/jmp-unwind.c: ... here.
39946         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
39947         * nptl/libc-lowlevellock.c: ... here.
39948         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
39949         * nptl/libc_multiple_threads.c: ... here.
39950         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
39951         * nptl/libc_pthread_init.c: ... here.
39952         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
39953         * nptl/lowlevelbarrier.sym: ... here.
39954         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
39955         * nptl/lowlevelcond.sym: ... here.
39956         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
39957         * nptl/lowlevellock.c: ... here.
39958         * nptl/lowlevellock.h: Moved ...
39959         * sysdeps/nptl/lowlevellock.h: ... here.
39960         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
39961         * nptl/lowlevelrobustlock.c: ... here.
39962         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
39963         * nptl/lowlevelrobustlock.sym: ... here.
39964         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
39965         * nptl/lowlevelrwlock.sym: ... here.
39966         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
39967         * nptl/pt-fork.c: ... here.
39968         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
39969         * nptl/pthread-pi-defines.sym: ... here.
39970         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
39971         * nptl/pthread_attr_getaffinity.c: ... here.
39972         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
39973         * nptl/pthread_attr_setaffinity.c: ... here.
39974         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
39975         * nptl/pthread_mutex_cond_lock.c: ... here.
39976         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39977         Update #include.
39978         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
39979         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
39980         * nptl/pthread_once.c: ... here, replacing old file.
39981         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
39982         * nptl/pthread_yield.c: ... here.
39983         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
39984         * nptl/register-atfork.c: ... here.
39985         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
39986         * nptl/sem_post.c: ... here.
39987         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
39988         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
39989         * nptl/sem_timedwait.c: ... here.
39990         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
39991         * nptl/sem_trywait.c: ... here.
39992         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
39993         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
39994         * nptl/sem_wait.c: ... here.
39995         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
39996         * nptl/structsem.sym: ... here.
39997         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
39998         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
39999         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40000         * nptl/unregister-atfork.c: ... here.
40001         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40002         * nptl/unwindbuf.sym: ... here.
40003         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40004         * sysdeps/nptl/fork.c: ... here.
40005         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40006         * sysdeps/nptl/fork.h: ... here.
40007         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40008         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40009         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40010         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40011         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40012         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40013         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40014         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40015         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40016         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40017         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40018         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40019         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40020         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40021         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40022         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40023         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40024         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40025         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40026         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40027         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40028         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40029         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40030         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40031         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40032         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40033         * sysdeps/unix/sysv/linux/raise.c: ... here.
40034         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40035         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40036         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40037         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40038         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40039         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40040         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40041         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40042         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40043         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40044         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40045         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40046         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40047         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40048         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40050 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40052         * sysdeps/generic/memcopy.h: Add comment for
40053         MEMCPY_OK_FOR_FWD_MEMMOVE.
40055 2014-07-04  Will Newton  <will.newton@linaro.org>
40057         * string/memchr.c: Merge from gnulib.
40058         [_LIBC]: Remove conditionals.
40059         (__ptr_t): Remove define.
40060         (LONG_MAX_32_BITS): Likewise.
40061         (LONG_MAX): Likewise.
40062         (MEMCHR): Use ANSI prototype and optimize algorithm.
40064         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40066 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40069         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40071         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40072         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40073         in a bare environment with no <stdlib.h> installed.
40074         * sysdeps/nptl/configure: Regenerated.
40076         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40078         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40079         AC_EGREP_CPP for kernel header checks, so they only succeed if
40080         including <linux/version.h> actually works right.
40081         * sysdeps/unix/sysv/linux/configure: Regenerated.
40083         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40084         value so it's not diagnosed as unused.
40086         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40087         thing) with "ifeq ($(subdir),rt)".
40089 2014-07-03  Richard Henderson  <rth@redhat.com>
40091         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40092         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40093         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40095         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40096         (math_force_eval): New.
40098         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40099         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40101         * sysdeps/alpha/fpu/s_round.c: Remove file.
40102         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40104         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40105         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40106         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40107         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40108         (_dl_start, print_statistics): Likewise.
40109         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40110         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40112         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40113         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40114         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40115         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40116         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40117         (HP_SMALL_TIMING_AVAIL): Define.
40118         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40119         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40120         (HP_SMALL_TIMING_AVAIL): Define.
40121         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40122         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40124         * sysdeps/aarch64/hp-timing.h: New file.
40126         * sysdeps/generic/hp-timing.h: Remove dead comment.
40127         * sysdeps/generic/hp-timing-common.h: New file.
40128         * sysdeps/alpha/hp-timing.h: Include it.
40129         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40130         * sysdeps/i386/i686/hp-timing.h: Likewise.
40131         * sysdeps/ia64/hp-timing.h: Likewise.
40132         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40133         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40134         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40135         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40136         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40137         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40138         (hp_timing_t): New.
40140         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40141         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40142         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40143         * elf/rtld.c (_dl_start_final): Likewise.
40144         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40145         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40146         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40147         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40148         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40149         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40150         (HP_TIMING_DIFF_INIT): Remove.
40151         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40152         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40153         (HP_TIMING_DIFF_INIT): Remove.
40154         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40155         * sysdeps/i386/i686/hp-timing.c: Remove file.
40156         * sysdeps/x86_64/hp-timing.c: Remove file.
40157         * sysdeps/ia64/hp-timing.c: Remove file.
40158         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40159         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40161         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40163         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40164         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40165         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40166         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40168         (HP_TIMING_ACCUM): Remove.
40169         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40170         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40171         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40173         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40174         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40175         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40176         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40177         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40178         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40179         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40180         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40182         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40184 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40186         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40188 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40190         Sync up with gettext.
40191         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40192         [_MSC_VER]: Include malloc.h
40193         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40194         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40195         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40196         TEMP_FAILURE_RETRY.  Cast return of alloca.
40197         [!_LIBC] Call gl_rwlock_init.
40198         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40200 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40202         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40203         before checking its value.
40205 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40207         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40209         * debug/memcpy_chk.c: Don't include pagecopy.h.
40210         * debug/mempcpy_chk.c: Likewise.
40211         * string/memcpy.c: Likewise.
40212         * string/memmove.c: Likewise.
40213         * sysdeps/powerpc/memmove.c: Likewise.
40214         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40215         definition of PAGE_COPY_FWD_MAYBE here...
40216         * sysdeps/generic/pagecopy.h: ... from here.
40217         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40219 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40220             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40222         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40224         optimizations.
40225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40226         (__libc_ifunc_impl_list): Likewise.
40227         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40228         multiarch strcat for PPC64.
40229         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40230         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40232 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40234         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40236 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40238         * intl/loadmsgcat.c: Remove declaration of
40239         get_sysdep_segment_value.
40240         (get_sysdep_segment_value): Use ISO C style.
40241         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40242         semicolon.  Fix typo and formatting in comment.
40243         (_nl_unload_domain): Use ISO C style.
40245         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40247 2014-07-02  Will Newton  <will.newton@linaro.org>
40249         * malloc/obstack.c: Merge from gnulib master.
40250         [HAVE_CONFIG_H]: Remove conditional code.
40251         [!_LIBC]: Include config.h.
40252         [!ELIDE_CODE]: Don't include inttypes.h, include
40253         stdint.h unconditionally.
40254         (print_and_abort): Mark as _Noreturn.
40255         (_obstack_allocated_p): Mark as __attribute_pure__.
40256         (obstack_free): Rename to __obstack_free.
40257         [!__attribute__]: Remove conditional code.
40258         * malloc/obstack.h: Merge from gnulib master.
40259         [__cplusplus]: Move conditional down.
40260         [!__attribute_pure__]: Define __attribute_pure__ here
40261         if it is not already defined.
40262         (_obstack_memory_used): Mark as __attribute_pure__.
40263         [!__obstack_free]: Define as obstack_free.
40264         [__GNUC__]: Remove check for ancient NeXT gcc.
40266 2014-07-02  Will Newton  <will.newton@linaro.org>
40267             Paul Eggert  <eggert@cs.ucla.edu>
40269         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40271 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40273         * resolv/gethnamaddr.c: Add comment warning that the file is
40274         not maintained.
40276 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40278         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40279         entries.
40281         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40282         entry for aio_cancel and aio_cancel64.
40283         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40284         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40285         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40286         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40287         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40288         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40289         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40290         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40291         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40292         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40293         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40294         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40295         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40297 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40299         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40300         * nptl/pthread_mutex_lock.c: Likewise.
40301         * nptl/pthread_mutex_timedlock.c: Likewise.
40302         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40304 2014-07-01  Richard henderson  <rth@redhat.com>
40306         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40307         (__isnan, __isnanl): Remove.
40308         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40310         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40312 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40314         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40316 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40318         * resolv/nss_dns/dns-host.c (getanswer_r)
40319         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40321 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40324         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40325         undefine.
40326         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40327         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40329 2014-07-01  Roland McGrath <roland@hack.frob.com>
40331         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40332         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40334         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40335         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40337         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40338         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40339         ... here.
40340         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40341         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40343         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40344         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40345         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40346         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40348         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40349         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40350         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40351         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40352         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40353         Moved ...
40354         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40355         ... here.
40356         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40357         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40358         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40359         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40360         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40361         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40362         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40363         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40364         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40365         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40366         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40367         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40368         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40369         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40370         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40371         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40372         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40373         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40375         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40376         ... here.
40377         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40378         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40379         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40380         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40381         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40382         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40383         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40384         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40386 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40388         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40389         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40390         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40391         Add sysdep.
40393 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40397 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40399         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40400         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40402         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40404         * sysdeps/arm/libm-test-ulps: Regenerated.
40406 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40407             Roland McGrath <roland@hack.frob.com>
40409         * test-skeleton.c (signal_handler): Kill the whole process group
40410         before killing the child individually.
40411         (main): Report any failure on `setpgid'.
40413 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40415         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40416         from _TLS_H to _ARM_NPTL_TLS_H.
40417         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40418         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40420 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40422         [BZ #16539]
40423         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40424         (__expm1l): Return argument unchanged when small but not
40425         subnormal.
40427         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40428         include macro name.
40429         (_FP_UNPACK_RAW_1_P): Likewise.
40430         (_FP_PACK_RAW_1): Likewise.
40431         (_FP_PACK_RAW_1_P): Likewise.
40432         (_FP_MUL_MEAT_1_wide): Likewise.
40433         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40434         (_FP_MUL_MEAT_1_hard): Likewise.
40435         (_FP_DIV_MEAT_1_imm): Likewise.
40436         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40437         (_FP_DIV_MEAT_1_udiv): Likewise.
40438         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40439         (_FP_UNPACK_RAW_2): Likewise.
40440         (_FP_UNPACK_RAW_2_P): Likewise.
40441         (_FP_PACK_RAW_2): Likewise.
40442         (_FP_PACK_RAW_2_P): Likewise.
40443         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40444         (_FP_MUL_MEAT_2_wide): Likewise.
40445         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40446         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40447         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40448         (_FP_MUL_MEAT_2_gmp): Likewise.
40449         (_FP_DIV_MEAT_2_udiv): Likewise.
40450         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40451         (_FP_FRAC_SRL_4): Likewise.
40452         (_FP_FRAC_SRST_4): Likewise.
40453         (_FP_FRAC_SRS_4): Likewise.
40454         (_FP_UNPACK_RAW_4): Likewise.
40455         (_FP_UNPACK_RAW_4_P): Likewise.
40456         (_FP_PACK_RAW_4): Likewise.
40457         (_FP_PACK_RAW_4_P): Likewise.
40458         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40459         (_FP_MUL_MEAT_4_wide): Likewise.
40460         (_FP_MUL_MEAT_4_gmp): Likewise.
40461         (umul_ppppmnnn): Likewise.
40462         (_FP_DIV_MEAT_4_udiv): Likewise.
40463         (__FP_FRAC_ADD_4): Likewise.
40464         (__FP_FRAC_SUB_3): Likewise.
40465         (__FP_FRAC_SUB_4): Likewise.
40466         (__FP_FRAC_DEC_3): Likewise.
40467         (__FP_FRAC_DEC_4): Likewise.
40468         (__FP_FRAC_ADDI_4): Likewise.
40469         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40470         (_FP_FRAC_SRL_8): Likewise.
40471         (_FP_FRAC_SRS_8): Likewise.
40473         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40474         include macro name.
40475         (FP_UNPACK_RAW_EP): Likewise.
40476         (FP_PACK_RAW_E): Likewise.
40477         (FP_PACK_RAW_EP): Likewise.
40478         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40479         (_FP_ISSIGNAN): Likewise.
40480         (_FP_ADD_INTERNAL): Likewise.
40481         (_FP_FMA): Likewise.
40482         (_FP_CMP): Likewise.
40483         (_FP_SQRT): Likewise.
40484         (_FP_TO_INT): Likewise.
40485         (_FP_FROM_INT): Likewise.
40486         (FP_EXTEND): Likewise.
40487         (_FP_DIV_MEAT_N_loop): Likewise.
40489 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40491         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40492         throughout.
40494 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40496         [BZ #17097]
40497         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40498         result with correct sign in case of exponents that produce
40499         overflow except for X very close to 1.
40501 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40503         mktime: merge #if/#ifdef usage from glibc
40504         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40505         as that works with both Glibc's and Gnulib's style.
40506         See thread starting at Siddhesh Poyarekar's bug report at:
40507         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40509 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40511         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40512         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40513         * sysdeps/tile/tilegx/memmove.c: Remove file.
40515 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40517         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40518         abi-name definition.
40519         * scripts/soversions.awk: Do not handle or generate ABI lines.
40520         * shlib-versions: Remove ABI entries.
40521         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40522         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40524 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40527         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40528         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40529         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40531         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40533         Moved ...
40534         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40535         ... here.
40536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40537         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40539         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40541         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40543         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40547         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40549         Moved ...
40550         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40552         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40554         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40556         Moved ...
40557         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40559         Moved ...
40560         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40562         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40564         Moved ...
40565         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40567         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40569         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40571         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40572         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40573         Moved ...
40574         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40576         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40577         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40578         Moved ...
40579         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40581         Moved ...
40582         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40584         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40586         Moved ...
40587         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40588         ... here.
40589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40590         Identical file removed.
40591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40592         Moved ...
40593         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40595         Identical file removed.
40596         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40597         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40598         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40599         Moved ...
40600         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40602         Identical file removed.
40603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40604         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40606         Identical file removed.
40607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40608         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40610         Identical file removed.
40611         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40612         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40614         Identical file removed.
40615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40616         Moved ...
40617         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40619         Identical file removed.
40620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40621         Moved ...
40622         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40624         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40625         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40626         Identical file removed.
40627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40628         Moved ...
40629         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40630         ... here.
40631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40632         Identical file removed.
40633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40634         Moved ...
40635         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40636         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40637         Identical file removed.
40638         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40639         Moved ...
40640         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40641         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40642         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40643         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40644         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40646         Moved ...
40647         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40648         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40649         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40651         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40652         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40653         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40654         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40655         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40657 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40659         [BZ #17092]
40660         * nscd/nscd.c (monitor_child): Return exit status of child
40661         instead of return value from wait syscall.
40663 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40665         * configure.ac (libc_commonpagesize): Remove variable.
40666         (libc_relro_required): Likewise.
40667         (libc_cv_z_relro): Remove configure test.
40668         * configure: Regenerated.
40669         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40670         variable.
40671         (libc_relro_required): Likewise.
40672         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40673         (libc_relro_required): Likewise.
40674         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40675         (libc_relro_required): Likewise.
40676         * sysdeps/arm/preconfigure: Regenerated.
40677         * sysdeps/ia64/preconfigure: Remove file.
40678         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40679         variable.
40680         (libc_relro_required): Likewise.
40682         [BZ #16561]
40683         [BZ #16562]
40684         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40685         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40686         recompute overflowing results in original rounding mode.
40687         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40688         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40689         recompute overflowing results in original rounding mode.
40690         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40691         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40692         recompute overflowing results in original rounding mode.
40693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40694         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40695         recompute overflowing results in original rounding mode.
40696         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40697         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40698         recompute overflowing results in original rounding mode.
40699         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40700         (libc_feholdsetround_ctx): New macro.
40701         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40702         * sysdeps/i386/fpu/libm-test-ulps: Update.
40703         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40705 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40707         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40708         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40709         corresponding .cpsetup call.
40711 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40713         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40714         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40715         * sysdeps/arm/Makefile [$(subdir) = csu]
40716         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40717         (static-only-routines): Add aeabi_read_tp here.
40718         (shared-only-routines): Add libc-aeabi_read_tp here.
40719         (CFLAGS-libc-start.c): Add -fexceptions here.
40720         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
40721         (sysdep_routines, static-only-routines, shared-only-routines):
40722         Don't add to these here.
40723         (CFLAGS-libc-start.c): Likewise.
40725         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
40726         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
40727         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
40728         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
40729         * sysdeps/arm/Makefile [$(subdir) = rt]
40730         (librt-sysdep_routines, librt-shared-only-routines):
40731         Append rt-aeabi_unwind_cpp_pr1 here.
40732         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
40733         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
40734         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
40735         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40736         Append nptl-aeabi_unwind_cpp_pr1 here.
40737         (tests): Filter out tst-cleanupx4 here.
40738         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
40739         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
40740         Don't do those here.
40742 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40744         * scripts/list-sources.sh: Do not handle ports specially.
40746 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40748         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
40749         * sysdeps/arm/feupdateenv.c: Likewise.
40751         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
40753 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40755         * manual/texinfo.tex: Update to version 2014-05-05.10 with
40756         trailing whitespace removed.
40757         * scripts/config.guess: Update to version 2014-03-23.
40758         * scripts/config.sub: Update to version 2014-05-01
40759         * scripts/install-sh: Update to version 2013-12-25.23.
40760         * scripts/move-if-change: Update from gnulib.
40762 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40764         * debug/memmove_chk.c: Remove pagecopy.h include.
40766 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
40768         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
40769         identical to gnulib mktime.
40771 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40773         * configure.ac: Do not test for machine being rs6000.  Do not test
40774         for powerpc*-*soft.
40775         * configure: Regenerated.
40777         [BZ #11505]
40778         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
40779         test.
40780         * configure: Regenerated.
40781         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
40782         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
40783         Remove configure test.
40784         * sysdeps/arm/configure: Regenerated.
40785         * sysdeps/nptl/configure.ac: Do not check
40786         libc_cv_asm_cfi_directives.
40787         * sysdeps/nptl/configure: Regenerated.
40788         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40789         * sysdeps/x86_64/nptl/configure: Remove generated file.
40790         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
40791         unconditional.
40792         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
40794 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40796         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
40797         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
40798         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
40799         it is defined.
40801         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40802         instead of whether it is defined.
40803         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
40804         * sysdeps/hppa/dl-machine.h: Likewise.
40805         * sysdeps/ia64/dl-machine.h: Likewise.
40806         * sysdeps/m68k/dl-machine.h: Likewise.
40807         * sysdeps/microblaze/dl-machine.h: Likewise.
40808         * sysdeps/mips/dl-machine.: Likewise.
40809         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40810         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40811         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40812         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40813         * sysdeps/sh/dl-machine.h: Likewise.
40814         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40815         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40816         * sysdeps/tile/dl-machine.h: Likewise.
40817         * sysdeps/x86_64/dl-machine.h: Likewise.
40819         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
40820         code.
40821         (verify_persistent_db): Likewise.
40823 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
40826         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
40827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
40828         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
40832         ... here.
40833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
40834         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
40835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
40836         Identical file removed.
40837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
40838         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
40839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
40840         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
40841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
40842         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
40843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
40844         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
40845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
40846         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40848         Moved ...
40849         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
40850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
40851         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
40852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
40853         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
40854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40855         Moved ...
40856         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
40857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
40858         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
40859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
40860         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
40861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40862         Identical file removed.
40863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
40864         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
40865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
40866         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
40867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40868         Moved ...
40869         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
40870         ... here.
40871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
40872         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
40873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
40874         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
40875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
40876         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
40877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
40878         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
40880         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
40881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40882         Moved ...
40883         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
40884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
40885         Moved ...
40886         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
40887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
40888         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
40889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40890         Moved ...
40891         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
40892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
40893         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
40895         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
40896         folded into ...
40897         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
40898         * sysdeps/unix/sysv/linux/s390/Versions
40899         (libpthread: GLIBC_2.19): New version set.
40900         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
40901         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
40902         (librt: GLIBC_2.3.3): New version set.
40903         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
40904         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
40905         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
40906         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
40907         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
40908         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
40909         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
40910         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
40911         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
40912         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
40913         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
40914         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
40915         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
40916         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
40917         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
40918         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
40919         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
40920         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
40921         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
40922         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
40923         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
40924         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
40925         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
40927         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
40928         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
40929         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
40930         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
40931         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
40932         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
40933         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
40934         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
40935         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
40937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
40939         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
40940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
40941         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
40942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
40943         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
40944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
40945         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
40946         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
40947         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
40950         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
40951         (__libc_vfork): Define the function under this name.
40952         [!NOT_IN_libc] (__vfork): Make this an alias.
40953         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
40955         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
40956         (__libc_vfork): Define the function under this name.
40957         [!NOT_IN_libc] (__vfork): Make this an alias.
40958         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
40959         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
40960         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
40961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
40962         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
40963         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40965         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
40966         code that was previously under [RESET_PID].
40967         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
40968         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
40969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
40971         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
40972         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
40973         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
40974         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
40975         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
40976         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
40977         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
40978         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
40979         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
40980         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
40981         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
40982         Moved ...
40983         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
40984         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
40985         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
40986         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
40987         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
40988         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
40989         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
40990         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
40991         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
40992         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
40993         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
40994         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
40995         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
40996         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
40997         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
40998         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
40999         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41000         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41001         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41002         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41003         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41004         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41005         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41006         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41007         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41008         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41009         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41010         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41011         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41013 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41015         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41016         that was previously under [RESET_PID].
41017         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41019 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41021         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41022         not undefine and redefine.
41023         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41024         [O_CLOEXEC]: Make code unconditional.
41025         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41026         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41027         <kernel-features.h>.
41028         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41029         conditional variable definition.
41030         (shm_open) [O_CLOEXEC]: Make code unconditional.
41031         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41032         code.
41034         * configure.ac (USE_REGPARMS): Don't define here.
41035         * configure: Regenerated.
41036         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41037         * sysdeps/i386/configure: Regenerated.
41039         * nptl/createthread.c: Don't include kernel-features.h.
41040         * nptl/pthread_cancel.c: Likewise.
41041         * nptl/pthread_condattr_setclock.c: Likewise.
41042         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41043         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41044         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41045         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41046         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41047         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41048         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41051         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41052         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41053         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41054         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41055         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41056         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41057         * nscd/gai.c: Likewise.
41058         * nss/nss_db/db-open.c: Likewise.
41059         * sysdeps/generic/ldsodefs.h: Likewise.
41060         * sysdeps/sh/nptl/tls.h: Likewise.
41061         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41062         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41063         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41064         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41065         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41066         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41067         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41068         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41069         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41070         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41071         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41072         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41073         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41074         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41075         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41076         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41077         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41078         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41079         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41080         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41082         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41083         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41084         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41085         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41088         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41089         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41090         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41091         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41092         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41093         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41094         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41095         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41096         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41097         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41098         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41099         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41100         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41101         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41102         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41103         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41104         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41105         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41106         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41107         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41108         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41109         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41110         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41111         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41112         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41113         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41114         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41115         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41116         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41117         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41118         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41141         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41142         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41143         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41144         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41145         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41146         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41147         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41148         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41149         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41150         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41151         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41152         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41153         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41154         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41155         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41156         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41157         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41158         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41159         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41160         * sysdeps/unix/sysv/linux/system.c: Likewise.
41161         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41162         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41163         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41164         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41165         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41166         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41167         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41169         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41170         * configure: Regenerated.
41171         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41173         * configure.ac (base_machine): Do not set specially for particular
41174         machines here.
41175         * configure: Regenerated.
41176         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41177         settings from configure.ac.
41178         * sysdeps/i386/preconfigure: New file.
41179         * sysdeps/s390/preconfigure: Likewise.
41180         * sysdeps/sh/preconfigure: Likewise.
41181         * sysdeps/sparc/preconfigure: Likewise.
41183 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41185         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41186         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41187         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41188         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41189         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41190         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41191         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41192         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41193         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41194         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41195         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41196         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41197         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41198         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41199         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41200         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41201         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41202         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41203         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41205         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41206         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41207         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41208         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41209         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41210         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41211         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41212         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41213         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41214         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41215         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41216         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41217         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41218         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41219         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41220         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41221         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41222         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41223         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41224         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41225         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41226         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41227         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41228         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41229         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41230         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41231         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41232         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41233         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41234         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41235         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41236         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41237         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41238         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41239         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41240         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41241         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41242         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41245         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41247         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41249         Moved ...
41250         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41251         ... here.
41252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41253         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41255         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41257         Moved ...
41258         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41260         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41262         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41264         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41266         Moved ...
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41269         Moved ...
41270         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41274         Moved ...
41275         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41277         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41279         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41281         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41283         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41285         Moved ...
41286         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41287         ... here.
41288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41289         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41291         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41293         Moved ...
41294         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41296         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41297         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41298         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41300         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41302         Moved ...
41303         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41305         Moved ...
41306         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41308         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41310         Moved ...
41311         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41313         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41315         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41317 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41319         * timezone/checktab.awk: Update from tzcode 2014e.
41320         * timezone/private.h: Likewise.
41321         * timezone/tzfile.h: Likewise.
41322         * timezone/zdump.c: Likewise.
41323         * timezone/zic.c: Likewise.
41325         * sysdeps/unix/sysv/linux/kernel-features.h
41326         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41327         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41328         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41329         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41330         Remove conditional code.
41332 2014-06-25  Will Newton  <will.newton@linaro.org>
41334         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41335         (_dl_arm_cap_flags): Add HWCAP2 values.
41336         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41337         (_DL_HWCAP_COUNT): Increase to 37.
41338         (_DL_HWCAP_LAST): New define.
41339         (_DL_HWCAP2_LAST): New define.
41340         (_dl_procinfo): Add support for printing
41341         AT_HWCAP2 entries.
41342         (_dl_string_hwcap): Use _dl_hwcap_string.
41344 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41348 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41350         * README: Do not mention ports directory.
41352         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41353         Remove macro.
41354         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41355         <kernel-features.h>.
41356         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41357         conditional variable definition.
41358         (__futimes): Update comment.
41359         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41360         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41362         [BZ #16560]
41363         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41364         arguments close to 0.
41365         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41366         Likewise.
41367         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41368         Likewise.
41369         * math/auto-libm-test-in: Add more tests of exp10.
41370         * math/auto-libm-test-out: Regenerated.
41371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41373         * sysdeps/unix/sysv/linux/kernel-features.h
41374         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41375         * sysdeps/unix/sysv/linux/readv.c: Do not include
41376         <kernel-features.h>.
41377         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41378         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41379         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41380         unconditional.
41381         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41382         conditional code.
41383         * sysdeps/unix/sysv/linux/writev.c: Do not include
41384         <kernel-features.h>.
41385         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41386         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41387         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41388         unconditional.
41389         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41390         conditional code.
41392 2014-06-25  Will Newton  <will.newton@linaro.org>
41394         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41395         comment changes throughout the file.  Remove checks
41396         for HAVE_*_H definitions that are not required.
41397         (__gen_tempname): Call abort if an unknown kind value is
41398         passed.
41400 2014-06-25  Andreas Schwab  <schwab@suse.de>
41402         [BZ #17086]
41403         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41404         scalbln, scalblnf, scalblnl in libc.
41406 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41408         [BZ #17086]
41409         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41410         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41411         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41413 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41415         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41416         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41417         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41418         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41419         Update #include.
41420         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41421         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41422         Update #include.
41423         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41424         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41425         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41426         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41427         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41428         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41429         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41430         * sysdeps/x86/bits/semaphore.h: ... here.
41431         * sysdeps/x86/nptl/elide.h: Moved ...
41432         * sysdeps/x86/elide.h: ... here.
41433         * sysdeps/x86_64/nptl/Implies: File removed.
41434         * sysdeps/i386/nptl/Implies: File removed.
41436 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41438         [BZ #16539]
41439         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41440         return the argument for normal arguments with exponent below -64.
41441         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41442         Likewise.
41443         * math/auto-libm-test-in: Add another test of expm1.
41444         * math/auto-libm-test-out: Regenerated.
41446         [BZ #16287]
41447         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41448         calling __erfcl for arguments at least 16.
41449         * math/auto-libm-test-in: Add more tests of erf.
41450         * math/auto-libm-test-out: Regenerated.
41452         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41453         individual architectures.
41454         * sysdeps/unix/sysv/linux/configure: Regenerated.
41455         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41456         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41457         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41458         (ldd_rewrite_script): Define variable.
41459         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41461         file.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41463         generated file.
41464         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41465         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41466         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41467         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41468         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41469         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41470         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41471         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41473 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41475         [BZ #17084]
41476         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41477         Rename member __data.d to __data.__elision_data.
41479 2014-06-24  Wilco  <wdijkstr@arm.com>
41481         * NEWS: Add 16918 to fixed bug list.
41483 2014-06-24  Wilco  <wdijkstr@arm.com>
41485         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41487 2014-06-24  Wilco  <wdijkstr@arm.com>
41489         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41490         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41491         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41492         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41493         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41494         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41495         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41496         Use _FPU_MASK_RM.
41498 2014-06-24  Wilco  <wdijkstr@arm.com>
41500         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41502 2014-06-24  Wilco  <wdijkstr@arm.com>
41504         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41505         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41506         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41507         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41509 2014-06-24  Wilco  <wdijkstr@arm.com>
41511         [BZ #16918]
41512         * sysdeps/arm/feupdateenv.c (feupdateenv):
41513         Rewrite to reduce FPSCR accesses and fix return value.
41515 2014-06-24  Wilco  <wdijkstr@arm.com>
41517         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41518         Optimize to avoid unnecessary FPSCR writes.
41519         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41520         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41521         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41522         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41524 2014-06-24  Wilco  <wdijkstr@arm.com>
41526         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41527         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41528         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41529         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41530         Call libc_fetestexcept_vfp.
41531         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41532         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41533         __SOFTFP__ ifdef so that they can be built for softfp.
41535 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41537         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41538         argument type signed char.
41540         * Makerules (check-abi): Dump diff of symlist if the test
41541         fails.
41543 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41545         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41546         using abort.
41548         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41549         Remove unused variable ST.
41551 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41553         [BZ #16354]
41554         [BZ #17061]
41555         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41556         small arguments before calling __expm1.
41557         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41558         small arguments before calling __expm1f.
41559         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41560         small arguments before calling __expm1l.
41561         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41562         Likewise.
41563         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41564         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41565         spurious underflow for some cosh tests.
41566         * math/auto-libm-test-out: Regenerated.
41567         * sysdeps/i386/fpu/libm-test-ulps: Update.
41569         [BZ #17050]
41570         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41571         (__ieee754_y1): Set errno if return value overflows.
41572         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41573         (__ieee754_y1f): Set errno if return value overflows.
41574         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41575         (__ieee754_y1l): Set errno if return value overflows.
41576         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41577         (__ieee754_y1l): Set errno if return value overflows.
41578         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41579         * math/auto-libm-test-out: Regenerated.
41581         * math/gen-auto-libm-tests.c: Document use of
41582         ignore-zero-inf-sign.
41583         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41584         (input_flags): Add ignore-zero-inf-sign.
41585         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41586         * math/gen-libm-test.pl (generate_testfile): Handle
41587         ignore-zero-inf-sign.
41588         * math/auto-libm-test-in: Mark some cpow tests with
41589         ignore-zero-inf-sign and some with xfail-rounding.
41590         * math/auto-libm-test-out: Regenerated.
41591         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41592         * sysdeps/i386/fpu/libm-test-ulps: Update.
41593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41595         [BZ #16315]
41596         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41597         overflowing or underflowing operations take place with sign of
41598         result.
41599         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41600         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41601         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41602         (__ieee754_pow): Recompute overflowing and underflowing results in
41603         original rounding mode.
41604         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41605         (__powl_helper): Allow negative argument X and scale negated value
41606         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41608         overflowing or underflowing operations take place with sign of
41609         result.
41610         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41611         Include <math.h>.
41612         * math/auto-libm-test-in: Add more tests of pow.
41613         * math/auto-libm-test-out: Regenerated.
41614         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41615         (pow_tonearest_test_data): Remove.
41616         (pow_test_tonearest): Likewise.
41617         (pow_towardzero_test_data): Likewise.
41618         (pow_test_towardzero): Likewise.
41619         (pow_downward_test_data): Likewise.
41620         (pow_test_downward): Likewise.
41621         (pow_upward_test_data): Likewise.
41622         (pow_test_upward): Likewise.
41623         (main): Don't call removed functions.
41624         * sysdeps/i386/fpu/libm-test-ulps: Update.
41625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41627 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41630         Moved ...
41631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41633         Moved ...
41634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41636         Moved ...
41637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41639         Moved ...
41640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41642         File removed.
41643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41644         File removed.
41645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41646         File removed.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41648         File removed.
41649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41650         File removed.
41651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41652         File removed.
41653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41654         File removed.
41655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41656         File removed.
41657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41658         File removed.
41659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41660         File removed.
41661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41662         File removed.
41663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41664         File removed.
41665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41666         Moved ...
41667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41669         Moved ...
41670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41671         ... here.
41672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41673         Moved ...
41674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41676         Moved ...
41677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41679         Moved ...
41680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41682         Moved ...
41683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41685         Moved ...
41686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41688         Moved ...
41689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41691         Moved ...
41692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41695         ... here.
41696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41697         Moved ...
41698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41700         Moved ...
41701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41702         ... here.
41703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41704         Moved ...
41705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41706         ... here.
41707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41708         Moved ...
41709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41710         ... here.
41711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41712         Moved ...
41713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41715         Moved ...
41716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
41719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41720         Moved ...
41721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
41722         ... here.
41723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41724         Moved ...
41725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
41726         ... here.
41727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41728         Moved ...
41729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
41730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41731         Moved ...
41732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
41733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41734         Moved ...
41735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
41736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41737         Moved ...
41738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
41739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41740         Moved ...
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
41742         ... here.
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41744         Moved ...
41745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
41746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41747         Moved ...
41748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
41749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41750         Moved ...
41751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41753         Moved ...
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
41756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41758         Moved ...
41759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
41760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41761         Moved ...
41762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
41763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41764         Moved ...
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
41766         ... here.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41768         Moved ...
41769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
41770         ... here.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41772         Moved ...
41773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
41774         ... here.
41775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41776         Moved ...
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
41778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41779         Moved ...
41780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41782         Moved ...
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
41784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41785         Moved ...
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
41787         ... here.
41788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41789         Moved ...
41790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
41791         ... here.
41792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41793         Moved ...
41794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
41795         ... here.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41797         Moved ...
41798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
41799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41800         Moved ...
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
41803 2014-06-23  Will Newton  <will.newton@linaro.org>
41804             Wilco  <wdijkstr@arm.com>
41806         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
41807         implementation.  Include get-rounding-mode.h.
41808         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
41809         [!libc_feholdsetround_noex_ctx]: Define
41810         libc_feholdsetround_noex_ctx.
41811         [!libc_feholdsetround_noexf_ctx]: Define
41812         libc_feholdsetround_noexf_ctx.
41813         [!libc_feholdsetround_noexl_ctx]: Define
41814         libc_feholdsetround_noexl_ctx.
41815         (libc_feholdsetround_ctx): New function.
41816         (libc_feresetround_ctx): New function.
41817         (libc_feholdsetround_noex_ctx): New function.
41818         (libc_feresetround_noex_ctx): New function.
41820 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41822         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
41823         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
41824         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
41825         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
41826         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
41827         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
41829         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
41830         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
41831         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
41832         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
41833         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
41834         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
41835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
41836         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
41837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
41838         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
41839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
41840         Moved ...
41841         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
41842         ... here.
41843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
41844         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
41845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
41846         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
41847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
41848         Moved ...
41849         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
41850         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
41851         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
41852         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
41853         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
41854         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
41855         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
41856         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
41857         Moved ...
41858         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
41859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
41860         Moved ...
41861         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
41862         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
41863         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
41864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
41865         Moved ...
41866         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
41867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
41868         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
41869         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
41870         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
41871         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
41872         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
41873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
41874         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
41875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
41876         Moved ...
41877         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
41878         ... here.
41879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
41880         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
41881         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
41882         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
41883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
41884         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
41885         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
41886         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
41887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
41888         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
41889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
41890         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
41891         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
41892         Moved ...
41893         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
41894         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
41895         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
41896         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
41897         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
41898         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
41899         Moved ...
41900         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
41901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
41902         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
41904         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
41906         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
41907         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
41908         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
41909         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
41910         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
41911         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
41912         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
41913         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
41914         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
41915         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
41916         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
41917         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
41918         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
41919         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
41920         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
41921         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
41922         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
41923         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
41924         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
41925         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
41926         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
41927         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
41928         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
41929         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
41930         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
41931         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
41935 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41937         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
41938         (FALLOC_FL_COLLAPSE_RANGE): New macro.
41939         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
41940         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
41941         (IPV6_PMTUDISC_INTERFACE): Likewise.
41942         (IPV6_PMTUDISC_OMIT): Likewise.
41944 2014-06-23  Andreas Schwab  <schwab@suse.de>
41946         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
41947         Remove unused errout label.
41949 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41951         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
41952         macro: hardware supports Vector Crypto instructions.
41954 2014-06-23  Will Newton  <will.newton@linaro.org>
41956         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
41957         rather than __builtin_expect.
41959         * elf/dl-lookup.c (undefined_msg): Remove variable.
41960         (_dl_lookup_symbol_x): Replace undefined_msg with string
41961         literal.
41963         * elf/dl-lookup.c (do_lookup_unique): New function.
41964         (do_lookup_x): Move STB_GNU_UNIQUE handling code
41965         to a separate function.
41967 2014-06-23  Andreas Schwab  <schwab@suse.de>
41969         [BZ #17079]
41970         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
41971         before reading the next line.
41973 2014-06-23  Will Newton  <will.newton@linaro.org>
41975         * test-skeleton.c (signal_handler): Use printf and %m
41976         rather than perror.  Use printf rather than fprintf to
41977         stderr.  Use puts rather than fputs to stderr.
41978         (main): Likewise.
41980 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
41982         * nscd/nscd.c (thread_info_t): Remove typedef.
41983         (thread_info): Remove variable.
41985 2014-06-21  Allan McRae  <allan@archlinux.org>
41987         * NEWS: Mention CVE-2014-4043.
41989 2014-06-20  Roland McGrath  <roland@hack.frob.com>
41991         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
41992         * nptl/smp.h: ... here.
41994         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
41996         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
41997         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
41998         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
41999         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42001         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42002         * nptl/stack-aliasing.h: New file.
42003         * sysdeps/i386/i686/stack-aliasing.h: New file.
42004         * sysdeps/i386/i686/nptl/Makefile: File removed.
42005         * sysdeps/x86_64/stack-aliasing.h: New file.
42006         * sysdeps/x86_64/nptl/Makefile
42007         (CFLAGS-pthread_create.c): Variable removed.
42009         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42010         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42011         old file.
42012         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42013         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42014         old file.
42016 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42018         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42019         (__ASSUME_SIGFRAME_V2): Remove macro.
42020         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42021         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42022         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42023         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42024         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42025         Declare as function.  Remove conditional macro definitions.
42026         (__default_rt_sa_restorer): Likewise.
42027         (__default_sa_restorer_v1): Remove declaration.
42028         (__default_sa_restorer_v2): Likewise.
42029         (__default_rt_sa_restorer_v1): Likewise.
42030         (__default_rt_sa_restorer_v2): Likewise.
42031         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42032         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42033         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42035 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42037         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42038         (libpthread-routines): Add sysdep.
42039         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42040         * sysdeps/unix/sysv/linux/sparc/Versions
42041         (libpthread: GLIBC_2.3.3): New version set.
42042         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42043         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42044         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42045         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42046         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42047         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42048         Moved ...
42049         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42050         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42051         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42052         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42053         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42054         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42055         * sysdeps/sparc/nptl/sem_init.c: ... here.
42056         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42057         * sysdeps/sparc/nptl/sem_post.c: ... here.
42058         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42059         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42060         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42061         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42062         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42063         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42064         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42065         (libpthread-routines): Add cpu_relax.
42066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42067         File removed.
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42069         (librt: GLIBC_2.3.3): New version set.
42070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42071         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42072         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42073         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42076         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42078         Moved ...
42079         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42081         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42083         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42085         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42087         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42089         Moved ...
42090         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42091         Update #include.
42092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42093         Moved ...
42094         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42095         Update #include.
42096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42097         Moved ...
42098         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42099         Update #include.
42100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42101         Moved ...
42102         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42103         Update #include.
42104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42105         Moved ...
42106         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42107         Update #include.
42108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42109         Moved ...
42110         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42111         Update #include.
42112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42113         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42119         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42121         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42123         Moved ...
42124         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42126         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42128         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42130 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42132         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42133         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42134         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42135         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42136         * nscd/nscd.c: Likewise.
42137         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42138         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42139         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42140         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42142         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42143         <kernel-features.h>.
42144         (init_mq_netlink): Remove conditional have_sock_cloexec
42145         definitions.  Remove code conditional on have_sock_cloexec < 0.
42146         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42147         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42148         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42149         <kernel-features.h>.
42150         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42151         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42153 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42156         Add tests for memset_chk and memset.
42158         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42159         with AVX2_Usable.
42161 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42163         [BZ #16046]
42164         * elf/tst-dl-iter-static.c: New file.
42165         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42167         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42168         error.
42170 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42172         * sysdeps/unix/sysv/linux/kernel-features.h
42173         (__ASSUME_F_GETOWN_EX): Remove macro.
42174         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42175         <kernel-features.h>.
42176         (miss_F_GETOWN_EX): Remove variable or macro.
42177         (do_fcntl): Do not check miss_F_GETOWN_EX.
42178         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42180         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42181         Remove macro.
42182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42183         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42184         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42186         * sysdeps/unix/sysv/linux/kernel-features.h
42187         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42188         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42189         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42190         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42192 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42194         [BZ #17075]
42195         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42196         Fix calculation of the symbol's value.
42197         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42198         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42199         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42200         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42201         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42202         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42203         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42204         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42205         (modules-names): Add `tst-armtlsdescmod',
42206         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42207         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42208         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42209         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42210         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42211         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42212         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42213         ($(objpfx)tst-armtlsdescloc): New dependency.
42214         ($(objpfx)tst-armtlsdescextnow): Likewise.
42215         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42216         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42217         TLS scheme support.
42218         * sysdeps/arm/configure: Regenerate.
42220 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42222         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42223         (__atfct_seterrno_2): Likewise.
42224         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42225         <kernel-features.h>.
42226         (__ASSUME_ATFCTS): Do not undefine and redefine.
42227         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42228         (__have_atfcts): Remove conditional definition.
42229         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42230         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42231         unreachable if [__ASSUME_ATFCTS].
42232         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42233         not undefine and redefine.
42234         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42235         <kernel-features.h>.
42236         (faccessat) [__NR_faccessat]: Make code unconditional.
42237         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42238         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42239         <kernel-features.h>.
42240         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42241         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42242         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42243         <kernel-features.h>.
42244         (fchownat) [__NR_fchownat]: Make code unconditional.
42245         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42246         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42247         <kernel-features.h>.
42248         (futimesat) [__NR_futimesat]: Make code unconditional.
42249         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42250         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42251         <kernel-features.h>.
42252         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42253         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42254         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42255         <kernel-features.h>.
42256         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42257         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42258         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42259         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42260         <kernel-features.h>.
42261         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42262         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42263         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42264         <kernel-features.h>.
42265         (linkat) [__NR_linkat]: Make code unconditional.
42266         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42267         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42268         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42269         <kernel-features.h>.
42270         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42271         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42272         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42273         <kernel-features.h>.
42274         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42275         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42276         * sysdeps/unix/sysv/linux/openat.c: Do not include
42277         <kernel-features.h>.
42278         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42279         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42280         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42281         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42282         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42283         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42284         <kernel-features.h>.
42285         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42286         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42287         result of INLINE_SYSCALL directly, not via int variable.
42288         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42289         <kernel-features.h>.
42290         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42291         (renameat) [__NR_renameat]: Make code unconditional.
42292         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42293         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42294         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42295         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42296         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42297         (__ASSUME_ATFCTS): Do not undefine and redefine.
42298         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42299         <kernel-features.h>.
42300         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42301         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42302         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42303         <kernel-features.h>.
42304         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42305         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42306         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42307         (__ASSUME_ATFCTS): Do not undefine and redefine.
42308         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42309         <kernel-features.h>.
42310         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42311         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42312         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42313         <kernel-features.h>.
42314         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42315         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42317 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42319         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42321 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42323         [BZ #17069]
42324         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42325         constructed tree before returning error.
42326         * posix/bug-regexp36.c: Expand test case.
42328 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42330         [BZ #6803]
42331         * math/libm-test.inc (scalbln_test_date):
42332         Add errno expectations.
42333         * math/w_scalblnf.c: New File.
42334         Add wrapper which checks for setting errno to ERANGE.
42335         Add weak_alias for corresponding scalbln function.
42336         * math/w_scalbln.c: Likewise.
42337         * math/w_scalblnl.c: Likewise.
42338         * math/Makefile (libm-calls): Add w_scalbln.
42339         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42340         Remove weak_alias for corresponding scalbln function.
42341         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42343         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42344         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42345         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42346         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42347         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42348         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42349         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42350         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42351         Remove long_double_symbol for scalblnl function in libm, libc.
42352         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42353         Add wrapper which checks for setting errno to ERANGE.
42354         Add long_double_symbol for scalblnl function in libm, libc.
42355         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42356         Remove long_double_symbol for scalblnl in libm.
42357         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42358         Add wrapper which checks for setting errno to ERANGE.
42359         Add long_double_symbol for scalblnl function in libm.
42360         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42361         Do not use wrapper because of own implementation.
42363 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42365         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42366         3 bytes for __pad1 for x32.
42367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42369 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42370             H.J. Lu  <hongjiu.lu@intel.com>
42372         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42373         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42374         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42375         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42376         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42378 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42380         [BZ #17069]
42381         * posix/regcomp.c (parse_expression): Deallocate partially
42382         constructed tree before returning error.
42383         * posix/Makefile.c (tests): Add bug-regex36.
42384         (generated): Add bug-regex36.mtrace.
42385         (tests-special): Add $(objpfx)bug-regex36-mem.out
42386         (bug-regex36-ENV): New variable.
42387         ($(objpfx)bug-regex36-mem.out): New rule.
42388         * posix/bug-regex36.c: New file.
42390 2014-06-19  Will Newton  <will.newton@linaro.org>
42392         * malloc/malloc.c (systrim): If extra is zero then return
42393         early.
42395 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42397         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42399 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42401         * sysdeps/aarch64/strchr.S: New file.
42403 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42405         [BZ #17022]
42406         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42407         from arguments -2 or below.
42408         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42409         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42411 2014-06-18  Andreas Schwab  <schwab@suse.de>
42413         [BZ #17062]
42414         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42415         of a bracket expr not to run off the end of the string.
42416         * posix/Makefile (tests): Add tst-fnmatch3.
42417         * posix/tst-fnmatch3.c: New file.
42419 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42421         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42422         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42423         [$(cross-compiling) = no]: Likewise.
42424         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42425         [$(cross-compiling) = no]: Likewise.
42427 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42429         [BZ #17031]
42430         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42431         double, adjusted for any remainder from the high double.
42432         * math/libm-test.inc (nearbyint): Add tests.
42433         (rint): Likewise.
42435 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42437         * nptl/sysdeps/powerpc/Makefile: Moved ...
42438         * sysdeps/powerpc/nptl/Makefile: ... here.
42439         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42440         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42441         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42442         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42443         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42444         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42445         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42446         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42447         * nptl/sysdeps/powerpc/tls.h: Moved ...
42448         * sysdeps/powerpc/nptl/tls.h: ... here.
42450 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42452         [BZ #16681]
42453         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42454         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42455         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42456         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42457         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42458         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42459         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42460         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42461         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42463 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42465         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42467 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42469         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42470         defined operator.
42472         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42473         $TIMEOUTFACTOR.
42475 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42477         [BZ #17058]
42478         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42479         non-executed part of the test.
42481 2014-06-16  Andreas Schwab  <schwab@suse.de>
42483         * string/bits/string2.h (strdup, strndup): Update feature guard.
42485 2014-06-14  David S. Miller  <davem@davemloft.net>
42487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42489 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42491         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42492         that was previously under [RESET_PID].
42493         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42495         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42496         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42497         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42498         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42499         (__libc_vfork): New strong alias.
42500         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42502 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42504         * sysdeps/generic/elide.h: New file.
42506 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42508         * Makefile (installed-headers): Adjust path of pthread.h header.
42510 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42512         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42513         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42514         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42515         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42517         * nptl/sysdeps/s390/Makefile: Moved ...
42518         * sysdeps/s390/nptl/Makefile: ... here.
42519         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42520         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42521         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42522         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42523         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42524         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42525         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42526         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42527         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42528         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42529         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42530         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42531         * nptl/sysdeps/s390/tls.h: Moved ...
42532         * sysdeps/s390/nptl/tls.h: ... here.
42534         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42535         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42537 2014-06-13  David S. Miller  <davem@davemloft.net>
42539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42542         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42546         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42547         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42548         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42549         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42550         Remove RESET_PID cpp guards.
42551         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42552         Remove RESET_PID cpp guards.
42553         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42555 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42557         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42558         __sp to uintptr_t.
42560 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42562         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42564         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42565         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42566         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42567         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42568         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42569         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42570         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42571         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42573         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42574         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42575         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42576         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42583         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42584         (pthread_rwlock_rdlock): Add elision.
42585         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42586         (pthread_rwlock_wrlock): Add elision.
42587         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42588         (pthread_rwlock_trywrlock): Add elision.
42589         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42590         (pthread_rwlock_tryrdlock): Add elision.
42591         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42592         (pthread_rwlock_tryrdlock): Add elision unlock.
42593         * nptl/sysdeps/pthread/pthread.h:
42594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42595         (PTHREAD_RWLOCK_INITIALIZER,
42596         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42597         Handle new elision field.
42598         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42599         * sysdeps/arm/nptl/bits/pthreadtypes.h
42600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42601         * sysdeps/sh/nptl/bits/pthreadtypes.h
42602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42603         * sysdeps/tile/nptl/bits/pthreadtypes.h
42604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42605         * sysdeps/a/nptl/bits/pthreadtypes.h
42606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42607         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42609         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42611         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42613         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42615         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42617         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42619         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42621         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42623         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42624         (elision_init): Set try_xbegin to zero when no RTM.
42625         * sysdeps/x86/nptl/bits/pthreadtypes.h
42626         (pthread_rwlock_t): Change __pad1 to __rwelision.
42627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42629 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42631         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42632         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42633         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42634         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42636 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42638         [BZ #16996]
42639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42640         that the cached result has been set before returning it.
42642 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42644         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42645         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42646         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42647         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42648         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42649         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42651         * nptl/sysdeps/sparc/Makefile: Moved ...
42652         * sysdeps/sparc/nptl/Makefile: ... here.
42653         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42654         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42655         * nptl/sysdeps/sparc/tls.h: Moved ...
42656         * sysdeps/sparc/nptl/tls.h: ... here.
42657         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42658         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42659         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42660         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42661         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42662         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42663         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42664         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42665         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42666         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42667         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42668         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42669         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42670         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42671         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42672         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42673         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42674         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42675         Update #include.
42676         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42678         Update #include.
42679         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42680         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42681         Update #include.
42682         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42683         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42684         Update #include.
42686         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42688         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42689         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42691         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42692         (struct list_links): Type removed.
42693         (struct thread_node, struct timer_node): Replace struct list_links
42694         with struct list_head.
42695         (list_unlink_ip): Likewise.
42696         * sysdeps/pthread/timer_routines.c
42697         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42698         (list_append, list_insbefore): Likewise.
42699         (list_init): Function removed.
42700         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42701         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42702         * sysdeps/pthread/Makefile: ... here, new file.
42704         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42705         * sysdeps/nptl/Implies: ... here.
42706         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42707         * nptl/sysdeps/pthread/list.h: Moved ...
42708         * include/list.h: ... here.
42709         * nptl/sysdeps/pthread/createthread.c: Moved ...
42710         * nptl/createthread.c: ... here.
42711         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42712         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42713         * nptl/pt-longjmp.c: ... here.
42714         * nptl/sysdeps/pthread/Makefile: Moved ...
42715         * sysdeps/nptl/Makefile: ... here.
42716         * nptl/sysdeps/pthread/Subdirs: Moved ...
42717         * sysdeps/nptl/Subdirs: ... here.
42718         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
42719         * sysdeps/nptl/aio_misc.h: ... here.
42720         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
42721         * sysdeps/nptl/bits/libc-lock.h: ... here.
42722         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
42723         * sysdeps/nptl/bits/libc-lockP.h: ... here.
42724         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
42725         * sysdeps/nptl/bits/stdio-lock.h: ... here.
42726         * nptl/sysdeps/pthread/configure: Moved ...
42727         * sysdeps/nptl/configure: ... here.
42728         * nptl/sysdeps/pthread/configure.ac: Moved ...
42729         * sysdeps/nptl/configure.ac: ... here.
42730         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
42731         * sysdeps/nptl/gai_misc.h: ... here.
42732         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
42733         * sysdeps/nptl/librt-cancellation.c: ... here.
42734         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
42735         * sysdeps/nptl/malloc-machine.h: ... here.
42736         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
42737         * sysdeps/nptl/pthread-functions.h: ... here.
42738         * nptl/sysdeps/pthread/pthread.h: Moved ...
42739         * sysdeps/nptl/pthread.h: ... here.
42740         * nptl/sysdeps/pthread/setxid.h: Moved ...
42741         * sysdeps/nptl/setxid.h: ... here.
42742         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
42743         * sysdeps/nptl/sigfillset.c: ... here.
42744         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
42745         * sysdeps/nptl/tcb-offsets.h: ... here.
42746         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
42747         * sysdeps/nptl/tst-mqueue8x.c: ... here.
42748         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
42749         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
42750         * nptl/sysdeps/pthread/allocalim.h: Moved ...
42751         * sysdeps/pthread/allocalim.h: ... here.
42752         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
42753         * sysdeps/pthread/bits/sigthread.h: ... here.
42754         * nptl/sysdeps/pthread/flockfile.c: Moved ...
42755         * sysdeps/pthread/flockfile.c: ... here.
42756         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
42757         * sysdeps/pthread/ftrylockfile.c: ... here.
42758         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
42759         * sysdeps/pthread/funlockfile.c: ... here.
42760         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
42761         * sysdeps/pthread/posix-timer.h: ... here.
42762         * nptl/sysdeps/pthread/timer_create.c: Moved ...
42763         * sysdeps/pthread/timer_create.c: ... here.
42764         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
42765         * sysdeps/pthread/timer_delete.c: ... here.
42766         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
42767         * sysdeps/pthread/timer_getoverr.c: ... here.
42768         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
42769         * sysdeps/pthread/timer_gettime.c: ... here.
42770         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
42771         * sysdeps/pthread/timer_routines.c: ... here.
42772         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
42773         * sysdeps/pthread/timer_settime.c: ... here.
42774         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
42775         * sysdeps/pthread/tst-timer.c: ... here.
42776         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
42777         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
42779         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
42780         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
42782         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
42783         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
42784         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
42785         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
42786         Update #include target.
42787         * nptl/sysdeps/i386/i686/Makefile: Moved ...
42788         * sysdeps/i386/i686/nptl/Makefile: ... here.
42789         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
42790         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
42791         Update #include target.
42792         * nptl/sysdeps/i386/i686/tls.h: Moved ...
42793         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
42794         * nptl/sysdeps/i386/Makefile: Moved ...
42795         * sysdeps/i386/nptl/Makefile: ... here.
42796         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
42797         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
42798         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
42799         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
42800         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
42801         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
42802         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
42803         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
42804         * sysdeps/i386/nptl/pthreaddef.h: ... here.
42805         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
42806         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
42807         * nptl/sysdeps/i386/tls.h: Moved ...
42808         * sysdeps/i386/nptl/tls.h: ... here.
42810         * sysdeps/sh/Makefile [$(subdir) = csu]
42811         (gen-as-const-headers): Add tcb-offsets.sym.
42812         * nptl/sysdeps/sh/Makefile: File removed.
42813         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
42814         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
42815         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
42816         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
42817         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
42818         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
42819         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
42820         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
42821         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
42822         * sysdeps/sh/nptl/pthreaddef.h: ... here.
42823         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
42824         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
42825         * nptl/sysdeps/sh/tls.h: Moved ...
42826         * sysdeps/sh/nptl/tls.h: ... here.
42827         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
42828         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
42829         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
42830         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
42831         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
42832         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
42833         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
42834         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
42835         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
42836         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
42837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
42838         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
42839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
42840         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
42841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
42842         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
42843         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
42844         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
42845         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
42846         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
42847         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
42848         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
42849         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
42850         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
42851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
42852         Moved ...
42853         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
42854         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
42855         Moved ...
42856         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
42857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
42858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
42859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
42860         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
42861         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
42862         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
42863         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
42864         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
42865         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
42866         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
42867         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
42868         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
42869         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
42870         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
42872         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
42873         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
42874         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
42876 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42878         * posix/spawn_faction_addopen.c: Include string.h.
42880 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42882         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
42883         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
42884         * nptl/sysdeps/x86_64/Makefile: Moved ...
42885         * sysdeps/x86_64/nptl/Makefile: ... here.
42886         * nptl/sysdeps/x86_64/configure: Moved ...
42887         * sysdeps/x86_64/nptl/configure: ... here.
42888         * nptl/sysdeps/x86_64/configure.ac: Moved ...
42889         * sysdeps/x86_64/nptl/configure.ac: ... here.
42890         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
42891         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
42892         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
42893         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
42894         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
42895         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
42896         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
42897         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
42898         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
42899         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
42900         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
42901         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
42902         * nptl/sysdeps/x86_64/tls.h: Moved ...
42903         * sysdeps/x86_64/nptl/tls.h: ... here.
42904         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
42905         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
42906         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
42907         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
42909         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
42911 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42915 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
42917         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
42918         type.
42919         [POSIX] (off_t): Likewise.
42920         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
42921         [POSIX] (S_ISBLK): Require macro.
42922         [POSIX] (S_ISCHR): Likewise.
42923         [POSIX] (S_ISDIR): Likewise.
42924         [POSIX] (S_ISFIFO): Likewise.
42925         [POSIX] (S_ISREG): Likewise.
42926         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
42927         optional-macro.
42928         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
42929         type.
42930         [POSIX] (time_t): Likewise.
42931         [POSIX] (timer_t): Likewise.
42933 2014-06-11  Florian Weimer  <fweimer@redhat.com>
42935         [BZ #17048]
42936         * posix/spawn_int.h (struct __spawn_action): Make the path string
42937         non-const to support deallocation.
42938         * posix/spawn_faction_addopen.c
42939         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
42940         * posix/spawn_faction_destroy.c
42941         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
42942         path in all spawn_do_open actions.
42943         * posix/tst-spawn.c (do_test): Exercise the copy operation in
42944         posix_spawn_file_actions_addopen.
42946 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
42948         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
42949         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
42950         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
42951         conditional code always true.
42952         (__libc_vfork): New alias.
42954 2014-06-11  Roland McGrath  <roland@hack.frob.com>
42956         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42957         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
42959         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
42961         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42962         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
42964         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42965         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
42967         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
42968         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
42970 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42972         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
42973         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
42974         multiarch strcmp for PPC64.
42975         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
42976         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
42977         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
42978         multiarch optimizations.
42979         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42980         (__libc_ifunc_impl_list): Likewise.
42982 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42984         * benchtests/scripts/validate_benchout.py: New script.
42985         * benchtests/Makefile (bench-func): Call it.
42986         * benchtests/scripts/benchout.schema.json: New file.
42988 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
42990         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
42991         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
42992         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
42993         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
42994         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
42995         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
42996         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
42997         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
42998         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
42999         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43000         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43001         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43002         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43003         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43004         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43005         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43007         Moved ...
43008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43009         ... here.
43010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43011         Moved ...
43012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43014         Moved ...
43015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43016         ... here.
43017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43018         Moved ...
43019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43020         ... here.
43021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43022         Moved ...
43023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43025         Moved ...
43026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43027         ... here.
43028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43029         Moved ...
43030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43031         ... here.
43032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43033         Moved ...
43034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43036         Moved ...
43037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43038         ... here.
43039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43040         Moved ...
43041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43042         ... here.
43043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43044         Moved ...
43045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43046         ... here.
43047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43048         Moved ...
43049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43051         Moved ...
43052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43053         ... here.
43054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43055         Moved ...
43056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43057         ... here.
43058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43059         Moved ...
43060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43061         ... here.
43062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43063         Moved ...
43064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43066         Moved ...
43067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43068         ... here.
43069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43070         Moved ...
43071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43072         ... here.
43073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43074         Moved ...
43075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43077         Moved ...
43078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43079         ... here.
43080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43081         Moved ...
43082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43084         Moved ...
43085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43087         Moved ...
43088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43089         ... here.
43090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43091         Moved ...
43092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43093         ... here.
43094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43095         Moved ...
43096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43097         ... here.
43098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43099         Moved ...
43100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43102         Moved ...
43103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43104         ... here.
43105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43106         Moved ...
43107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43108         ... here.
43109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43110         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43112         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43114         Moved ...
43115         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43116         ... here.
43117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43118         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43120         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43122         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43124         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43126         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43128         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43129         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43130         Moved ...
43131         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43133         Moved ...
43134         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43136         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43138         Moved ...
43139         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43141         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43142         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43143         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43144         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43145         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43147 2014-06-10  Wilco  <wdijkstr@arm.com>
43149         * math/test-fenv-return.c: New file.
43150         * math/Makefile: Add new test test-fenv-return.
43152 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43154         [BZ #17042]
43155         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43156         when x - 1 is zero.
43157         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43158         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43159         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43160         0.0L for an argument of 1.0L.
43161         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43162         Likewise.
43163         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43164         value when x - 1 is zero.
43165         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43166         * sysdeps/i386/fpu/libm-test-ulps: Update.
43167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43169 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43171         [BZ #15119]
43172         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43174 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43176         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43177         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43179 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43181         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43182         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43184         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43185         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43187         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43188         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43190         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43191         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43193         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43194         if not already defined.
43195         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43196         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43197         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43198         (TLS_INIT_TP): Use it.
43199         (TLS_DEFINE_INIT_TP): New macro.
43200         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43202 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43204         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43205         constant.
43206         [POSIX] (IXANY): Likewise.
43207         [POSIX] (OLCUC): Likewise.
43208         [POSIX || POSIX2008] (CBAUD): Do not allow.
43209         [POSIX || POSIX2008] (DEFECHO): Likewise.
43210         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43211         [POSIX || POSIX2008] (ECHOKE): Likewise.
43212         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43213         [POSIX || POSIX2008] (EXTA): Likewise.
43214         [POSIX || POSIX2008] (EXTB): Likewise.
43215         [POSIX || POSIX2008] (FLUSHO): Likewise.
43216         [POSIX || POSIX2008] (LOBLK): Likewise.
43217         [POSIX || POSIX2008] (PENDIN): Likewise.
43218         [POSIX || POSIX2008] (SWTCH): Likewise.
43219         [POSIX || POSIX2008] (VDISCARD): Likewise.
43220         [POSIX || POSIX2008] (VDSUSP): Likewise.
43221         [POSIX || POSIX2008] (VLNEXT): Likewise.
43222         [POSIX || POSIX2008] (VREPRINT): Likewise.
43223         [POSIX || POSIX2008] (VSTATUS): Likewise.
43224         [POSIX || POSIX2008] (VWERASE): Likewise.
43225         (B*): Change to B[0123456789]*.
43226         * conform/data/time.h-data [POSIX || UNIX98]
43227         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43228         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43229         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43230         [POSIX] (tm_*): Do not allow.
43232 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43234         * Makefile (install): Don't set LANGUAGE.
43235         * Makefile.in (install): Likewise.
43236         * assert/Makefile (test-assert-ENV): Remove variable.
43237         (test-assert-perr-ENV): Likewise.
43238         * elf/Makefile (neededtest4-ENV): Likewise.
43239         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43240         [$(cross-compiling) = no]: Don't set LANGUAGE.
43241         * io/ftwtest-sh (LANG): Remove variable.
43242         * libio/Makefile (tst-widetext-ENV): Likewise.
43243         * manual/install.texi (Running make install): Don't refer to
43244         environment settings for make install.
43245         * INSTALL: Regenerated.
43246         * nptl/tst-tls6.sh: Don't set LANG.
43247         * posix/globtest.sh (LANG): Remove variable.
43248         * string/Makefile (tester-ENV): Likewise.
43249         (inl-tester-ENV): Likewise.
43250         (noinl-tester-ENV): Likewise.
43251         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43252         [$(cross-compiling) = no]: Don't set LANGUAGE.
43253         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43254         without explicit environment settings.
43256 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43258         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43259         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43260         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43261         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43263 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43265         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43266         other files in the crypt directory.
43267         * crypt/crypt.c: Remove duplicate includes.
43268         * crypt/crypt-entry.c: Likewise.
43269         * crypt/crypt_util.c: Likewise.
43271 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43273         * Makeconfig (run-program-env): New variable.
43274         (run-program-prefix-before-env): Likewise.
43275         (run-program-prefix-after-env): Likewise.
43276         (run-program-prefix): Define in terms of new variables.
43277         (built-program-cmd-before-env): New variable.
43278         (built-program-cmd-after-env): Likewise.
43279         (built-program-cmd): Define in terms of new variables.
43280         (test-program-prefix-before-env): New variable.
43281         (test-program-prefix-after-env): Likewise.
43282         (test-program-prefix): Define in terms of new variables.
43283         (test-program-cmd-before-env): New variable.
43284         (test-program-cmd-after-env): Likewise.
43285         (test-program-cmd): Define in terms of new variables.
43286         * Rules (make-test-out): Use $(run-program-env).
43287         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43288         (help): Do not mention environment variables.  Mention
43289         --timeoutfactor option.
43290         (timeoutfactor): New variable.
43291         (blacklist_exports): Remove function.
43292         (exports): Remove variable.
43293         (command): Do not include ${exports}.
43294         * manual/install.texi (Configuring and compiling): Do not mention
43295         test wrappers preserving environment variables.  Mention that last
43296         assignment to a variable must take precedence.
43297         * INSTALL: Regenerated.
43298         * benchtests/Makefile (run-bench): Use $(run-program-env).
43299         * catgets/Makefile ($(objpfx)test1.cat): Use
43300         $(built-program-cmd-before-env), $(run-program-env) and
43301         $(built-program-cmd-after-env).
43302         ($(objpfx)test2.cat): Do not specify environment variables
43303         explicitly.
43304         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43305         $(run-program-env) and $(built-program-cmd-after-env).
43306         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43307         $(run-program-env) and $(test-program-cmd-after-env).
43308         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43309         explicitly.
43310         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43311         run_program_env and test_program_cmd_after_env arguments.
43312         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43313         * elf/tst-pathopt.sh: Use run_program_env argument.
43314         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43315         $(test-wrapper-env) and $(run-program-env).
43316         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43317         run_program_env arguments.
43318         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43319         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43320         $(test-program-prefix-before-env), $(run-program-env) and
43321         $(test-program-prefix-after-env).
43322         ($(objpfx)tst-gettext2.out): Likewise.
43323         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43324         run_program_env and test_program_prefix_after_env arguments.
43325         * intl/tst-gettext2.sh: Likewise.
43326         * intl/tst-gettext4.sh: Do not set environment variables
43327         explicitly.
43328         * intl/tst-gettext6.sh: Likewise.
43329         * intl/tst-translit.sh: Likewise.
43330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43331         $(test-program-prefix-before-env), $(run-program-env) and
43332         $(test-program-prefix-after-env).
43333         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43334         run_program_env and test_program_prefix_after_env arguments.
43335         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43336         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43337         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43338         explicitly with each use of ${test_wrapper_env}.
43339         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43340         $(test-program-prefix-before-env), $(run-program-env) and
43341         $(test-program-prefix-after-env).
43342         * posix/tst-getconf.sh: Do not set environment variables
43343         explicitly.
43344         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43345         run_program_env and test_program_prefix_after_env arguments.
43346         * stdio-common/tst-printf.sh: Do not set environment variables
43347         explicitly.
43348         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43349         $(test-program-prefix-before-env), $(run-program-env) and
43350         $(test-program-prefix-after-env).
43351         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43352         run_program_env and test_program_prefix_after_env arguments.
43353         Split $test calls into $test_pre and $test.
43354         * timezone/Makefile (build-testdata): Use
43355         $(built-program-cmd-before-env), $(run-program-env) and
43356         $(built-program-cmd-after-env).
43358 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43360         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43361         strlen for non SHARED builds.
43363 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43365         * nptl/allocatestack.c (check_list): Inlined function...
43366         (__reclaim_stacks): ... here.
43368 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43370         [BZ #15698]
43371         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43372         memory overrun.
43374 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43376         * Rules (make-test-out): Include
43377         LOCPATH=$(common-objpfx)localedata in default environment.
43378         * debug/Makefile (tst-chk1-ENV): Remove variable.
43379         (tst-chk2-ENV): Likewise.
43380         (tst-chk3-ENV): Likewise.
43381         (tst-chk4-ENV): Likewise.
43382         (tst-chk5-ENV): Likewise.
43383         (tst-chk6-ENV): Likewise.
43384         (tst-lfschk1-ENV): Likewise.
43385         (tst-lfschk2-ENV): Likewise.
43386         (tst-lfschk3-ENV): Likewise.
43387         (tst-lfschk4-ENV): Likewise.
43388         (tst-lfschk5-ENV): Likewise.
43389         (tst-lfschk6-ENV): Likewise.
43390         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43391         (tst-iconv7-ENV): Likewise.
43392         * intl/Makefile (LOCPATH-ENV): Likewise.
43393         (tst-codeset-ENV): Likewise.
43394         (tst-gettext3-ENV): Likewise.
43395         (tst-gettext5-ENV): Likewise.
43396         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43397         (tst-fopenloc-ENV): Likewise.
43398         (tst-fgetws-ENV): Remove variable.
43399         (tst-ungetwc1-ENV): Likewise.
43400         (tst-ungetwc2-ENV): Likewise.
43401         (bug-ungetwc2-ENV): Likewise.
43402         (tst-swscanf-ENV): Likewise.
43403         (bug-ftell-ENV): Likewise.
43404         (tst-fgetwc-ENV): Likewise.
43405         (tst-fseek-ENV): Likewise.
43406         (tst-ftell-partial-wide-ENV): Likewise.
43407         (tst-ftell-active-handler-ENV): Likewise.
43408         (tst-ftell-append-ENV): Likewise.
43409         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43410         (tst-regexloc-ENV): Likewise.
43411         (bug-regex1-ENV): Likewise.
43412         (tst-regex-ENV): Likewise.
43413         (tst-regex2-ENV): Likewise.
43414         (bug-regex5-ENV): Likewise.
43415         (bug-regex6-ENV): Likewise.
43416         (bug-regex17-ENV): Likewise.
43417         (bug-regex18-ENV): Likewise.
43418         (bug-regex19-ENV): Likewise.
43419         (bug-regex20-ENV): Likewise.
43420         (bug-regex22-ENV): Likewise.
43421         (bug-regex23-ENV): Likewise.
43422         (bug-regex25-ENV): Likewise.
43423         (bug-regex26-ENV): Likewise.
43424         (bug-regex30-ENV): Likewise.
43425         (bug-regex32-ENV): Likewise.
43426         (bug-regex33-ENV): Likewise.
43427         (bug-regex34-ENV): Likewise.
43428         (bug-regex35-ENV): Likewise.
43429         (tst-rxspencer-ENV): Likewise.
43430         (tst-rxspencer-no-utf8-ENV): Likewise.
43431         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43432         (tst-sscanf-ENV): Likewise.
43433         (tst-swprintf-ENV): Likewise.
43434         (tst-swscanf-ENV): Likewise.
43435         (test-vfprintf-ENV): Likewise.
43436         (scanf13-ENV): Likewise.
43437         (bug14-ENV): Likewise.
43438         (tst-grouping-ENV): Likewise.
43439         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43440         (tst-strtod3-ENV): Likewise.
43441         (tst-strtod4-ENV): Likewise.
43442         (tst-strtod5-ENV): Likewise.
43443         (testmb2-ENV): Likewise./
43444         * string/Makefile (tst-strxfrm-ENV): Likewise.
43445         (tst-strxfrm2-ENV): Likewise.
43446         (bug-strcoll1-ENV): Likewise.
43447         (test-strcasecmp-ENV): Likewise.
43448         (test-strncasecmp-ENV): Likewise.
43449         * time/Makefile (tst-strptime-ENV): Likewise.
43450         (tst-ftime_l-ENV): Likewise.
43451         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43452         (tst-mbrtowc-ENV): Likewise.
43453         (tst-wcrtomb-ENV): Likewise.
43454         (tst-mbrtowc2-ENV): Likewise.
43455         (tst-c16c32-1-ENV): Likewise.
43456         (tst-mbsnrtowcs-ENV): Likewise.
43458 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43460         * manual/resource.texi (How to get information about the memory
43461         subsystem?): Fix typo.
43462         Reported by Peon de la Parra Ivan <peon@keba.com>
43464 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43466         [BZ #16882]
43467         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43468         (pthread_spin_lock): Branch out of spin loop to proper location.
43469         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43470         (pthread_spin_lock): Likewise.
43472         * nptl/tst-spin4.c: New test.
43473         * nptl/Makefile (tests): Add tst-spin4.
43475 2014-06-03  Andreas Schwab  <schwab@suse.de>
43477         [BZ #15946]
43478         * resolv/res_send.c (send_dg): Reload file descriptor after
43479         calling reopen.
43481 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43483         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43485 2014-06-03  Richard Henderson  <rth@redhat.com>
43487         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43488         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43489         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43490         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43491         in the SAVE_PID block.
43492         (__libc_vfork): New alias.
43493         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43495         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43496         child in registers, not on the stack.  Remove RESET_PID conditionals.
43497         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43499 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43501         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43503 2014-06-03  Wilco  <wdijkstr@arm.com>
43505         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43506         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43507         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43508         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43509         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43510         Likewise.
43512 2014-06-03  Wilco  <wdijkstr@arm.com>
43514         * sysdeps/aarch64/fpu/math_private.h
43515         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43516         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43517         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43518         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43519         Fix declarations.
43521 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43523         * crypt/crypt-private.h: Include ufc-crypt.h.
43524         (__b64_from_24bit): Declare extern.
43525         * crypt/crypt_util.c(__b64_from_24bit): New function.
43526         (b64t): New static const variable.
43527         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43528         (b64t): Remove variable.
43529         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43530         * crypt/sha256-crypt.c: Include crypt-private.h.
43531         (b64t): Remove variable.
43532         (__sha256_crypt_r): Remove b64_from_24bit and replace
43533         with __b64_from_24bit.
43534         * crypt/sha512-crypt.c: Likewise.
43536 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43538         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43539         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43540         Label the code __libc_vfork rather than __vfork.
43541         [!NOT_IN_libc] (vfork): Define as weak alias.
43542         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43543         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43544         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43546 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43548         * malloc/malloc.c (malloc_info): Fix format specifier for
43549         n_mmaps.
43551 2014-06-02  Wilco  <wdijkstr@arm.com>
43553         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43554         FPCR write.
43556 2014-06-02  Wilco  <wdijkstr@arm.com>
43558         [BZ #17009]
43559         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43560         Rewrite to reduce FPCR/FPSR accesses.
43562 2014-06-01  David S. Miller  <davem@davemloft.net>
43564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43566 2014-05-31  David S. Miller  <davem@davemloft.net>
43568         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43569         to occur in round to nearest mode when |x| >= 2.0
43571 2014-05-30  Richard Henderson  <rth@twiddle.net>
43573         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43574         (PSEUDO_RET_NOERRNO): Remove.
43575         (ret): Don't redefine.
43576         (ret_NOERRNO): Define in terms of ret.
43577         (ret_ERRVAL): Likewise.
43579         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43580         use of PSEUDO_RET; perform the error check directly.
43582 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43584         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43585         with __int128_t.
43587 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43589         * malloc/malloc (malloc_info): Fix formatting.
43591 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43592             Roland McGrath  <roland@hack.frob.com>
43594         * malloc/malloc (malloc_info): Also print mmapped statistics.
43596 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43598         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43599         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43601 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43603         * malloc/malloc.c (malloc_info): Inline mi_arena.
43605 2014-05-29  Richard Henderson  <rth@twiddle.net>
43607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43608         Remove comma before expanding ASM_ARGS_##nr.
43609         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43610         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43611         of ASM_ARGS_##nr.
43612         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43613         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43614         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43615         (ASM_ARGS_1): Add leading comma.
43617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43618         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43619         to __errno_location.
43620         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43621         Remove the expected plt for __errno_location.
43623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43624         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43625         call to __read_tp.
43627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43628         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43629         it and break it down.
43630         (DOCARGS_0, DOCARGS_1): Do nothing.
43631         (DOCARGS_2): Update to store into the new stack frame.
43632         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43633         (UNDOCARGS_1): Update to restore from the new stack frame.
43634         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43635         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43638         (SINGLE_THREAD_P): New parameter for result regno.
43639         (PSEUDO): Update to match; use cbz instead of beq.
43641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43642         Use ENTRY to define the _nocancel entry point.  Share the syscall
43643         and syscall error check paths with the cancel path.
43644         (PSEUDO_END): New.
43646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43647         whitespace; tabs before and after asm mnemonics.
43649 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43651         [BZ #15132]
43652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43653         Call fstat64 or stat64 internally, depending on arguments passed.
43654         Replace stat buffer argument with file descriptor argument.
43655         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43656         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43657         Pass fd to __internal_statvfs instead of calling fstat64.
43658         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43659         Pass fd to __internal_statvfs64 instead of calling fstat64.
43660         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43661         Pass -1 to __internal_statvfs instead of calling stat64.
43662         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43663         Pass -1 to __internal_statvfs64 instead of calling stat64.
43665 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43667         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43668         that was previously under [RESET_PID].
43669         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43671         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43672         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43674 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43676         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43678         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43679         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43681 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43683         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43685 2014-05-27  Andreas Schwab  <schwab@suse.de>
43687         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43688         TLS_INIT_TP macro.
43689         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43690         * elf/rtld.c (init_tls, dl_main): Likewise.
43691         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43692         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43693         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43694         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43695         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43696         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43697         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43698         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43699         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43700         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43701         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43702         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43703         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43704         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43705         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43706         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43707         * sysdeps/generic/tls.h: Update description.
43709 2014-05-27  Will Newton  <will.newton@linaro.org>
43711         [BZ #16990]
43712         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43713         and restore r2 rather than just restoring.
43715 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43717         [BZ #16724]
43718         * libio/tst-ftell-append.c: New test case.
43719         * libio/Makefile (tests): Add test case.
43720         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
43721         append mode.
43722         * libio/wfileops.c (do_ftell_wide): Likewise.
43724 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43728         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
43729         ...
43730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
43732         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
43733         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
43734         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
43735         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
43736         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
43737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
43738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43739         Moved ...
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
43741         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43742         Moved ...
43743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
43744         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
43745         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
43746         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
43747         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
43748         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
43749         ...
43750         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
43751         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
43752         Moved ...
43753         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
43754         here.
43755         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
43756         ...
43757         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
43758         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
43759         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
43761         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
43762         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
43763         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
43764         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
43766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
43767         merge into ...
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
43769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
43770         ...
43771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
43772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
43773         ...
43774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
43775         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
43776         Moved ...
43777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
43778         here.
43779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
43780         Moved ...
43781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
43782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
43783         Moved ...
43784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
43787         conditional [RESET_PID].
43788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
43789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
43790         removed.
43791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
43792         removed.
43794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
43795         <tcb-offsets.h>.
43796         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43797         (__libc_vfork): New strong alias.
43798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
43799         removed.
43800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
43801         Removed.
43803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
43804         <tcb-offsets.h>.
43805         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
43806         (__libc_vfork): New strong alias.
43807         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
43808         removed.
43809         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
43810         removed.
43812 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
43814         * malloc/malloc.c (mi_arena): New function.
43815         (malloc_info): Remove nested function mi_arena. Call non-nosted
43816         function mi_arena.
43818 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43820         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
43821         by insrwi.
43822         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
43823         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
43824         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
43825         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
43826         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
43827         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
43828         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
43830 2014-05-26  Andreas Schwab  <schwab@suse.de>
43832         [BZ #16984]
43833         * locale/programs/repertoire.c (repertoire_read): Add slash
43834         between I18NPATH element and file name.
43835         * locale/programs/locfile.c (locfile_read): Likewise.
43837 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43839         * nptl/pthread_mutexattr_settype.c
43840         (__pthread_mutexattr_settype):
43841         Disable lock elision for PTHREAD_MUTEX_NORMAL.
43843 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
43845         * nptl/tst-mutex5 (do_test):
43846         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
43848 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43850         * benchtests/README: Document 'init' directive.
43851         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
43852         BENCH_INIT.
43853         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
43854         (parse_file): Recognize 'init' directive.
43856 2014-05-26  Kyle McMartin  <kyle@redhat.com>
43858         [BZ #16796]
43859         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
43860         alignment of struct pthread.
43862 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43864         [BZ #16878]
43865         * nscd/netgroupcache.c (addgetnetgrentX): Look for
43866         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43867         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
43868         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
43870 2014-05-25  Richard Henderson  <rth@twiddle.net>
43872         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43873         (SINGLE_THREAD_P_PIC): Remove.
43874         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
43875         (SINGLE_THREAD_P_PIC): Remove.
43877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
43878         branch to syscall error ...
43879         (PSEUDO): ... here.
43880         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
43881         from __local_syscall_error to .Lsyscall_error.
43882         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
43883         (SYSCALL_ERROR): Update label name.
43885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43886         Do not use DOARGS/UNDOARGS.
43887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
43888         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
43889         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
43890         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
43891         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
43893         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
43894         block comment.
43896         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
43897         define if !NOT_IN_libc.
43898         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
43899         define with non-default symbol versions.
43901 2014-05-23  Richard Henderson  <rth@twiddle.net>
43903         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43904         (vfork, __vfork): Define via compat_symbol.
43906         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
43907         [!HAVE_IFUNC] (vfork_compat): Remove.
43908         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
43910 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43912         [BZ #16978]
43913         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
43914         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
43915         variable.
43917 2014-05-23  Richard Henderson  <rth@twiddle.net>
43919         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
43920         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
43921         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
43922         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
43924         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
43925         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
43926         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
43927         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
43928         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
43929         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
43930         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
43931         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
43932         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
43933         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
43934         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
43935         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
43936         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
43937         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
43938         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
43939         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
43940         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
43941         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
43942         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
43943         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
43944         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
43945         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
43946         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
43947         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
43948         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
43949         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
43950         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
43951         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
43952         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
43953         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
43954         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
43955         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
43956         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
43957         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
43961         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
43962         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
43963         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
43964         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
43965         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
43966         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
43967         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
43968         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
43969         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
43970         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
43971         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
43972         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
43973         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
43974         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
43975         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
43976         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
43977         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
43978         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
43979         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
43981         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
43982         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
43983         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
43984         before exiting on error.
43985         (__libc_vfork): New strong alias.
43986         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
43987         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
43989         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
43990         that was previously under [RESET_PID].
43991         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
43993         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
43995 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
43997         [BZ #16977]
43998         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
43999         value when x - 1 is zero.
44000         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44001         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44002         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44003         0.0L for an argument of 1.0L.
44004         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44005         Likewise.
44006         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44007         value when x - 1 is zero.
44008         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44009         * sysdeps/i386/fpu/libm-test-ulps: Update.
44010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44012 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44014         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44015         alphasort and versionsort.
44017 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44019         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44020         macro.
44021         [copysignf]: Likewise.
44023 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44025         * crypt/md5-crypt.c: Fix formatting.
44027 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44029         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44030         (b64_from_24bit): New function.
44032 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44034         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44035         libc_hidden_builtin_def to ifunc.
44036         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44037         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44039 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44041         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44042         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44044 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44046         * nscd/Depend (linuxthreads): Remove.
44047         (nptl): Add.
44048         * resolv/Depend (linuxthreads): Remove.
44049         * rt/Depend (linuxthreads): Remove.
44051         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44052         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44053         $(common-objpfx)elf/.
44054         (link-libc-before-gnulib): Likewise.
44055         (elfobjdir): Remove variable.
44056         * Makefile (install): Use $(elf-objpfx) instead of
44057         $(common-objpfx)elf/.
44058         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44059         $(elfobjdir)/.
44060         (link-libc-deps): Likewise.
44061         ($(common-objpfx)libc.so): Likewise.
44062         ($(common-objpfx)linkobj/libc.so): Likewise.
44063         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44064         instead of $(common-objpfx)elf/.
44065         (symbolic-link-list): Likewise.
44066         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44067         [$(cross-compiling) = no]: Likewise.
44068         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44069         $(elfobjdir)/.
44070         (static-gnulib-arch): Likewise.
44071         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44072         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44073         $(common-objpfx)elf/.
44075 2014-05-21  Richard Henderson  <rth@redhat.com>
44077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44078         (SINGLE_THREAD_P): Use the correct width load.  Fold
44079         into the ldr offset.
44081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44082         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44084 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44086         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44087         (libgcc_s_resume): Use __attribute_used__.
44088         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44089         Likewise.
44091 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44093         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44094         optimization when used with float constants.
44096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44098 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44100         [BZ #16915]
44101         * locale/nl_langinfo_l.c: Make direct reference to every
44102         _nl_current_CATEGORY symbol.
44103         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44104         (tests-static): Add tst-langinfo-static.
44105         (tests-special): Add tst-langinfo-static.out.
44106         ($(objpfx)tst-langinfo.out): Redirect output.
44107         ($(objpfx)tst-langinfo-static.out): New.
44108         * localedata/tst-langinfo.sh: Send output to stdout.
44109         * localedata/tst-langinfo-static.c: New file.
44111         [BZ #16965]
44112         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44113         when the shift amount is modulo the limb size.
44115 2014-05-20  Richard Henderson  <rth@redhat.com>
44117         [BZ #16967]
44118         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44119         Change type of sa_flags from unsigned int to int.
44121         [BZ #16966]
44122         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44124         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44126 2014-05-20  Will Newton  <will.newton@linaro.org>
44128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44129         Test the return value of the system call in the nocancel case.
44131 2014-05-20  Will Newton  <will.newton@linaro.org>
44132             Yvan Roux  <yvan.roux@linaro.org>
44134         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44135         #include of asm/ptrace.h.
44136         (PTRACE_GET_THREAD_AREA): Remove #undef.
44137         (PTRACE_GETHBPREGS): Likewise.
44138         (PTRACE_SETHBPREGS): Likewise.
44139         (struct user_regs_struct): New structure.
44140         (struct user_fpsimd_struct): New structure.
44141         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44142         #include of asm/ptrace.h and second #include of sys/user.h.
44143         (PTRACE_GET_THREAD_AREA): Remove #undef.
44144         (PTRACE_GETHBPREGS): Likewise.
44145         (PTRACE_SETHBPREGS): Likewise.
44146         (ELF_NGREG): Use new struct user_regs_struct.
44147         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44149 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44154 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44156         [BZ #16958]
44157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44158         membar to avoid block loads/stores to overlap previous stores.
44160 2014-05-17  Richard Henderson  <rth@redhat.com>
44162         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44163         Create the __##syscall_name##_nocancel entry point.
44164         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44165         Remove; let the sysdep-cancel.h code create it.
44167 2014-05-17  David S. Miller  <davem@davemloft.net>
44169         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44170         Protect with __USE_GNU.
44171         (TIOCSET_TEMPT): Likewise.
44172         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44173         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44174         these are already provided in bits/ioctl-types.h
44176 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44178         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44179         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44181         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44182         Use wait4 regardless of [__NR_waitpid].
44184 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44186         PR libgcc/60166
44187         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44188         (_FP_NANSIGN_Q): Set the quiet bit.
44190 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44192         * benchtests/Makefile
44193         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44194         not $(common-objpfx)math/libm.so.
44195         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44196         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44197         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44198         $(common-objpfx)dlfcn/libdl.so.
44199         ($(objpfx)tst-audit8): Depend on $(libm), not
44200         $(common-objpfx)math/libm.so.
44201         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44202         not $(common-objpfx)dlfcn/libdl.so.
44203         * math/Makefile
44204         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44205         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44206         [$(build-shared) = yes].
44207         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44208         $(common-objpfx)nptl/libpthread.so.
44209         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44210         $(common-objpfx)math/libm.so$(libm.so-version) or
44211         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44212         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44213         $(common-objpfx)dlfcn/libdl.so.
44214         * setjmp/Makefile (link-libm): Remove variable.
44215         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44216         * stdio-common/Makefile (link-libm): Remove variable.
44217         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44218         * stdlib/Makefile (link-libm): Remove variable.
44219         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44220         ($(objpfx)tst-strtod-round): Likewise.
44221         ($(objpfx)tst-tininess): Likewise.
44222         ($(objpfx)tst-strtod-underflow): Likewise.
44223         ($(objpfx)tst-strtod6): Likewise.
44224         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44225         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44226         $(common-objpfx)dlfcn/libdl.so.
44228 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44230         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44231         BSD terminal modes definitions.
44233 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44235         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44236         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44238         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44239         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44240         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44241         Don't do #include_next.
44242         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44243         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44244         Don't do #include_next.
44245         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44246         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44247         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44248         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44250 2014-05-16  Allan McRae  <allan@archlinux.org>
44252         * po/sv.po: Update Swedish translation from translation project.
44254         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44255         in sed expression.
44257 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44259         [BZ #16917]
44260         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44261         errno if the TIOCGPTN ioctl fails with an error different than
44262         EINVAL.
44263         * login/tst-ptsname.c: New file.
44264         * login/Makefile (tests): Add tst-ptsname.
44266         [BZ #16943]
44267         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44268         and prlimit64.
44270 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44272         [BZ #16849]
44273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44274         herrno to return EAI_AGAIN.
44276 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44278         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44279         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44280         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44281         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44282         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44283         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44284         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44285         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44287         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44288         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44289         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44290         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44291         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44292         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44293         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44294         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44295         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44296         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44297         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44298         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44299         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44300         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44301         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44302         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44303         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44304         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44305         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44306         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44307         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44309         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44311         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44313         Moved ...
44314         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44316         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44318         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44320         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44322         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44324         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44326         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44328         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44330         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44332         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44334         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44336         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44338         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44340         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44342         Moved ...
44343         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44345         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44347         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44349         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44351         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44353         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44355         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44357         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44359         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44361         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44363         Moved ...
44364         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44366         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44368         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44369         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44370         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44371         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44372         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44373         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44374         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44375         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44376         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44377         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44378         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44379         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44380         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44381         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44382         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44383         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44384         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44385         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44386         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44387         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44388         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44389         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44390         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44391         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44392         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44393         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44394         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44395         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44396         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44397         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44398         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44400         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44401         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44403         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44404         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44405         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44406         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44407         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44409         Moved ...
44410         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44411         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44412         Moved ...
44413         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44415         Moved ...
44416         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44417         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44418         Moved ...
44419         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44421         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44423         Moved ...
44424         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44425         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44426         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44428         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44429         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44430         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44431         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44432         Moved ...
44433         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44434         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44435         Moved ...
44436         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44437         ... here.
44438         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44439         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44440         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44441         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44442         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44443         Moved ...
44444         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44445         ... here.
44446         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44447         Moved ...
44448         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44449         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44450         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44451         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44452         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44454         Moved ...
44455         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44456         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44457         Moved ...
44458         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44460         Moved ...
44461         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44462         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44463         Moved ...
44464         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44466         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44468         Moved ...
44469         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44470         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44471         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44473         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44474         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44475         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44476         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44477         Moved ...
44478         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44479         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44480         Moved ...
44481         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44482         ... here.
44483         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44484         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44485         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44486         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44487         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44488         Moved ...
44489         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44490         ... here.
44491         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44492         Moved ...
44493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44494         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44495         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44496         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44497         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44498         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44499         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44500         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44501         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44502         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44503         Moved ...
44504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44506         Moved ...
44507         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44509         Moved ...
44510         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44511         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44512         Moved ...
44513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44515         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44516         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44517         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44519         Moved ...
44520         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44521         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44522         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44524         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44525         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44526         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44527         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44528         Moved ...
44529         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44531         Moved ...
44532         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44533         ... here.
44534         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44535         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44536         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44537         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44538         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44539         Moved ...
44540         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44541         ... here.
44542         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44543         Moved ...
44544         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44545         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44546         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44547         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44548         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44549         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44550         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44551         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44552         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44553         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44554         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44556         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44557         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44559         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44560         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44562         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44563         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44564         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44565         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44566         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44567         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44568         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44569         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44570         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44571         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44572         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44573         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44574         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44575         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44576         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44578         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44580         Moved ...
44581         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44583         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44585         Moved ...
44586         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44588         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44590         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44593         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44594         Moved ...
44595         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44597         Moved ...
44598         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44604         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44605         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44606         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44607         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44608         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44609         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44610         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44611         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44612         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44613         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44614         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44616         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44617         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44618         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44619         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44620         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44622         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44623         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44624         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44625         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44626         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44627         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44628         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44629         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44630         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44631         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44633         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44636         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44637         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44638         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44639         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44640         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44641         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44642         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44643         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44644         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44645         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44646         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44647         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44648         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44649         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44650         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44651         Update #include.
44652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44653         Likewise.
44654         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44655         Likewise.
44656         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44657         Likewise.
44658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44659         Likewise.
44660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44661         Likewise.
44662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44663         Likewise.
44664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44665         Likewise.
44666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44667         Likewise.
44668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44669         Likewise.
44670         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44671         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44672         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44673         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44675         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44676         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44677         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44678         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44679         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44681         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44682         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44683         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44684         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44686         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44687         that was previously under [RESET_PID].
44688         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44689         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44690         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44692         * sysdeps/i386/nptl/Implies: New file.
44693         * sysdeps/x86_64/nptl/Implies: New file.
44694         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44695         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44696         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44697         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44699         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44700         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44701         (__libc_vfork): New strong alias.
44702         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44703         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44705         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44706         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44707         (__libc_vfork): New strong alias.
44708         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44709         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44711         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44712         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44713         (__libc_vfork): New strong alias.
44714         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44715         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44716         * nptl/pt-vfork.c: New file.
44717         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44718         (libpthread: GLIBC_2.20): New version set (empty).
44720 2014-05-14  Will Newton  <will.newton@linaro.org>
44722         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
44723         rather than #if.
44725 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44727         [BZ #16564]
44728         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
44729         arguments with exponent 65 or above.
44730         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
44731         arguments 0x1p113L or above.
44732         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
44733         to arguments 0x1p107L or above.
44734         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
44735         positive arguments with exponent 65 or above.
44736         * math/auto-libm-test-in: Add more tests of log1p.
44737         * math/auto-libm-test-out: Regenerated.
44739         [BZ #16928]
44740         * math/s_cacos.c (__cacos): Ensure zero real part of result from
44741         non-finite arguments is +0.
44742         * math/s_cacosf.c (__cacosf): Likewise.
44743         * math/s_cacosl.c (__cacosl): Likewise.
44744         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
44745         * sysdeps/i386/fpu/libm-test-ulps: Update.
44746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44748         [BZ #16927]
44749         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
44750         value.
44751         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
44752         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
44753         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
44754         for explicit high bit of mantissa when testing for argument equal
44755         to 1.
44756         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
44757         * sysdeps/i386/fpu/libm-test-ulps: Update.
44758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44760         [BZ #16516]
44761         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
44762         (__erf): Scale by 16 instead of 8 in potentially underflowing
44763         case.  Ensure exception if result actually underflows.
44764         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
44765         (__erff): Scale by 16 instead of 8 in potentially underflowing
44766         case.  Ensure exception if result actually underflows.
44767         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
44768         (efx8): Remove variable.
44769         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44770         case.  Ensure exception if result actually underflows.
44771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
44772         (efx8): Remove variable.
44773         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44774         case.  Ensure exception if result actually underflows.
44775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
44776         (efx8): Remove variable.
44777         (__erfl): Scale by 16 instead of 8 in potentially underflowing
44778         case.  Ensure exception if result actually underflows.
44779         * math/auto-libm-test-in: Add more tests of erf.
44780         * math/auto-libm-test-out: Regenerated.
44782 2014-05-14  Andreas Schwab  <schwab@suse.de>
44784         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
44785         Remove code conditionalized on USE___THREAD.
44787         * config.h.in (HAVE_PT_CHOWN): Define as 0.
44788         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
44789         not definedness.
44791 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
44793         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
44794         Define unconditionally.
44795         (__ASSUME_O_CLOEXEC): Likewise.
44796         (__ASSUME_SOCK_CLOEXEC): Likewise.
44797         (__ASSUME_IN_NONBLOCK): Likewise.
44798         (__ASSUME_PIPE2): Likewise.
44799         (__ASSUME_EVENTFD2): Likewise.
44800         (__ASSUME_SIGNALFD4): Likewise.
44801         (__ASSUME_DUP3): Likewise.
44802         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44803         (__ASSUME_DUP3): Do not define.
44804         (__ASSUME_EVENTFD2): Likewise.
44805         (__ASSUME_IN_NONBLOCK): Likewise.
44806         (__ASSUME_O_CLOEXEC): Likewise.
44807         (__ASSUME_PIPE2): Likewise.
44808         (__ASSUME_SIGNALFD4): Likewise.
44809         (__ASSUME_SOCK_CLOEXEC): Likewise.
44810         (__ASSUME_UTIMES): Undefine.
44811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44812         (__ASSUME_UTIMES): Do not define.
44813         (__ASSUME_O_CLOEXEC): Likewise.
44814         (__ASSUME_SOCK_CLOEXEC): Likewise.
44815         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
44816         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
44817         0x020621].
44818         (__ASSUME_PIPE2): Likewise.
44819         (__ASSUME_EVENTFD2): Likewise.
44820         (__ASSUME_SIGNALFD4): Likewise.
44821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
44822         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
44823         Do not define.
44824         (__ASSUME_EVENTFD2): Likewise.
44825         (__ASSUME_SIGNALFD4): Likewise.
44826         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
44827         (__ASSUME_32BITUIDS): Likewise.
44828         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44829         (__ASSUME_IPC64): Likewise.
44830         (__ASSUME_ST_INO_64_BIT): Likewise.
44831         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
44832         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
44833         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
44834         (__ASSUME_UTIMES): Do not define.
44835         (__ASSUME_PSELECT): Likewise.
44836         (__ASSUME_PPOLL): Likewise.
44837         (__ASSUME_O_CLOEXEC): Likewise.
44838         (__ASSUME_SOCK_CLOEXEC): Likewise.
44839         (__ASSUME_IN_NONBLOCK): Likewise.
44840         (__ASSUME_PIPE2): Likewise.
44841         (__ASSUME_EVENTFD2): Likewise.
44842         (__ASSUME_SIGNALFD4): Likewise.
44843         (__ASSUME_DUP3): Likewise.
44844         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
44845         (__ASSUME_UTIMES): Likewise.
44846         (__ASSUME_O_CLOEXEC): Likewise.
44847         (__ASSUME_SOCK_CLOEXEC): Likewise.
44848         (__ASSUME_IN_NONBLOCK): Likewise.
44849         (__ASSUME_PIPE2): Likewise.
44850         (__ASSUME_EVENTFD2): Likewise.
44851         (__ASSUME_SIGNALFD4): Likewise.
44852         (__ASSUME_DUP3): Likewise.
44853         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44854         (__ASSUME_UTIMES): Likewise.
44855         (__ASSUME_O_CLOEXEC): Likewise.
44856         (__ASSUME_SOCK_CLOEXEC): Likewise.
44857         (__ASSUME_IN_NONBLOCK): Likewise.
44858         (__ASSUME_PIPE2): Likewise.
44859         (__ASSUME_EVENTFD2): Likewise.
44860         (__ASSUME_SIGNALFD4): Likewise.
44861         (__ASSUME_DUP3): Likewise.
44862         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
44863         Likewise.
44864         (__ASSUME_UTIMES): Likewise.
44865         (__ASSUME_EVENTFD2): Likewise.
44866         (__ASSUME_SIGNALFD4): Likewise.
44867         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44868         (__ASSUME_O_CLOEXEC): Likewise.
44869         (__ASSUME_SOCK_CLOEXEC): Likewise.
44870         (__ASSUME_IN_NONBLOCK): Likewise.
44871         (__ASSUME_PIPE2): Likewise.
44872         (__ASSUME_EVENTFD2): Likewise.
44873         (__ASSUME_SIGNALFD4): Likewise.
44874         (__ASSUME_DUP3): Likewise.
44875         (__ASSUME_UTIMES): Undefine.
44877         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
44878         feclearexcept.  Remove symbol versioning code.
44879         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
44880         symbol versioning code.
44881         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
44882         symbol versioning code.
44883         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
44884         feupdateenv.  Remove symbol versioning code.
44885         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
44886         fegetexceptflag.  Remove symbol versioning code.
44887         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
44888         fesetexceptflag.  Remove symbol versioning code.
44889         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
44890         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
44891         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
44892         (__posix_fadvise64_l32): Remove prototype.
44893         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
44894         code.
44896 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44898         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
44899         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
44900         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
44901         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
44903 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
44905         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
44906         current working directory
44908 2014-05-13  Roland McGrath  <roland@hack.frob.com>
44910         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
44911         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
44912         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
44913         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
44914         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
44915         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
44916         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
44917         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
44918         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
44919         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
44920         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
44921         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
44922         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
44923         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
44924         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
44925         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
44926         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
44927         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
44928         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
44929         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
44930         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
44931         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
44932         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
44933         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
44934         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
44935         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
44936         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
44937         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
44938         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
44939         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
44940         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
44941         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
44942         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
44943         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
44944         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
44945         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
44946         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
44947         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
44948         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
44949         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
44950         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
44951         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
44953         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
44954         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
44956         * sysdeps/unix/sysv/linux/arm/Makefile
44957         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
44958         Add rt-aeabi_unwind_cpp_pr1.
44959         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
44960         Add nptl-aeabi_unwind_cpp_pr1.
44961         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
44962         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
44963         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
44964         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
44965         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
44966         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
44968         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
44969         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
44970         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
44971         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
44973         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
44974         Deconditionalize the code that was previously under [RESET_PID].
44975         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
44977         * sysdeps/generic/exit-thread.h: New file.
44978         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
44979         * include/unistd.h (__exit_thread): Remove declaration.
44980         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
44981         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
44982         * csu/libc-start.c: Include <exit-thread.h>.
44983         (LIBC_START_MAIN): Pass no argument to __exit_thread.
44984         * nptl/pthread_create.c: Include <exit-thread.h>.
44985         (start_thread): Call __exit_thread in place of __exit_thread_inline.
44986         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
44987         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
44988         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
44989         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
44990         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
44991         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
44992         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
44993         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
44994         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
44995         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
44996         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
44997         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
44998         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
44999         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45000         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45001         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45003 2014-05-13  Andreas Schwab  <schwab@suse.de>
45005         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45007 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45009         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45010         (__ASSUME_UTIMES): Do not condition on kernel version.
45011         (__ASSUME_PSELECT): Define unconditionally.
45012         (__ASSUME_PPOLL): Likewise.
45013         (__ASSUME_ATFCTS): Likewise.
45014         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45015         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45016         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45017         (__ASSUME_UTIMENSAT): Define unconditionally.
45018         (__ASSUME_PRIVATE_FUTEX): Likewise.
45019         (__ASSUME_FALLOCATE): Likewise.
45020         (__ASSUME_O_CLOEXEC): Likewise.
45021         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45022         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45023         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45024         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45025         (__ASSUME_IN_NONBLOCK): Likewise.
45026         (__ASSUME_PIPE2): Likewise.
45027         (__ASSUME_EVENTFD2): Likewise.
45028         (__ASSUME_SIGNALFD4): Likewise.
45029         (__ASSUME_DUP3): Likewise.
45030         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45031         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45032         (__ASSUME_AT_RANDOM): Likewise.
45033         (__ASSUME_PREADV): Likewise.
45034         (__ASSUME_PWRITEV): Likewise.
45035         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45036         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45037         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45038         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45039         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45040         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45041         (__ASSUME_O_CLOEXEC): Define unconditionally.
45042         (__ASSUME_PSELECT): Do not undefine conditionally.
45043         (__ASSUME_PPOLL): Likewise.
45044         (__ASSUME_ATFCTS): Likewise.
45045         (__ASSUME_SET_ROBUST_LIST): Likewise.
45046         (__ASSUME_UTIMENSAT): Likewise.
45047         (__ASSUME_FDATASYNC): Define unconditionally.
45048         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45049         (__ASSUME_SIGFRAME_V2): Likewise.
45050         )__ASSUME_EVENTFD2): Likewise.
45051         (__ASSUME_SIGNALFD4): Likewise.
45052         (__ASSUME_PSELECT): Do not undefine conditionally.
45053         (__ASSUME_PPOLL): Likewise.
45054         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45055         (__ASSUME_PSELECT): Define unconditionally.
45056         (__ASSUME_PPOLL): Likewise.
45057         (__ASSUME_O_CLOEXEC): Likewise.
45058         (__ASSUME_SOCK_CLOEXEC): Likewise.
45059         (__ASSUME_IN_NONBLOCK): Likewise.
45060         (__ASSUME_PIPE2): Likewise.
45061         (__ASSUME_EVENTFD2): Likewise.
45062         (__ASSUME_SIGNALFD4): Likewise.
45063         (__ASSUME_DUP3): Likewise.
45064         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45065         (__ASSUME_O_CLOEXEC): Likewise.
45066         (__ASSUME_SOCK_CLOEXEC): Likewise.
45067         (__ASSUME_IN_NONBLOCK): Likewise.
45068         (__ASSUME_PIPE2): Likewise.
45069         (__ASSUME_EVENTFD2): Likewise.
45070         (__ASSUME_SIGNALFD4): Likewise.
45071         (__ASSUME_DUP3): Likewise.
45072         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45073         (__ASSUME_EVENTFD2): Likewise.
45074         (__ASSUME_SIGNALFD4): Likewise.
45075         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45077 2014-05-12  Andreas Schwab  <schwab@suse.de>
45079         [BZ #16932]
45080         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45081         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45082         than maximum RPC packet size.
45083         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45084         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45085         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45086         (_nss_nis_getservbyport_r): Likewise.
45088 2014-05-12  Will Newton  <will.newton@linaro.org>
45090         * malloc/Makefile (tests): Add tst-mallopt.
45091         * malloc/tst-mallopt.c: New file.
45093 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45095         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45096         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45098 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45100         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45101         (tst-tlsmod6.so): Likewise.
45103 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45105         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45107 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45109         [BZ #16064]
45110         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45111         and <dl-procinfo.h>.
45112         (__fegetenv): Save SSE state in envp->__eip if supported.
45113         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45114         envp->__eip if supported.
45115         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45116         and <dl-procinfo.h>.
45117         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45118         __data_offset and __data_selector in environment to 0.  Set SSE
45119         state if supported.
45120         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45121         test-fenv-sse.
45122         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45123         -mfpmath=sse.
45124         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45126 2014-05-09  Will Newton  <will.newton@linaro.org>
45128         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45129         and libc_relro_required for ARM.
45130         * sysdeps/arm/preconfigure: Regenerate.
45132 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45133             Stefan Liebler  <stli@linux.vnet.ibm.com>
45135         * config.make.in (enable-lock-elision): New Makefile variable.
45136         * configure.ac: Likewise.
45137         * configure: Regenerate.
45138         * sysdeps/s390/configure.ac:
45139         Add check for gcc transactions support.
45140         * sysdeps/s390/configure: Regenerate.
45141         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45142         Build elision files if enabled.
45143         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45144         Add lock elision support for s390.
45145         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45146         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45147         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45148         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45149         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45150         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45151         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45152         Likewise.
45153         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45154         Likewise.
45155         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45156         Likewise.
45157         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45158         Likewise.
45159         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45160         (__lll_timedlock_elision, __lll_lock_elision)
45161         (__lll_unlock_elision, __lll_trylock_elision)
45162         (lll_timedlock_elision, lll_lock_elision)
45163         (lll_unlock_elision, lll_trylock_elision): Add.
45164         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45165         (pthread_mutex_t): Add lock elision support for s390.
45167 2014-05-14  Wilco  <wdijkstr@arm.com>
45169         * sysdeps/arm/fclrexcpt.c: Cleanup.
45170         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45171         * sysdeps/arm/feenablxcpt.c: Cleanup.
45172         * sysdeps/arm/fegetenv.c: Cleanup.
45173         * sysdeps/arm/fegetexcept.c: Cleanup.
45174         * sysdeps/arm/fegetround.c: Cleanup.
45175         * sysdeps/arm/feholdexcpt.c: Cleanup.
45176         * sysdeps/arm/fesetenv.c: Cleanup.
45177         * sysdeps/arm/fesetround.c: Cleanup.
45178         * sysdeps/arm/feupdateenv.c: Cleanup.
45179         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45180         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45181         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45182         * sysdeps/arm/ftestexcept.c: Cleanup.
45183         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45184         * sysdeps/arm/setfpucw.c: Cleanup.
45186 2014-05-09  Will Newton  <will.newton@linaro.org>
45188         * sysdeps/arm/armv7/strcmp.S: New file.
45189         * NEWS: Mention addition of ARMv7 optimized strcmp.
45191 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45193         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45194         look for %.ac rather than %.in.
45196         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45197         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45198         * sysdeps/mach/hurd/configure: Regenerated.
45199         * sysdeps/unix/sysv/linux/configure: Regenerated.
45201         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45203 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45205         [BZ# 16922]
45206         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45207         (LONG_SUB): Ditto.
45208         (PTR_SUB): Ditto.
45210 2014-05-07  Andreas Schwab  <schwab@suse.de>
45212         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45213         when skipping over non-matching result from nscd.
45215 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45217         [BZ #16876]
45218         * nptl/sockperf.c (client): Check socket return value.
45220         [BZ #16877]
45221         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45222         nscd security class.
45224 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45226         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45227         * sysdeps/arm/unwind.h: ... here.
45229 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45231         [BZ# 16916]
45232         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45233         Define.
45235 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45237         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45238         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45239         multiarch strncpy for PPC64.
45240         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45241         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45243         multiarch optimizations.
45244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45245         (__libc_ifunc_impl_list): Likewise.
45246         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45247         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45248         multiarch stpncpy for PPC64.
45249         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45250         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45252 2014-05-06  Andreas Schwab  <schwab@suse.de>
45254         [BZ #16912]
45255         * gmon/mcount.c (_MCOUNT_DECL): Use
45256         atomic_compare_and_exchange_bool_acq instead of
45257         catomic_compare_and_exchange_bool_acq.
45259 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45261         * elf/Makefile (others, install-bin): Remove pldd.
45262         (pldd-modules): Variable removed.
45263         ($(objpfx)pldd): Target removed.
45264         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45265         (others, install-bin): Append pldd here.
45266         ($(objpfx)pldd): New target.
45268         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45269         to 0, so the first #if test emitted later doesn't see it undefined.
45270         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45271         * sysdeps/gnu/errlist.c: Regenerated.
45273 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45275         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45276         [libc_hidden_builtin_def]: Define to empty value.
45277         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45278         [libc_hidden_builtin_def]: Likewise.
45279         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45280         [libc_hidden_builtin_def]: Likewise.
45281         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45282         [libc_hidden_builtin_def]: Likewise.
45283         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45284         __redirect_memcpy and define ifunc as default hidden symbol.
45285         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45286         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45288 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45290         * locale/iso-4217.def: Reintroduce XDR currency.
45292 2014-05-04  Allan McRae  <allan@archlinux.org>
45294         * po/eo.po: Update Esperanto translation from translation project.
45296 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45298         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45299         and FEATURE_INDEX_MAX to 1.
45300         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45302 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45304         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45305         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45306         * iconvdata/big5.c (ONE_DIRECTION): Define.
45307         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45308         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45309         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45310         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45311         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45312         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45313         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45314         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45315         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45316         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45317         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45318         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45319         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45320         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45321         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45322         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45323         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45324         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45325         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45326         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45327         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45328         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45329         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45330         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45331         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45332         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45333         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45334         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45335         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45336         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45337         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45338         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45339         * iconvdata/johab.c (ONE_DIRECTION): Define.
45340         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45341         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45342         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45343         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45344         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45345         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45346         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45347         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45348         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45349         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45351 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45353         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45354         (_IO_JUMPS_OFFSET): Define to 0.
45356         * nptl/sysdeps/pthread/bits/libc-lock.h
45357         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45358         (__libc_lock_define_initialized_recursive): Always define using
45359         initializer.  Modern compilers treat uninitialized (implicit zero) and
45360         explicit zero initializers the same (i.e. put the datum in bss).
45362 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45364         * nscd/nscd-client.h: Include <string.h>.
45366 2014-05-01  David S. Miller  <davem@davemloft.net>
45368         [BZ #16885]
45369         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45370         multiple zero bytes exist at the end of a string.
45371         Reported by Aurelien Jarno <aurelien@aurel32.net>
45373         * string/test-strcmp.c (check): Add explicit test for situations where
45374         there are multiple zero bytes after the first.
45376 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45378         [BZ #16890]
45379         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45380         when compiling wprintf.
45381         * stdio-common/tstdiomisc.c (t3): New function.
45382         (main): Call it.
45384 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45386         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45387         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45388         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45389         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45391 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45393         * stdlib/longlong.h: Updated from GCC.
45395 2014-05-01  Will Newton  <will.newton@linaro.org>
45396             Bernard Ogden  <bernie.ogden@linaro.org>
45398         * NEWS: Update fixed bug list.
45400         [BZ #15119]
45401         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45403 2014-04-30  David S. Miller  <davem@davemloft.net>
45405         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45406         (libc_feholdexcept_setround_sparc_ctx): New function.
45407         (libc_fesetenv_sparc_ctx): Likewise.
45408         (libc_feupdateenv_sparc_ctx): Likewise.
45409         (libc_feholdsetround_sparc_ctx): Likewise.
45410         (libc_feholdexcept_setround_ctx): Define.
45411         (libc_feholdexcept_setroundf_ctx): Likewise.
45412         (libc_feholdexcept_setroundl_ctx): Likewise.
45413         (libc_fesetenv_ctx): Likewise.
45414         (libc_fesetenvf_ctx): Likewise.
45415         (libc_fesetenvl_ctx): Likewise.
45416         (libc_feupdateenv_ctx): Likewise.
45417         (libc_feupdateenvf_ctx): Likewise.
45418         (libc_feupdateenvl_ctx): Likewise.
45419         (libc_feresetround_ctx): Likewise.
45420         (libc_feresetroundf_ctx): Likewise.
45421         (libc_feresetroundl_ctx): Likewise.
45422         (libc_feholdsetround_ctx): Likewise.
45423         (libc_feholdsetroundf_ctx): Likewise.
45424         (libc_feholdsetroundl_ctx): Likewise.
45426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45427         with __USE_GNU instead of XOPEN cpp guards.
45429         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45430         0.
45432         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45433         with XOPEN cpp guards.
45435 2014-04-30  Julian Brown  <julian@codesourcery.com>
45437         [BZ #16888]
45438         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45439         handling.
45441 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45443         [BZ #9894]
45444         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45445         Change to 2.6.32.
45446         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45447         * sysdeps/unix/sysv/linux/configure: Regenerated.
45448         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45449         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45450         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45451         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45452         * README: Update reference to required Linux kernel version.
45453         * manual/install.texi (Linux): Update reference to required Linux
45454         kernel headers version.
45455         * INSTALL: Regenerated.
45457         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45458         header inclusion.
45459         [POSIX] (limits.h): Likewise.
45460         [POSIX] (math.h): Likewise.
45461         [POSIX] (sys/wait.h): Likewise.
45462         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45463         function.
45464         [POSIX] (stddef.h): Do not allow header inclusion.
45466 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45468         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45470 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45472         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45473         Return immediately after lll_futex_wake.
45475 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45477         [BZ #16791]
45478         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45479         structure.
45480         (datahead_init_pos): Call datahead_init_common early.
45481         (datahead_init_neg): Likewise.
45483         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45484         datahead_init_neg): New functions.
45485         * nscd/aicache.c (addhstaiX): Use them.
45486         * nscd/grpcache.c (cache_addgr): Likewise.
45487         * nscd/hstcache.c (cache_addhst): Likewise.
45488         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45489         * nscd/netgroupcache.c (do_notfound): Likewise.
45490         (addgetnetgrentX): Likewise.
45491         (addinnetgrX): Likewise.
45492         * nscd/pwdcache.c (cache_addpw): Likewise.
45493         * nscd/servicescache.c (cache_addserv): Likewise.
45495 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45496             Atsushi Onoe  <atsushi@onoe.org>
45498         [BZ #14308]
45499         [BZ #12994]
45500         [BZ #13651]
45501         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45502         one response is valid.
45503         * resolv/res_send.c (send_dg): Check for validity of other
45504         response if the current response is a referral.
45506 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45508         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45510 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45512         [BZ #16823]
45513         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45514         Always divide by positive zero when computing -Inf result.
45515         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45516         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45518 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45520         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45521         FPSCR if value do not change.
45522         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45523         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45524         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45525         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45526         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45527         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45528         function.
45530 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45532         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45533         * sysdeps/unix/sysv/linux/hppa: Move directory from
45534         ports/systeps/unix/sysv/linux/hppa.
45535         * README: Update listing for hppa-*-linux-gnu.
45537 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45539         [BZ #16754]
45540         * manual/stdio.texi (Hook functions): Fix types of stream hook
45541         functions.
45542         [BZ #16854]
45543         * socket/sys/socket.h: Fix typo in comment.
45545 2014-04-28  Wilco  <wdijkstr@arm.com>
45547         * sysdeps/arm/fenv_private.h: New file.
45548         * sysdeps/arm/math_private.h: New file.
45549         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45551 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45553         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45554         with __int128_t.
45555         (La_x86_64_retval): Likewise.
45557 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45559         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45560         fpsr if value didn't change.
45561         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45562         to fpcr if value didn't change.
45563         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45564         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45565         fpsr or fpcr if value didn't change.
45566         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45567         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45568         fpcr if value didn't change.
45569         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45570         to fpsr if value didn't change.
45572 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45574         * nptl/tst-sem3.c: Use test-skeleton.c
45575         (main): Rename to do_test.  Use return instead of
45576         exit.
45577         * nptl/tst-sem4.c: Use test-skeleton.c
45578         (main): Rename to do_test.
45580 2014-04-22  David S. Miller  <davem@davemloft.net>
45582         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45583         (struct sigaction): New struct member __glibc_reserved0, change
45584         type of sa_flags to int.
45586 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45588         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45589         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45591 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45593         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45594         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45596 2014-04-22  Will Newton  <will.newton@linaro.org>
45597             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45599         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45600         (__longjmp): Add longjmp and longjmp_target SystemTap
45601         probes.
45602         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45603         (__sigsetjmp): Add setjmp SystemTap probe.
45605 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45607         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45608         match manual order.
45610 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45612         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45614         * sysdeps/powerpc/fpu/fenv_private.h
45615         (libc_feholdexcept_setroundl_ctx): Define to
45616         libc_feholdexcept_setround_ppc_ctx.
45617         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45618         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45619         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45620         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45622 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45624         * sysdeps/aarch64/math-tests.h: New file.
45626 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45628         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45629         New.
45630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45631         Check and set bit_AVX2_Usable.
45632         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45633         macro.
45634         (bit_AVX2): Likewise.
45635         (index_AVX2_Usable): Likewise.
45636         (CPUID_AVX2): Likewise.
45637         (HAS_AVX2): Likewise.
45639 2014-04-17  Will Newton  <will.newton@linaro.org>
45641         * manual/setjmp.texi (System V contexts): Add note that
45642         calling setcontext on a context created by a call to a
45643         signal handler is undefined.  Update text to note that
45644         setcontext from a signal handler is possible but not
45645         recommended.
45647         [BZ #16629]
45648         * stdlib/tst-setcontext.c: Include signal.h.
45649         (main): Check that the signal stack before and
45650         after swapcontext is the same.
45652         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45653         Re-implement to restore registers in user code and avoid
45654         rt_sigreturn system call.
45656 2014-04-17  Wilco  <wdijkstr@arm.com>
45658         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45659         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45660         * math/test-fenv.c: Skip exception trap tests on targets which only
45661         support non-stop mode.
45663 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45664             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45666         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45667         (libc_feholdsetround_aarch64_ctx)
45668         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45669         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45670         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45671         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45672         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45673         (libc_feresetround_noexl_ctx): Define.
45675 2014-04-16  Richard Henderson  <rth@redhat.com>
45677         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45679         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45680         unwind tables.
45682         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45683         const from the non-libc, non-ldso copy.
45685         * sysdeps/alpha/libm-test-ulps: Regenerate.
45687 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45688             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45690         * sysdeps/aarch64/fpu/math_private.h: New file.
45692 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45694         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45696 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45698         [BZ #16275]
45699         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45700         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45701         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45702         Intel MPX bound registers before _dl_profile_fixup.
45703         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45704         registers after _dl_profile_fixup.  Save and restore bound
45705         registers bnd0/bnd1 when calling _dl_call_pltexit.
45706         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45707         (LR_BND_OFFSET): Likewise.
45708         (LRV_BND0_OFFSET): Likewise.
45709         (LRV_BND1_OFFSET): Likewise.
45711 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45713         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45714         to...
45715         * sysdeps/mach/hurd/i386/tls.h: ... here.
45716         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45717         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45718         fields.
45720 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45722         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
45724 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45726         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45728 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
45730         [BZ #14770]
45731         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
45732         * sysdeps/s390/configure: Regenerate.
45734         [BZ #16824]
45735         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
45736         Set round-to-nearest internally to reduce error accumulation.
45738 2014-04-16  Alan Modra  <amodra@gmail.com>
45740         [BZ #16740]
45741         [BZ #16619]
45742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
45743         * math/libm-test.inc (frexp_test_data): Add tests.
45744         * NEWS: Update fixed bug list.
45746 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45748         * benchtests/Makefile: Depend on libraries in build directory.
45749         (bench-math): Separate out math tests.
45750         (bench-pthread): Separate out pthread tests.
45751         (bench): Include math and pthread tests.
45753 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
45755         [BZ #16831]
45756         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
45757         _dl_debug_initialize.
45759         * configure.ac: Remove SELinux header check.
45760         * configure: Regenerate.
45761         * nscd/selinux.c (perms): Array of const char* to permission names.
45762         (nscd_request_avc_has_perm): Call security_deny_unknown to find
45763         default policy. Call string_to_security_class and string_to_av_perm to
45764         translate strings. Enforce default policy and call avs_has_perm with
45765         results of translated strings.
45767 2014-04-13  David S. Miller  <davem@davemloft.net>
45769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45771 2014-04-12  Allan McRae  <allan@archlinux.org>
45773         [BZ #16838]
45774         * manual/string.texi (Collation Functions): Fix qsort argument
45775         order in example.
45776         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45778 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
45780         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
45781         Make the test a no-op if there are no exceptions defined.
45783 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
45785         * elf/Makefile (tests): make tst-dlopen-aout conditional on
45786         enable-hardcoded-path-in-tests
45788 2014-04-11  Will Newton  <will.newton@linaro.org>
45790         * benchtests/Makefile (extra-objs): Add json-lib.o.
45791         (bench-func): Tidy up JSON output.
45792         * benchtests/bench-skeleton.c: Include json-lib.h.
45793         (main): Use JSON library functions to do output of
45794         benchmark results.
45795         * benchtests/bench-timing-type.c (main): Output the
45796         timing type simply, leaving formatting to the user.
45797         * benchtests/json-lib.c: New file.
45798         * benchtests/json-lib.h: Likewise.
45800 2014-04-11  Torvald Riegel  <triegel@redhat.com>
45802         [BZ #15215]
45803         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
45804         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
45805         memory barriers.  Add comments.
45806         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
45807         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
45808         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
45809         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
45810         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45811         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
45813 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45815         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
45816         * sysdeps/s390/s390-64/configure.ac: ... this ...
45817         * sysdeps/s390/configure.ac: ... to here.
45818         * sysdeps/s390/s390-32/configure: Delete file.
45819         * sysdeps/s390/s390-64/configure: Delete file.
45820         * sysdeps/s390/configure: Regenerate.
45822 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
45824         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
45826 2014-04-11  Will Newton  <will.newton@linaro.org>
45828         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
45829         to zero if it is not defined elsewhere.  (mtrim): Test
45830         the value of MALLOC_DEBUG with #if rather than #ifdef.
45832 2014-04-10 Torvald Riegel  <triegel@redhat.com>
45834         * benchtests/pthread_once-inputs: New file.
45835         * benchtests/pthread_once-source.c: New file.
45836         * benchtests/README: Update documentation.
45838 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
45839             H.J. Lu  <hongjiu.lu@intel.com>
45841         [BZ #16275]
45842         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
45843         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
45844         * sysdeps/x86_64/configure: Regenerated.
45845         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
45846         macro.
45847         (REGISTER_SAVE_RAX): Likewise.
45848         (REGISTER_SAVE_RCX): Likewise.
45849         (REGISTER_SAVE_RDX): Likewise.
45850         (REGISTER_SAVE_RSI): Likewise.
45851         (REGISTER_SAVE_RDI): Likewise.
45852         (REGISTER_SAVE_R8): Likewise.
45853         (REGISTER_SAVE_R9): Likewise.
45854         (REGISTER_SAVE_BND0): Likewise.
45855         (REGISTER_SAVE_BND1): Likewise.
45856         (REGISTER_SAVE_BND2): Likewise.
45857         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
45858         bound registers when calling _dl_fixup.
45860 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45862         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
45863         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
45864         of its definition.
45865         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
45866         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
45867         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
45868         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
45869         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
45870         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
45871         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
45873 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
45875         [BZ #15514]
45876         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
45877         pathconf(_PC_NAME_MAX).
45879 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45881         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
45882         Remove macro usage.
45883         (__PTHREAD_SPINS): Move definition to ...
45884         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
45885         (__PTHREAD_SPINS): ... here.
45886         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45887         (__PTHREAD_SPIN): Likewise.
45888         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
45889         (__PTHREAD_SPIN): Likewise.
45890         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
45891         (__PTHREAD_SPIN): Likewise.
45892         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
45893         (__PTHREAD_SPIN): Likewise.
45894         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
45895         (__PTHREAD_SPIN): Likewise.
45896         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
45897         (__PTHREAD_SPIN): Likewise.
45898         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
45899         (__PTHREAD_SPIN): Likewise.
45900         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
45901         (__PTHREAD_SPIN): Likewise.
45902         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
45903         (__PTHREAD_SPIN): Likewise.
45904         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
45905         (__PTHREAD_SPIN): Likewise.
45906         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
45907         (__PTHREAD_SPIN): Likewise.
45908         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
45909         (__PTHREAD_SPIN): Likewise.
45911         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
45912         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
45913         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
45914         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
45915         imply folder.
45916         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
45917         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
45918         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
45919         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
45920         correct imply path.
45921         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
45922         strlen symbol for non multi-arch builds.
45923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
45924         missing hidden_def and weak_alias.
45926 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
45928         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
45930 2014-04-07  Will Newton  <will.newton@linaro.org>
45932         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
45933         and contents.  [!_LIBC] Remove #ifndef and contents.
45934         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
45935         * string/memccpy.c (__memccpy): Use ANSI prototype.
45936         * string/memfrob.c (memfrob): Likewise.
45937         * string/strcoll.c (STRCOLL): Likewise.
45938         * string/strlen.c (strlen): Likewise.
45939         * string/strtok.c (STRTOK): Likewise.
45940         * string/strcat.c: Remove unused #include of memcopy.h.
45941         (strcat): Use ANSI prototype.
45942         * string/strchr.c: Remove unused #include of memcopy.h.
45943         (strchr): Use ANSI prototype.
45944         * string/strcmp.c: Remove unused #include of memcopy.h.
45945         (strcmp): Use ANSI prototype.
45946         * string/strcpy.c: Remove unused #include of memcopy.h.
45947         (strcpy): Use ANSI prototype.
45949 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45951         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
45952         * config.make.in (config-extra-cppflags): Set it from
45953         libc_extra_cppflags.
45954         * configure.ac (libc_extra_cflags): Make it accumulate over
45955         configure fragments.
45956         (libc_extra_cppflags): New flag.
45957         * configure. Regenerate.
45958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45959         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
45960         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
45961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
45963         [BZ #16815]
45964         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
45965         result for FE_DOWNWARD rounding mode.
45966         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
45967         Likewise.
45968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45970 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
45972         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
45973         in function argument name.
45975 2014-04-03  David Svoboda  <svoboda@cert.org>
45977         [BZ #5666]
45978         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
45979         explicitly.
45981 2014-04-03  Roland McGrath  <roland@hack.frob.com>
45983         * elf/dl-unmap-segments.h: New file.
45984         * sysdeps/generic/ldsodefs.h
45985         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
45986         * elf/dl-close.c: Include <dl-unmap-segments.h>.
45987         * elf/dl-fptr.c: Likewise.
45988         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
45989         * sysdeps/aarch64/tlsdesc.c: Likewise.
45990         * sysdeps/arm/tlsdesc.c: Likewise.
45991         * sysdeps/i386/tlsdesc.c: Likewise.
45992         * sysdeps/tile/dl-runtime.c: Likewise.
45993         * sysdeps/x86_64/tlsdesc.c: Likewise.
45994         * elf/dl-load.h: New file.
45995         * elf/dl-load.c: Include it.
45996         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
45997         Macros moved to dl-load.h.
45998         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
45999         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46000         Use _dl_unmap_segments in place of __munmap.
46001         Break out segment-mapping loop into ...
46002         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46004 2014-04-03  Will Newton  <will.newton@linaro.org>
46006         * elf/dl-lookup.c (do_lookup_x): Remove comment
46007         referring to nested function and move variable
46008         declarations down to before first use.
46010 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46012         [BZ #16799]
46013         [BZ #16800]
46014         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46015         with 0 numerator.
46016         * math/s_catanf.c (__catanf): Likewise.
46017         * math/s_catanh.c (__catanh): Likewise.
46018         * math/s_catanhf.c (__catanhf): Likewise.
46019         * math/s_catanhl.c (__catanhl): Likewise.
46020         * math/s_catanl.c (__catanl): Likewise.
46021         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46022         by positive zero when computing -Inf result.
46023         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46024         (catanh_test): Likewise.
46025         * sysdeps/i386/fpu/libm-test-ulps: Update.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46028         [BZ #16789]
46029         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46030         instead of using underflowing value in computing result.
46031         * math/s_clog10.c (__clog10): Likewise.
46032         * math/s_clog10f.c (__clog10f): Likewise.
46033         * math/s_clog10l.c (__clog10l): Likewise.
46034         * math/s_clogf.c (__clogf): Likewise.
46035         * math/s_clogl.c (__clogl): Likewise.
46036         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46037         (clog10_test): Likewise.
46038         * sysdeps/i386/fpu/libm-test-ulps: Update.
46039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46041 2014-04-02  Alan Modra  <amodra@gmail.com>
46043         [BZ #16739]
46044         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46045         output when value is near a power of two.  Use int64_t for lx and
46046         remove casts.  Use decimal rather than hex exponent constants.
46047         Don't use long double multiplication when double will suffice.
46048         * math/libm-test.inc (nextafter_test_data): Add tests.
46049         * NEWS: Add 16739 and 16786 to bug list.
46051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46053         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46055 2014-04-01  Will Newton  <will.newton@linaro.org>
46057         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46058         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46060 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46062         [BZ #13347]
46063         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46064         * nptl/tst-setuid2.c: New file.
46065         * nptl/Makefile (xtests): Add tst-setuid2.
46067 2014-04-01  Alan Modra  <amodra@gmail.com>
46069         [BZ #16786]
46070         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46072 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46074         [BZ #6803]
46075         [BZ #6804]
46076         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46077         set errno as appropriate.
46078         * math/w_scalbf.c (__scalbf): Likewise.
46079         * math/w_scalbl.c (__scalbl): Likewise.
46080         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46081         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46082         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46083         Add more NaN tests.
46085         [BZ #16349]
46086         * math/w_atan2.c: Include <errno.h>.
46087         (__atan2): Set errno for result underflowing to zero.
46088         * math/w_atan2f.c: Include <errno.h>.
46089         (__atan2f): Set errno for result underflowing to zero.
46090         * math/w_atan2l.c: Include <errno.h>.
46091         (__atan2l): Set errno for result underflowing to zero.
46092         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46093         tests.
46094         * math/auto-libm-test-out: Regenerated.
46096 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46098         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46099         Encode instruction correctly in little endian.
46100         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46101         Likewise.
46102         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46103         Likewise.
46104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46105         Likewise.
46106         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46107         Likewise.
46109 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46111         [BZ #9894]
46112         * sysdeps/unix/sysv/linux/kernel-features.h
46113         [__sparc__ && !__arch64__ && !__sparc_v9__]
46114         (__ASSUME_SET_ROBUST_LIST): Do not define.
46115         [__sparc__ && !__arch64__ && !__sparc_v9__]
46116         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46117         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46118         Likewise.
46119         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46120         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46121         (__ASSUME_REQUEUE_PI): Likewise.
46122         (__ASSUME_SET_ROBUST_LIST): Likewise.
46123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46124         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46125         Undefine.
46126         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46127         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46128         Likewise.
46129         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46130         Likewise.
46131         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46132         Likewise.
46133         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46134         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46135         Undefine.
46136         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46137         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46138         Likewise.
46140         [BZ #16648]
46141         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46143         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46145 2014-03-31  Will Newton  <will.newton@linaro.org>
46147         * benchtests/Makefile (bench): Add ffs and ffsll to list
46148         of tests.
46149         * benchtests/ffs-inputs: New file.
46150         * benchtests/ffsll-inputs: Likewise.
46152 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46154         [BZ #16770]
46155         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46156         too large before casting to int.
46157         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46158         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46159         * math/libm-test.inc (scalb_test_data): Add more tests.
46161 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46163         * benchtests/Makefile (DETAILED_OPT): New make option.
46164         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46165         set.
46166         * benchtests/bench-skeleton.c: Include stdbool.h.
46167         (main): Store and print timings per input.
46168         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46169         member to each argument value.
46170         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46171         (_print_arg_data): Initialize per-input timing to 0.
46173         * benchtests/Makefile (timing-type): New binary.
46174         (bench-clean): Also remove bench-timing-type.
46175         (bench): New target for timing-type.
46176         (bench-func): Print output in JSON format.
46177         * benchtests/bench-skeleton.c (main): Print output in JSON
46178         format.
46179         * benchtests/bench-timing-type.c: New file.
46180         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46181         (TIMING_PRINT_STATS): Remove.
46182         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46183         name separately.
46185         * benchtests/bench-modf.c: Remove.
46186         * benchtests/modf-inputs: New inputs file.
46188 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46190         [BZ #16362]
46191         * math/s_clog10.c (M_PI_LOG10E): New macro.
46192         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46193         imaginary parts are 0.
46194         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46195         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46196         imaginary parts are 0.
46197         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46198         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46199         imaginary parts are 0.
46200         * math/libm-test.inc (clog10_test_data): Update expected results
46201         for when real and imaginary parts are 0.
46203 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46205         * elf/dl-load.c: Finish conversion of __builtin_expect into
46206         __glibc_{un}likely.
46208 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46210         [BZ #16348]
46211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46212         1+x for argument with exponent below -67.
46213         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46214         Likewise.
46215         * math/auto-libm-test-in: Add more tests of exp.
46216         * math/auto-libm-test-out: Regenerated.
46218 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46220         [BZ #16759]
46221         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46222         (nscd_getnetgrent): Use it.
46224         [BZ #16760]
46225         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46226         of stpcpy.
46228 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46230         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46231         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46232         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46233         (lll_robust_unlock): Remove out of line section. Use cfi
46234         intrinsics.
46235         (LLL_STUB_UNWIND_INFO*): Remove.
46236         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46237         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46238         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46239         (lll_robust_unlock): Remove out of line section. Use cfi
46240         intrinsics.
46241         (LLL_STUB_UNWIND_INFO*): Remove.
46243 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46245         [BZ #16758]
46246         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46247         blank values.
46249 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46251         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46253 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46255         [BZ #16198]
46256         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46257         fnstenv.
46258         * math/test-fenv-preserve.c: New file.
46259         * math/Makefile (tests): Add test-fenv-preserve.
46261 2014-03-26  Will Newton <will.newton@linaro.org>
46263         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46265 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46267         * scripts/versionlist.awk: Partition the version sets and emit all
46268         GLIBC_* (sorted) before all others (sorted).
46270 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46272         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46273         GLIBC_2.2.5 version.
46275 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46277         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46278         calls.
46280         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46281         previous change.
46283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46285 2014-03-25  Andreas Schwab  <schwab@suse.de>
46287         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46288         label to be used after in6ailist is initialized.
46290 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46293         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46295 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46297         [BZ #16357]
46298         [BZ #16599]
46299         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46300         min_plus_half.
46301         (fp_formats): Update initializers.
46302         (init_fp_formats): Initialize new field.
46303         (output_for_one_input_case): Allow underflow for results up to
46304         min_plus_half.
46305         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46306         * math/auto-libm-test-in: Don't mark some underflows from asin and
46307         atanh as spurious.
46308         * math/auto-libm-test-out: Regenerated.
46309         * sysdeps/i386/fpu/libm-test-ulps: Update.
46310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46312 2014-03-25  Andreas Schwab  <schwab@suse.de>
46314         * libio/Makefile (tst-ftell-partial-wide-ENV)
46315         (tst-ftell-active-handler-ENV): Define.
46317 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46319         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46321 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46323         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46325 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46327         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46328         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46329         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46331 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46333         [BZ #16634]
46334         * elf/dl-load.c (open_verify): Add mode parameter.
46335         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46336         (open_path): Change from boolean 'secure' to complete flag 'mode'
46337         (_dl_map_object): Adjust.
46338         * elf/Makefile (tests): Add tst-dlopen-aout.
46339         * elf/tst-dlopen-aout.c: New test.
46341 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46343         [BZ #16714]
46344         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46345         (struct stat): Rename member pad0 to __glibc_reserved0.
46347         [BZ #16712]
46348         * sysdeps/s390/s390-32/bits/wordsize.h
46349         (__WORDSIZE32_SIZE_ULONG): New define.
46350         * sysdeps/s390/s390-64/bits/wordsize.h
46351         (__WORDSIZE32_SIZE_ULONG): Likewise.
46352         * sysdeps/generic/stdint.h (SIZE_MAX):
46353         Define as UL if __WORDSIZE32_SIZE_ULONG.
46355         [BZ #16713]
46356         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46357         (__glibc_reserved0): New variable.
46358         (sa_flags): Change type to int.
46360         * posix/Makefile (before-compile): Use += before-compile instead
46361         of a :=.
46363         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46364         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46366 2014-03-20  Andreas Schwab  <schwab@suse.de>
46368         [BZ #16743]
46369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46370         non-matching result from nscd.
46372 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46374         * scripts/bench.py: Moved to ...
46375         * benchtests/scripts/bench.py: ... here.
46376         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46378 2014-03-24  Andreas Schwab  <schwab@suse.de>
46380         [BZ #16002]
46381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46382         alloca_account and account alloca use for struct in6ailist.
46384 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46386         [BZ #16284]
46387         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46388         rounding mode to recompute results that overflow to infinity or
46389         underflow to zero.
46390         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46391         bug 16284.
46392         * math/auto-libm-test-out: Regenerated.
46393         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46394         (ccosh_test): Likewise.
46395         (csin_test_data): Use plus_oflow.
46396         (csin_test): Use ALL_RM_TEST.
46397         (csinh_test_data): Use plus_oflow.
46398         (csinh_test): Use ALL_RM_TEST.
46399         * sysdeps/i386/fpu/libm-test-ulps: Update.
46400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46402 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46404         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46405         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46406         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46408         [BZ #16731]
46409         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46410         when x - 1 is zero.
46411         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46412         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46413         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46415         argument is 1.
46416         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46417         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46418         zero.
46419         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46420         * sysdeps/i386/fpu/libm-test-ulps: Update.
46421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46423 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46425         * scripts/bench.pl: Remove file.
46426         * scripts/bench.py: New benchmark script.
46427         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46428         * benchtests/README: Mention python dependency.
46429         * scripts/pylintrc: New file.
46430         * scripts/pylint: New file.
46432         * bits/mathdef.h: Use #ifdef instead of #if.
46433         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46434         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46435         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46436         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46437         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46438         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46440 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46441             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46443         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46445         and strpbrk-ppc64 objects.
46446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46447         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46448         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46449         multiarch strpbrk for POWER7.
46450         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46451         multiarch strpbrk for PPC64.
46452         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46453         ifunc selector.
46454         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46455         strpbrk for POWER7.
46457 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46459         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46460         (atan_test): Likewise.
46461         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46462         (atanh_test): Use ALL_RM_TEST.
46463         (atan2_test_data): Likewise.
46464         (cabs_test): Likewise.
46465         (cacosh_test): Likewise.
46466         (carg_test): Likewise.
46467         (casin_test): Likewise.
46468         (casinh_test): Likewise.
46469         (cbrt_test): Likewise.
46470         (csqrt_test): Likewise.
46471         (erf_test): Likewise.
46472         (erfc_test): Likewise.
46473         (pow10_test): Likewise.
46474         (exp2_test): Likewise.
46475         (hypot_test): Likewise.
46476         (j0_test): Likewise.
46477         (j1_test): Likewise.
46478         (lgamma_test): Likewise.
46479         (gamma_test): Likewise.
46480         (sincos_test): Likewise.
46481         (tanh_test): Likewise.
46482         (y0_test): Likewise.
46483         (y1_test): Likewise.
46484         * sysdeps/i386/fpu/libm-test-ulps: Update.
46485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46487 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46489         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46491         and strcspn-ppc64 objects.
46492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46493         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46494         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46495         multiarch strcspn for POWER7.
46496         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46497         multiarch strcspn for PPC64.
46498         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46499         ifunc selector.
46500         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46501         strcspn for POWER7.
46503 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46505         * math/gen-libm-test.pl (generate_testfile): Expect only function
46506         name as argument to AUTO_TESTS_* and pass results for all rounding
46507         modes to parse_args.
46508         (parse_auto_input): Separate inputs of automatic tests from
46509         outputs before storing in %auto_tests.
46510         * math/libm-test.inc (acos_test_data): Update call to
46511         AUTO_TESTS_f_f.
46512         (acos_test): Use ALL_RM_TEST.
46513         (acos_tonearest_test_data): Remove.
46514         (acos_test_tonearest): Likewise.
46515         (acos_towardzero_test_data): Likewise.
46516         (acos_test_towardzero): Likewise.
46517         (acos_downward_test_data): Likewise.
46518         (acos_test_downward): Likewise.
46519         (acos_upward_test_data): Likewise.
46520         (acos_test_upward): Likewise.
46521         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46522         (asin_test_data): Likewise.
46523         (asin_test): Use ALL_RM_TEST.
46524         (asin_tonearest_test_data): Remove.
46525         (asin_test_tonearest): Likewise.
46526         (asin_towardzero_test_data): Likewise.
46527         (asin_test_towardzero): Likewise.
46528         (asin_downward_test_data): Likewise.
46529         (asin_test_downward): Likewise.
46530         (asin_upward_test_data): Likewise.
46531         (asin_test_upward): Likewise.
46532         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46533         (atan_test_data): Likewise.
46534         (atanh_test_data): Likewise.
46535         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46536         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46537         (carg_test_data): Likewise.
46538         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46539         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46540         (ccosh_test_data): Likewise.
46541         (cexp_test_data): Likewise.
46542         (clog_test_data): Likewise.
46543         (clog10_test_data): Likewise.
46544         (cos_test_data): Update call to AUTO_TESTS_f_f.
46545         (cos_test): Use ALL_RM_TEST.
46546         (cos_tonearest_test_data): Remove.
46547         (cos_test_tonearest): Likewise.
46548         (cos_towardzero_test_data): Likewise.
46549         (cos_test_towardzero): Likewise.
46550         (cos_downward_test_data): Likewise.
46551         (cos_test_downward): Likewise.
46552         (cos_upward_test_data): Likewise.
46553         (cos_test_upward): Likewise.
46554         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46555         (cosh_test): Use ALL_RM_TEST.
46556         (cosh_tonearest_test_data): Remove.
46557         (cosh_test_tonearest): Likewise.
46558         (cosh_towardzero_test_data): Likewise.
46559         (cosh_test_towardzero): Likewise.
46560         (cosh_downward_test_data): Likewise.
46561         (cosh_test_downward): Likewise.
46562         (cosh_upward_test_data): Likewise.
46563         (cosh_test_upward): Likewise.
46564         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46565         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46566         (ctan_test_data): Likewise.
46567         (ctan_test): Use ALL_RM_TEST.
46568         (ctan_tonearest_test_data): Remove.
46569         (ctan_test_tonearest): Likewise.
46570         (ctan_towardzero_test_data): Likewise.
46571         (ctan_test_towardzero): Likewise.
46572         (ctan_downward_test_data): Likewise.
46573         (ctan_test_downward): Likewise.
46574         (ctan_upward_test_data): Likewise.
46575         (ctan_test_upward): Likewise.
46576         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46577         (ctanh_test): Use ALL_RM_TEST.
46578         (ctanh_tonearest_test_data): Remove.
46579         (ctanh_test_tonearest): Likewise.
46580         (ctanh_towardzero_test_data): Likewise.
46581         (ctanh_test_towardzero): Likewise.
46582         (ctanh_downward_test_data): Likewise.
46583         (ctanh_test_downward): Likewise.
46584         (ctanh_upward_test_data): Likewise.
46585         (ctanh_test_upward): Likewise.
46586         (erf_test_data): Update call to AUTO_TESTS_f_f.
46587         (erfc_test_data): Likewise.
46588         (exp_test_data): Likewise.
46589         (exp_test): Use ALL_RM_TEST.
46590         (exp_tonearest_test_data): Remove.
46591         (exp_test_tonearest): Likewise.
46592         (exp_towardzero_test_data): Likewise.
46593         (exp_test_towardzero): Likewise.
46594         (exp_downward_test_data): Likewise.
46595         (exp_test_downward): Likewise.
46596         (exp_upward_test_data): Likewise.
46597         (exp_test_upward): Likewise.
46598         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46599         (exp10_test): Use ALL_RM_TEST.
46600         (exp10_tonearest_test_data): Remove.
46601         (exp10_test_tonearest): Likewise.
46602         (exp10_towardzero_test_data): Likewise.
46603         (exp10_test_towardzero): Likewise.
46604         (exp10_downward_test_data): Likewise.
46605         (exp10_test_downward): Likewise.
46606         (exp10_upward_test_data): Likewise.
46607         (exp10_test_upward): Likewise.
46608         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46609         (expm1_test_data): Likewise.
46610         (expm1_test): Use ALL_RM_TEST.
46611         (expm1_tonearest_test_data): Remove.
46612         (expm1_test_tonearest): Likewise.
46613         (expm1_towardzero_test_data): Likewise.
46614         (expm1_test_towardzero): Likewise.
46615         (expm1_downward_test_data): Likewise.
46616         (expm1_test_downward): Likewise.
46617         (expm1_upward_test_data): Likewise.
46618         (expm1_test_upward): Likewise.
46619         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46620         (fma_test): Use ALL_RM_TEST.
46621         (fma_towardzero_test_data): Remove.
46622         (fma_test_towardzero): Likewise.
46623         (fma_downward_test_data): Likewise.
46624         (fma_test_downward): Likewise.
46625         (fma_upward_test_data): Likewise.
46626         (fma_test_upward): Likewise.
46627         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46628         (j0_test_data): Update call to AUTO_TESTS_f_f.
46629         (j1_test_data): Likewise.
46630         (jn_test_data): Update call to AUTO_TESTS_if_f.
46631         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46632         (log_test_data): Update call to AUTO_TESTS_f_f.
46633         (log10_test_data): Likewise.
46634         (log1p_test_data): Likewise.
46635         (log2_test_data): Likewise.
46636         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46637         (pow_tonearest_test_data): Likewise.
46638         (sin_test_data): Update call to AUTO_TESTS_f_f.
46639         (sin_test): Use ALL_RM_TEST.
46640         (sin_tonearest_test_data): Remove.
46641         (sin_test_tonearest): Likewise.
46642         (sin_towardzero_test_data): Likewise.
46643         (sin_test_towardzero): Likewise.
46644         (sin_downward_test_data): Likewise.
46645         (sin_test_downward): Likewise.
46646         (sin_upward_test_data): Likewise.
46647         (sin_test_upward): Likewise.
46648         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46649         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46650         (sinh_test): Use ALL_RM_TEST.
46651         (sinh_tonearest_test_data): Remove.
46652         (sinh_test_tonearest): Likewise.
46653         (sinh_towardzero_test_data): Likewise.
46654         (sinh_test_towardzero): Likewise.
46655         (sinh_downward_test_data): Likewise.
46656         (sinh_test_downward): Likewise.
46657         (sinh_upward_test_data): Likewise.
46658         (sinh_test_upward): Likewise.
46659         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46660         (sqrt_test): Use ALL_RM_TEST.
46661         (sqrt_tonearest_test_data): Remove.
46662         (sqrt_test_tonearest): Likewise.
46663         (sqrt_towardzero_test_data): Likewise.
46664         (sqrt_test_towardzero): Likewise.
46665         (sqrt_downward_test_data): Likewise.
46666         (sqrt_test_downward): Likewise.
46667         (sqrt_upward_test_data): Likewise.
46668         (sqrt_test_upward): Likewise.
46669         (tan_test_data): Update call to AUTO_TESTS_f_f.
46670         (tan_test): Use ALL_RM_TEST.
46671         (tan_tonearest_test_data): Remove.
46672         (tan_test_tonearest): Likewise.
46673         (tan_towardzero_test_data): Likewise.
46674         (tan_test_towardzero): Likewise.
46675         (tan_downward_test_data): Likewise.
46676         (tan_test_downward): Likewise.
46677         (tan_upward_test_data): Likewise.
46678         (tan_test_upward): Likewise.
46679         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46680         (tgamma_test_data): Likewise.
46681         (y0_test_data): Likewise.
46682         (y1_test_data): Likewise.
46683         (yn_test_data): Update call to AUTO_TESTS_if_f.
46684         (main): Do not call removed functions.
46686 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46688         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46689         (ldexp_test_data): Remove.
46690         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46691         scalbn_test_data.
46692         (scalb_test): Use ALL_RM_TEST.
46694 2014-03-19  Andreas Schwab  <schwab@suse.de>
46696         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46700         [BZ #16649]
46701         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46702         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46705         (__ASSUME_PREADV): Undefine.
46706         (__ASSUME_PWRITEV): Likewise.
46708 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46710         * bits/mman-linux.h: Add comment about non-Linux use.
46711         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46712         bits/mman-linux.h resting place.
46714         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46715         * bits/mman-linux.h: ... here.
46717 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46719         * conform/conformtest.pl: Add standard definition when calling C
46720         preprocessor on data files.
46721         (checknamespace): Remove unused variable.
46723 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46725         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
46726         minus_oflow, plus_uflow and minus_uflow in expected results.
46727         * math/libm-test.inc (scalbn_test_data): Add more tests of
46728         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
46729         minus_uflow.
46730         (scalbn_test): Use ALL_RM_TEST.
46731         (scalbln_test_data): Add more tests of negative arguments.  Use
46732         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
46733         (scalbln_test): Use ALL_RM_TEST.
46735 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46737         * scripts/abilist.awk: Ignore symbols marked with .hidden.
46739 2014-03-18  Will Newton  <will.newton@linaro.org>
46741         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
46742         inaccurate comment.
46744 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
46746         * Makerules [!subdir] (check-abi): Exit with error status if a
46747         test failed.
46749 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46751         * math/libm-test.inc (nearbyint_test_data): Include all tests used
46752         for rint.  Include results for all rounding modes.
46753         (nearbyint_test): Use ALL_RM_TEST.
46754         (rint_test_data): Include all tests used for nearbyint.
46756 2014-03-17  Will Newton  <will.newton@linaro.org>
46758         * nptl/sysdeps/pthread/pthread.h: Revert previous
46759         change.
46761         * sysdeps/generic/ldsodefs.h: Revert previous
46762         change.
46764         * libio/genops.c: Revert previous change.
46765         * libio/libioP.h: Likewise.
46766         * stdio-common/vfprintf.c: Likewise.
46768         * sysdeps/generic/math_private.h: Revert previous
46769         change.
46771         * sysdeps/generic/math_private.h: Check whether
46772         HAVE_RM_CTX is defined with #ifdef rather
46773         than #if.
46775         * argp/argp-fmtstream.h: Check whether
46776         __STRICT_ANSI__ is defined with #ifdef rather
46777         than #if.
46778         * argp/argp.h: Likewise.
46780         * libio/genops.c: Check whether
46781         _IO_JUMPS_OFFSET is defined with #ifdef rather
46782         than #if.
46783         * libio/libioP.h: Likewise.
46784         * stdio-common/vfprintf.c: Likewise.
46786         * sysdeps/generic/ldsodefs.h: Check whether
46787         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
46788         than #if.
46790         * nptl/sysdeps/pthread/pthread.h: Check
46791         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
46792         its value.
46794 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46796         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
46797         setting O_APPEND.
46798         * libio/tst-ftell-active-handler.c (do_append_test): Add a
46799         test case.
46801         [BZ #16680]
46802         * libio/fileops.c (_IO_file_open): Seek to end of file but
46803         don't cache the offset.
46804         (get_file_offset): Remove function.
46805         (do_ftell): Use cached offset when available.
46806         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
46807         don't cache the offset.
46808         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
46809         case.
46810         (do_one_test): Call it.
46811         (do_ftell_test): Fix up expected old offset for a+ mode.
46812         * libio/wfileops.c (do_ftell_wide): Used cached offset when
46813         available.
46815         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
46816         up test status with function return status.
46817         (do_write_test): Likewise.
46818         (do_append_test): Likewise.
46820         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
46821         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
46822         Remove.
46824 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
46826         * math/gen-libm-test.pl (parse_args): Handle results specified for
46827         each rounding mode separately.
46828         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
46829         tests and results from lrint_tonearest_test_data,
46830         lrint_towardzero_test_data, lrint_downward_test_data and
46831         lrint_upward_test_data.
46832         (lrint_test): Use ALL_RM_TEST.
46833         (lrint_tonearest_test_data): Remove.
46834         (lrint_test_tonearest): Likewise.
46835         (lrint_towardzero_test_data): Likewise.
46836         (lrint_test_towardzero): Likewise.
46837         (lrint_downward_test_data): Likewise.
46838         (lrint_test_downward): Likewise.
46839         (lrint_upward_test_data): Likewise.
46840         (lrint_test_upward): Likewise.
46841         (llrint_test_data): Merge in per-rounding-mode tests and results
46842         from llrint_tonearest_test_data, llrint_towardzero_test_data,
46843         llrint_downward_test_data and llrint_upward_test_data.
46844         (llrint_test): Use ALL_RM_TEST.
46845         (llrint_tonearest_test_data): Remove.
46846         (llrint_test_tonearest): Likewise.
46847         (llrint_towardzero_test_data): Likewise.
46848         (llrint_test_towardzero): Likewise.
46849         (llrint_downward_test_data): Likewise.
46850         (llrint_test_downward): Likewise.
46851         (llrint_upward_test_data): Likewise.
46852         (llrint_test_upward): Likewise.
46853         (rint_test_data): Merge in per-rounding-mode tests and results
46854         from rint_tonearest_test_data, rint_towardzero_test_data,
46855         rint_downward_test_data and rint_upward_test_data.  Add
46856         per-rounding-mode results for tests not in those arrays.
46857         (rint_test): Use ALL_RM_TEST.
46858         (rint_tonearest_test_data): Remove.
46859         (rint_test_tonearest): Likewise.
46860         (rint_towardzero_test_data): Likewise.
46861         (rint_test_towardzero): Likewise.
46862         (rint_downward_test_data): Likewise.
46863         (rint_test_downward): Likewise.
46864         (rint_upward_test_data): Likewise.
46865         (rint_test_upward): Likewise.
46866         (main): Don't call removed functions.
46868 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46870         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
46871         "Compiled on ..." crapola.  It is anti-useful.
46873 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
46875         * scripts/evaluate-test.sh: Handle fourth argument to determine
46876         whether test run should stop on failure.
46877         * Makeconfig (stop-on-test-failure): New variable.
46878         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
46879         $(stop-on-test-failure).
46880         * Makefile (tests): Give a summary of results from testing and
46881         exit with failure status if they include an ERROR or FAIL.
46882         (xtests): Likewise.
46883         * manual/install.texi (Configuring and compiling): Mention
46884         stop-on-test-failure=y.
46885         * INSTALL: Regenerated.
46887 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46889         * scripts/versionlist.awk: New file.
46890         * Makerules [$(build-shared) = yes]
46891         (postclean-generated): Add Versions.def, not Versions.def.v and
46892         Versions.def.v.i.
46893         ($(common-objpfx)Versions.def.v.i): Target removed.
46894         ($(common-objpfx)Versions.def): New target.
46895         ($(common-objpfx)Versions.all): Depend on that rather that
46896         $(common-objpfx)Versions.def.v.
46897         * Versions.def: File removed.
46899         * Makeconfig (+gccwarn): Add -Wundef.
46900         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
46901         a dl-sysdep.h breaking its contract.
46902         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
46903         * include/stackinfo.h: New file.
46904         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
46905         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
46906         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
46907         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
46908         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
46909         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
46910         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46911         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46912         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46913         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46914         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46915         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
46916         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46917         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46918         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
46920 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46922         [BZ #16707]
46923         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
46924         implementation.
46925         * math/libm-test.inc (round_test_data): Add more tests.
46927         [BZ #16706]
46928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
46929         implementation.
46930         * math/libm-test.inc (nearbyint_test_data): Add more tests.
46932         [BZ #16701]
46933         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
46934         implementation.
46935         * math/libm-test.inc (ceil_test_data): Add more tests.
46937         * math/libm-test.inc (trunc_test_data): Add more tests related to
46938         BZ#16414.
46940 2014-03-14  Roland McGrath  <roland@hack.frob.com>
46942         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
46943         with #if rather than #ifdef.
46944         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
46946 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
46948         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
46949         first.  Disable AVX-512 GCC support if assembler doesn't support
46950         it.
46951         * sysdeps/x86_64/configure: Regenerated.
46953 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
46955         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
46956         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
46957         (__old_pthread_attr_setstack): Likewise.
46958         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
46959         [!_STACK_GROWS_DOWN]: Likewise.
46961 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
46963         * config.make.in (have-bash2): Delete.
46964         * configure.ac (libc_cv_have_bash2): Delete.
46965         * configure: Regenerate.
46966         * elf/Makefile (common-ldd-rewrite): Rename to ...
46967         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
46968         (sh-ldd-rewrite): Delete.
46969         (bash-ldd-rewrite): Delete.
46970         (have-bash2): Delete checks.
46971         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
46972         ldd-rewrite.
46974         * config.make.in (have-ksh): Delete.
46975         (KSH): Delete.
46976         * configure.ac (libc_cv_have_ksh): Delete.
46977         * configure: Regenerate.
46979         * elf/Makefile: Delete $(have-ksh) check.
46980         ($(objpfx)sotruss): Change KSH to BASH.
46981         * elf/sotruss.ksh: Rename to ...
46982         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
46983         function style to match POSIX.  Drop ksh vim mode setting.
46985         * manual/time.texi (Specifying the Time Zone with TZ): Change
46986         Tuesday to Thursday.
46988         * debug/tst-longjmp_chk2.c: Update header comment.
46989         (stackoverflow_handler): Add comment.  Call assert on pass value.
46991 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
46993         [BZ #16194]
46994         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
46995         (HAVE_AVX512_ASM_SUPPORT): Likewise.
46996         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
46997         (La_x86_64_vector): Add zmm.
46998         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
46999         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47000         ($(objpfx)tst-audit10): New target.
47001         ($(objpfx)tst-audit10.out): Likewise.
47002         (tst-audit10-ENV): New.
47003         (AVX512-CFLAGS): Likewise.
47004         (CFLAGS-tst-audit10.c): Likewise.
47005         (CFLAGS-tst-auditmod10a.c): Likewise.
47006         (CFLAGS-tst-auditmod10b.c): Likewise.
47007         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47008         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47009         * sysdeps/x86_64/configure: Regenerated.
47010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47011         AVX-512 zmm register support.
47012         (_dl_x86_64_save_sse): Likewise.
47013         (_dl_x86_64_restore_sse): Likewise.
47014         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47015         size vector registers.
47016         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47017         (ZMM_SIZE): Likewise.
47018         * sysdeps/x86_64/tst-audit10.c: New file.
47019         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47020         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47022 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47024         * configure.ac (HAVE_EHDR_START): New check.
47025         * configure: Regenerated.
47026         * config.h.in (HAVE_EHDR_START): New #undef.
47027         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47028         assuming the lowest-addressed segment maps the start of the file.
47030 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47032         * INSTALL: Regenerated.
47034 2014-03-13  Will Newton  <will.newton@linaro.org>
47036         * manual/setjmp.texi (System V contexts): Improve
47037         clarity and grammar of documentation.
47039 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47041         [BZ #16381]
47042         * elf/Makefile (tests): Add tst-pie2.
47043         (tests-pie): Add tst-pie2.
47044         * elf/tst-pie2.c: New file.
47045         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47046         for ET_EXEC.
47047         * elf/rtld.c (map_doit): Load executable as lt_executable.
47048         (dl_main): Likewise.
47050 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47052         [BZ #16642]
47053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47054         (__ASSUME_PSELECT): Undefine.
47056 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47058         [BZ #16689]
47059         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47060         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47061         static build.
47062         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47063         selector for static builds.
47065 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47067         [BZ #16695]
47068         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47069         key in the buffer.
47071 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47073         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47074         IFUNC selector for static builds.
47076 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47078         * sysdeps/mips/math_private.h [__mips_hard_float]
47079         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47080         libc_feresetround_mips_ctx.
47081         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47082         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47083         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47085         [BZ #16677]
47086         * math/s_nextafter.c (__nextafter): Do not return value from
47087         overflowing computation.
47088         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47089         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47090         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47091         Likewise.
47092         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47093         Likewise.
47094         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47095         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47097 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47099         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47100         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47101         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47102         the new mov targetting sp.
47104 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47106         [BZ #16683]
47107         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47108         Define it for static builds as well.
47109         (NO_BZERO_IMPL): Likewise.
47111 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47113         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47114         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47115         multiarch strspn for PPC64.
47116         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47117         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47119         (__libc_ifunc_impl_list): Likewise.
47120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47121         multiarch optimizations
47122         * string/strspn.c (strspn): Using macro to redefine symbol name.
47124 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47125             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47127         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47128         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47129         multiarch strncat for PPC64.
47130         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47131         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47133         (__libc_ifunc_impl_list): Likewise.
47134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47135         multiarch optimizations
47137 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47139         [BZ #16639]
47140         * nscd/nscd.service: Make service type forking.
47142 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47144         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47145         sign in non default rounding modes.
47146         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47148 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47150         * math/libm-test.inc (ALL_RM_TEST): New macro.
47151         (ceil_test): Use ALL_RM_TEST.
47152         (cimag_test): Likewise.
47153         (conj_test): Likewise.
47154         (copysign_test): Likewise.
47155         (cproj_test): Likewise.
47156         (creal_test): Likewise.
47157         (fabs_test): Likewise.
47158         (floor_test): Likewise.
47159         (fmax_test): Likewise.
47160         (fmin_test): Likewise.
47161         (fmod_test): Likewise.
47162         (fpclassify_test): Likewise.
47163         (frexp_test): Likewise.
47164         (ilogb_test): Likewise.
47165         (isfinite_test): Likewise.
47166         (finite_test): Likewise.
47167         (isgreater_test): Likewise.
47168         (isgreaterequal_test): Likewise.
47169         (isinf_test): Likewise.
47170         (isless_test): Likewise.
47171         (islessequal_test): Likewise.
47172         (islessgreater_test): Likewise.
47173         (isnan_test): Likewise.
47174         (isnormal_test): Likewise.
47175         (issignaling_test): Likewise.
47176         (isunordered_test): Likewise.
47177         (logb_test): Likewise.
47178         (logb_downward_test_data): Remove.
47179         (logb_test_downward): Likewise.
47180         (lround_test): Use ALL_RM_TEST.
47181         (llround_test): Likewise.
47182         (modf_test): Likewise.
47183         (nexttoward_test): Likewise.
47184         (remainder_test): Likewise.
47185         (drem_test): Likewise.
47186         (remainder_tonearest_test_data): Likewise.
47187         (remainder_test_tonearest): Likewise.
47188         (drem_test_tonearest): Likewise.
47189         (remainder_towardzero_test_data): Likewise.
47190         (remainder_test_towardzero): Likewise.
47191         (drem_test_towardzero): Likewise.
47192         (remainder_downward_test_data): Likewise.
47193         (remainder_test_downward): Likewise.
47194         (drem_test_downward): Likewise.
47195         (remainder_upward_test_data): Likewise.
47196         (remainder_test_upward): Likewise.
47197         (drem_test_upward): Likewise.
47198         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47199         (round_test): Use ALL_RM_TEST.
47200         (signbit_test): Likewise.
47201         (trunc_test): Likewise.
47202         (significand_test): Likewise.
47203         (main): Don't call removed functions.
47205 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47207         [BZ #16674]
47208         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47209         || __USE_XOPEN2K8].
47210         (ILL_ILLOPN): Likewise.
47211         (ILL_ILLADR): Likewise.
47212         (ILL_ILLTRP): Likewise.
47213         (ILL_PRVOPC): Likewise.
47214         (ILL_PRVREG): Likewise.
47215         (ILL_COPROC): Likewise.
47216         (ILL_BADSTK): Likewise.
47217         (FPE_INTDIV): Likewise.
47218         (FPE_INTOVF): Likewise.
47219         (FPE_FLTDIV): Likewise.
47220         (FPE_FLTOVF): Likewise.
47221         (FPE_FLTUND): Likewise.
47222         (FPE_FLTRES): Likewise.
47223         (FPE_FLTINV): Likewise.
47224         (FPE_FLTSUB): Likewise.
47225         (SEGV_MAPERR): Likewise.
47226         (SEGV_ACCERR): Likewise.
47227         (BUS_ADRALN): Likewise.
47228         (BUS_ADRERR): Likewise.
47229         (BUS_OBJERR): Likewise.
47230         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47231         (TRAP_TRACE): Likewise.
47232         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47233         __USE_XOPEN2K8].
47234         (CLD_KILLED): Likewise.
47235         (CLD_DUMPED): Likewise.
47236         (CLD_TRAPPED): Likewise.
47237         (CLD_STOPPED): Likewise.
47238         (CLD_CONTINUED): Likewise.
47239         (POLL_IN): Likewise.
47240         (POLL_OUT): Likewise.
47241         (POLL_MSG): Likewise.
47242         (POLL_ERR): Likewise.
47243         (POLL_PRI): Likewise.
47244         (POLL_HUP): Likewise.
47245         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47246         Likewise.
47247         (ILL_ILLOPN): Likewise.
47248         (ILL_ILLADR): Likewise.
47249         (ILL_ILLTRP): Likewise.
47250         (ILL_PRVOPC): Likewise.
47251         (ILL_PRVREG): Likewise.
47252         (ILL_COPROC): Likewise.
47253         (ILL_BADSTK): Likewise.
47254         (FPE_INTDIV): Likewise.
47255         (FPE_INTOVF): Likewise.
47256         (FPE_FLTDIV): Likewise.
47257         (FPE_FLTOVF): Likewise.
47258         (FPE_FLTUND): Likewise.
47259         (FPE_FLTRES): Likewise.
47260         (FPE_FLTINV): Likewise.
47261         (FPE_FLTSUB): Likewise.
47262         (SEGV_MAPERR): Likewise.
47263         (SEGV_ACCERR): Likewise.
47264         (BUS_ADRALN): Likewise.
47265         (BUS_ADRERR): Likewise.
47266         (BUS_OBJERR): Likewise.
47267         (BUS_MCEERR_AR): Likewise.
47268         (BUS_MCEERR_AO): Likewise.
47269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47270         (TRAP_TRACE): Likewise.
47271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47272         __USE_XOPEN2K8].
47273         (CLD_KILLED): Likewise.
47274         (CLD_DUMPED): Likewise.
47275         (CLD_TRAPPED): Likewise.
47276         (CLD_STOPPED): Likewise.
47277         (CLD_CONTINUED): Likewise.
47278         (POLL_IN): Likewise.
47279         (POLL_OUT): Likewise.
47280         (POLL_MSG): Likewise.
47281         (POLL_ERR): Likewise.
47282         (POLL_PRI): Likewise.
47283         (POLL_HUP): Likewise.
47284         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47285         (ILL_ILLOPN): Likewise.
47286         (ILL_ILLADR): Likewise.
47287         (ILL_ILLTRP): Likewise.
47288         (ILL_PRVOPC): Likewise.
47289         (ILL_PRVREG): Likewise.
47290         (ILL_COPROC): Likewise.
47291         (ILL_BADSTK): Likewise.
47292         (FPE_INTDIV): Likewise.
47293         (FPE_INTOVF): Likewise.
47294         (FPE_FLTDIV): Likewise.
47295         (FPE_FLTOVF): Likewise.
47296         (FPE_FLTUND): Likewise.
47297         (FPE_FLTRES): Likewise.
47298         (FPE_FLTINV): Likewise.
47299         (FPE_FLTSUB): Likewise.
47300         (SEGV_MAPERR): Likewise.
47301         (SEGV_ACCERR): Likewise.
47302         (BUS_ADRALN): Likewise.
47303         (BUS_ADRERR): Likewise.
47304         (BUS_OBJERR): Likewise.
47305         (BUS_MCEERR_AR): Likewise.
47306         (BUS_MCEERR_AO): Likewise.
47307         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47308         (TRAP_TRACE): Likewise.
47309         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47310         __USE_XOPEN2K8].
47311         (CLD_KILLED): Likewise.
47312         (CLD_DUMPED): Likewise.
47313         (CLD_TRAPPED): Likewise.
47314         (CLD_STOPPED): Likewise.
47315         (CLD_CONTINUED): Likewise.
47316         (POLL_IN): Likewise.
47317         (POLL_OUT): Likewise.
47318         (POLL_MSG): Likewise.
47319         (POLL_ERR): Likewise.
47320         (POLL_PRI): Likewise.
47321         (POLL_HUP): Likewise.
47322         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47323         Likewise.
47324         (ILL_ILLOPN): Likewise.
47325         (ILL_ILLADR): Likewise.
47326         (ILL_ILLTRP): Likewise.
47327         (ILL_PRVOPC): Likewise.
47328         (ILL_PRVREG): Likewise.
47329         (ILL_COPROC): Likewise.
47330         (ILL_BADSTK): Likewise.
47331         (ILL_BADIADDR): Likewise.
47332         (ILL_BREAK): Likewise.
47333         (FPE_INTDIV): Likewise.
47334         (FPE_INTOVF): Likewise.
47335         (FPE_FLTDIV): Likewise.
47336         (FPE_FLTOVF): Likewise.
47337         (FPE_FLTUND): Likewise.
47338         (FPE_FLTRES): Likewise.
47339         (FPE_FLTINV): Likewise.
47340         (FPE_FLTSUB): Likewise.
47341         (FPE_DECOVF): Likewise.
47342         (FPE_DECDIV): Likewise.
47343         (FPE_DECERR): Likewise.
47344         (FPE_INVASC): Likewise.
47345         (FPE_INVDEC): Likewise.
47346         (SEGV_MAPERR): Likewise.
47347         (SEGV_ACCERR): Likewise.
47348         (SEGV_PSTKOVF): Likewise.
47349         (BUS_ADRALN): Likewise.
47350         (BUS_ADRERR): Likewise.
47351         (BUS_OBJERR): Likewise.
47352         (BUS_MCEERR_AR): Likewise.
47353         (BUS_MCEERR_AO): Likewise.
47354         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47355         (TRAP_TRACE): Likewise.
47356         (TRAP_BRANCH): Likewise.
47357         (TRAP_HWBKPT): Likewise.
47358         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47359         __USE_XOPEN2K8].
47360         (CLD_KILLED): Likewise.
47361         (CLD_DUMPED): Likewise.
47362         (CLD_TRAPPED): Likewise.
47363         (CLD_STOPPED): Likewise.
47364         (CLD_CONTINUED): Likewise.
47365         (POLL_IN): Likewise.
47366         (POLL_OUT): Likewise.
47367         (POLL_MSG): Likewise.
47368         (POLL_ERR): Likewise.
47369         (POLL_PRI): Likewise.
47370         (POLL_HUP): Likewise.
47371         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47372         (ILL_ILLOPN): Likewise.
47373         (ILL_ILLADR): Likewise.
47374         (ILL_ILLTRP): Likewise.
47375         (ILL_PRVOPC): Likewise.
47376         (ILL_PRVREG): Likewise.
47377         (ILL_COPROC): Likewise.
47378         (ILL_BADSTK): Likewise.
47379         (FPE_INTDIV): Likewise.
47380         (FPE_INTOVF): Likewise.
47381         (FPE_FLTDIV): Likewise.
47382         (FPE_FLTOVF): Likewise.
47383         (FPE_FLTUND): Likewise.
47384         (FPE_FLTRES): Likewise.
47385         (FPE_FLTINV): Likewise.
47386         (FPE_FLTSUB): Likewise.
47387         (SEGV_MAPERR): Likewise.
47388         (SEGV_ACCERR): Likewise.
47389         (BUS_ADRALN): Likewise.
47390         (BUS_ADRERR): Likewise.
47391         (BUS_OBJERR): Likewise.
47392         (BUS_MCEERR_AR): Likewise.
47393         (BUS_MCEERR_AO): Likewise.
47394         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47395         (TRAP_TRACE): Likewise.
47396         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47397         __USE_XOPEN2K8].
47398         (CLD_KILLED): Likewise.
47399         (CLD_DUMPED): Likewise.
47400         (CLD_TRAPPED): Likewise.
47401         (CLD_STOPPED): Likewise.
47402         (CLD_CONTINUED): Likewise.
47403         (POLL_IN): Likewise.
47404         (POLL_OUT): Likewise.
47405         (POLL_MSG): Likewise.
47406         (POLL_ERR): Likewise.
47407         (POLL_PRI): Likewise.
47408         (POLL_HUP): Likewise.
47409         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47410         (ILL_ILLOPN): Likewise.
47411         (ILL_ILLADR): Likewise.
47412         (ILL_ILLTRP): Likewise.
47413         (ILL_PRVOPC): Likewise.
47414         (ILL_PRVREG): Likewise.
47415         (ILL_COPROC): Likewise.
47416         (ILL_BADSTK): Likewise.
47417         (FPE_INTDIV): Likewise.
47418         (FPE_INTOVF): Likewise.
47419         (FPE_FLTDIV): Likewise.
47420         (FPE_FLTOVF): Likewise.
47421         (FPE_FLTUND): Likewise.
47422         (FPE_FLTRES): Likewise.
47423         (FPE_FLTINV): Likewise.
47424         (FPE_FLTSUB): Likewise.
47425         (SEGV_MAPERR): Likewise.
47426         (SEGV_ACCERR): Likewise.
47427         (BUS_ADRALN): Likewise.
47428         (BUS_ADRERR): Likewise.
47429         (BUS_OBJERR): Likewise.
47430         (BUS_MCEERR_AR): Likewise.
47431         (BUS_MCEERR_AO): Likewise.
47432         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47433         (TRAP_TRACE): Likewise.
47434         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47435         __USE_XOPEN2K8].
47436         (CLD_KILLED): Likewise.
47437         (CLD_DUMPED): Likewise.
47438         (CLD_TRAPPED): Likewise.
47439         (CLD_STOPPED): Likewise.
47440         (CLD_CONTINUED): Likewise.
47441         (POLL_IN): Likewise.
47442         (POLL_OUT): Likewise.
47443         (POLL_MSG): Likewise.
47444         (POLL_ERR): Likewise.
47445         (POLL_PRI): Likewise.
47446         (POLL_HUP): Likewise.
47447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47448         (ILL_ILLOPN): Likewise.
47449         (ILL_ILLADR): Likewise.
47450         (ILL_ILLTRP): Likewise.
47451         (ILL_PRVOPC): Likewise.
47452         (ILL_PRVREG): Likewise.
47453         (ILL_COPROC): Likewise.
47454         (ILL_BADSTK): Likewise.
47455         (FPE_INTDIV): Likewise.
47456         (FPE_INTOVF): Likewise.
47457         (FPE_FLTDIV): Likewise.
47458         (FPE_FLTOVF): Likewise.
47459         (FPE_FLTUND): Likewise.
47460         (FPE_FLTRES): Likewise.
47461         (FPE_FLTINV): Likewise.
47462         (FPE_FLTSUB): Likewise.
47463         (SEGV_MAPERR): Likewise.
47464         (SEGV_ACCERR): Likewise.
47465         (BUS_ADRALN): Likewise.
47466         (BUS_ADRERR): Likewise.
47467         (BUS_OBJERR): Likewise.
47468         (BUS_MCEERR_AR): Likewise.
47469         (BUS_MCEERR_AO): Likewise.
47470         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47471         (TRAP_TRACE): Likewise.
47472         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47473         __USE_XOPEN2K8].
47474         (CLD_KILLED): Likewise.
47475         (CLD_DUMPED): Likewise.
47476         (CLD_TRAPPED): Likewise.
47477         (CLD_STOPPED): Likewise.
47478         (CLD_CONTINUED): Likewise.
47479         (POLL_IN): Likewise.
47480         (POLL_OUT): Likewise.
47481         (POLL_MSG): Likewise.
47482         (POLL_ERR): Likewise.
47483         (POLL_PRI): Likewise.
47484         (POLL_HUP): Likewise.
47485         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47486         (ILL_ILLOPN): Likewise.
47487         (ILL_ILLADR): Likewise.
47488         (ILL_ILLTRP): Likewise.
47489         (ILL_PRVOPC): Likewise.
47490         (ILL_PRVREG): Likewise.
47491         (ILL_COPROC): Likewise.
47492         (ILL_BADSTK): Likewise.
47493         (ILL_DBLFLT): Likewise.
47494         (ILL_HARDWALL): Likewise.
47495         (FPE_INTDIV): Likewise.
47496         (FPE_INTOVF): Likewise.
47497         (FPE_FLTDIV): Likewise.
47498         (FPE_FLTOVF): Likewise.
47499         (FPE_FLTUND): Likewise.
47500         (FPE_FLTRES): Likewise.
47501         (FPE_FLTINV): Likewise.
47502         (FPE_FLTSUB): Likewise.
47503         (SEGV_MAPERR): Likewise.
47504         (SEGV_ACCERR): Likewise.
47505         (BUS_ADRALN): Likewise.
47506         (BUS_ADRERR): Likewise.
47507         (BUS_OBJERR): Likewise.
47508         (BUS_MCEERR_AR): Likewise.
47509         (BUS_MCEERR_AO): Likewise.
47510         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47511         (TRAP_TRACE): Likewise.
47512         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47513         __USE_XOPEN2K8].
47514         (CLD_KILLED): Likewise.
47515         (CLD_DUMPED): Likewise.
47516         (CLD_TRAPPED): Likewise.
47517         (CLD_STOPPED): Likewise.
47518         (CLD_CONTINUED): Likewise.
47519         (POLL_IN): Likewise.
47520         (POLL_OUT): Likewise.
47521         (POLL_MSG): Likewise.
47522         (POLL_ERR): Likewise.
47523         (POLL_PRI): Likewise.
47524         (POLL_HUP): Likewise.
47525         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47526         (ILL_ILLOPN): Likewise.
47527         (ILL_ILLADR): Likewise.
47528         (ILL_ILLTRP): Likewise.
47529         (ILL_PRVOPC): Likewise.
47530         (ILL_PRVREG): Likewise.
47531         (ILL_COPROC): Likewise.
47532         (ILL_BADSTK): Likewise.
47533         (FPE_INTDIV): Likewise.
47534         (FPE_INTOVF): Likewise.
47535         (FPE_FLTDIV): Likewise.
47536         (FPE_FLTOVF): Likewise.
47537         (FPE_FLTUND): Likewise.
47538         (FPE_FLTRES): Likewise.
47539         (FPE_FLTINV): Likewise.
47540         (FPE_FLTSUB): Likewise.
47541         (SEGV_MAPERR): Likewise.
47542         (SEGV_ACCERR): Likewise.
47543         (BUS_ADRALN): Likewise.
47544         (BUS_ADRERR): Likewise.
47545         (BUS_OBJERR): Likewise.
47546         (BUS_MCEERR_AR): Likewise.
47547         (BUS_MCEERR_AO): Likewise.
47548         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47549         (TRAP_TRACE): Likewise.
47550         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47551         __USE_XOPEN2K8].
47552         (CLD_KILLED): Likewise.
47553         (CLD_DUMPED): Likewise.
47554         (CLD_TRAPPED): Likewise.
47555         (CLD_STOPPED): Likewise.
47556         (CLD_CONTINUED): Likewise.
47557         (POLL_IN): Likewise.
47558         (POLL_OUT): Likewise.
47559         (POLL_MSG): Likewise.
47560         (POLL_ERR): Likewise.
47561         (POLL_PRI): Likewise.
47562         (POLL_HUP): Likewise.
47563         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47564         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47566         [BZ #16670]
47567         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47568         before #include of <time.h>.
47569         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47570         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47571         (test-xfail-UNIX98/sched.h/conform): Likewise.
47573 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47575         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47576         error absence of trapping exception support.
47577         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47579 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47581         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47582         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47583         * timezone/Makefile (testdata): Move definition above include of
47584         Rules.
47585         (test-zones): New variable.
47586         (tests-special): Add zone files.
47587         (build-testdata): Use $(evaluate-test).
47589         * elf/Makefile (tests-special): Rename tests to end with .out.
47590         ($(objpfx)noload-mem): Likewise.
47591         ($(objpfx)tst-leaks1-mem): Likewise.
47592         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47593         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47594         $(objpfx)test-iconvconfig.out.
47595         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47596         set -e inside subshell and redirect output to file.
47597         * iconvdata/Makefile (generated): Rename tests to end with .out.
47598         Correct type.
47599         (tests-special): Rename tests to end with .out.
47600         ($(objpfx)mtrace-tst-loading): Likewise.
47601         * intl/Makefile (generated): Likewise.
47602         (tests-special): Likewise.
47603         ($(objpfx)mtrace-tst-gettext): Likewise.
47604         * misc/Makefile (generated): Likewise.
47605         (tests-special): Likewise.
47606         ($(objpfx)tst-error1-mem): Likewise.
47607         * nptl/Makefile (tests-special): Likewise.
47608         ($(objpfx)tst-stack3-mem): Likewise.
47609         (generated): Likewise.
47610         * posix/Makefile (generated): Likewise.
47611         (tests-special): Likewise.
47612         (xtests-special): Likewise.
47613         ($(objpfx)tst-fnmatch-mem): Likewise.
47614         ($(objpfx)bug-regex2-mem): Likewise.
47615         ($(objpfx)bug-regex14-mem): Likewise.
47616         ($(objpfx)bug-regex21-mem): Likewise.
47617         ($(objpfx)bug-regex31-mem): Likewise.
47618         ($(objpfx)tst-vfork3-mem): Likewise.
47619         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47620         ($(objpfx)tst-pcre-mem): Likewise.
47621         ($(objpfx)tst-boost-mem): Likewise.
47622         ($(objpfx)bug-ga2-mem): Likewise.
47623         ($(objpfx)bug-glob2-mem): Likewise.
47624         * resolv/Makefile (generate): Likewise.
47625         (tests-special): Likewise.
47626         (xtests-special): Likewise.
47627         (generated): Likewise.
47628         ($(objpfx)mtrace-tst-leaks): Likewise.
47629         ($(objpfx)mtrace-tst-leaks2): Likewise.
47631         * scripts/merge-test-results.sh: New file.
47632         * Makefile (tests-special-notdir): New variable.
47633         (tests): Run merge-test-results.sh.
47634         (xtests): Likewise.
47635         * Rules (tests-special-notdir): New variable.
47636         (xtests-special-notdir): Likewise.
47637         (tests): Run merge-test-results.sh
47638         (xtests): Likewise.
47640         * Makeconfig (test-xfail-name): New variable.
47641         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47642         compute variable name for expected failures.
47643         * conform/Makefile (conformtest-headers-data): New variable.
47644         (conformtest-standards): Likewise.
47645         (conformtest-headers-ISO): Likewise.
47646         (conformtest-headers-ISO99): Likewise.
47647         (conformtest-headers-ISO11): Likewise.
47648         (conformtest-headers-POSIX): Likewise.
47649         (conformtest-headers-XPG3): Likewise.
47650         (conformtest-headers-XPG4): Likewise.
47651         (conformtest-headers-UNIX98): Likewise.
47652         (conformtest-headers-XOPEN2K): Likewise.
47653         (conformtest-headers-POSIX2008): Likewise.
47654         (conformtest-headers-XOPEN2K8): Likewise.
47655         (conformtest-header-list-base): Likewise.
47656         (conformtest-header-list-tests): Likewise.
47657         (conformtest-header-base): Likewise.
47658         (conformtest-header-tests): Likewise.
47659         (tests-special): Add $(conformtest-header-list-tests).  If
47660         [$(fast-check) && !$(cross-compiling)], add
47661         $(conformtest-header-tests) instead of
47662         $(objpfx)run-conformtest.out.
47663         (generated): Add $(conformtest-header-list-base).  If
47664         [$(fast-check) && !$(cross-compiling)], add
47665         $(conformtest-header-base).  Remove previous setting.
47666         ($(conformtest-header-list-tests)): New target.
47667         (test-xfail-run-conformtest): Remove variable.
47668         ($(objpfx)run-conformtest.out): Remove target.
47669         (test-xfail-ISO11/complex.h/conform): New variable.
47670         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47671         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47672         (test-xfail-XPG3/varargs.h/conform): Likewise.
47673         (test-xfail-XPG4/varargs.h/conform): Likewise.
47674         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47675         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47676         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47677         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47678         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47679         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47680         (test-xfail-XPG3/ftw.h/conform): Likewise.
47681         (test-xfail-XPG3/grp.h/conform): Likewise.
47682         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47683         (test-xfail-XPG3/limits.h/conform): Likewise.
47684         (test-xfail-XPG3/pwd.h/conform): Likewise.
47685         (test-xfail-XPG3/search.h/conform): Likewise.
47686         (test-xfail-XPG3/signal.h/conform): Likewise.
47687         (test-xfail-XPG3/stdio.h/conform): Likewise.
47688         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47689         (test-xfail-XPG3/string.h/conform): Likewise.
47690         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47691         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47692         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47693         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47694         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47695         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47696         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47697         (test-xfail-XPG3/termios.h/conform): Likewise.
47698         (test-xfail-XPG3/time.h/conform): Likewise.
47699         (test-xfail-XPG3/unistd.h/conform): Likewise.
47700         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47701         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47702         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47703         (test-xfail-XPG4/netdb.h/conform): Likewise.
47704         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47705         (test-xfail-XPG4/signal.h/conform): Likewise.
47706         (test-xfail-XPG4/stdio.h/conform): Likewise.
47707         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47708         (test-xfail-XPG4/stropts.h/conform): Likewise.
47709         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47710         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47711         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47712         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47713         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47714         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47715         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47716         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47717         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47718         (test-xfail-XPG4/termios.h/conform): Likewise.
47719         (test-xfail-XPG4/ucontext.h/conform): Likewise.
47720         (test-xfail-XPG4/unistd.h/conform): Likewise.
47721         (test-xfail-XPG4/utmpx.h/conform): Likewise.
47722         (test-xfail-POSIX/sched.h/conform): Likewise.
47723         (test-xfail-POSIX/signal.h/conform): Likewise.
47724         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47725         (test-xfail-POSIX/tar.h/conform): Likewise.
47726         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
47727         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
47728         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
47729         (test-xfail-UNIX98/netdb.h/conform): Likewise.
47730         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
47731         (test-xfail-UNIX98/sched.h/conform): Likewise.
47732         (test-xfail-UNIX98/signal.h/conform): Likewise.
47733         (test-xfail-UNIX98/stdio.h/conform): Likewise.
47734         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
47735         (test-xfail-UNIX98/stropts.h/conform): Likewise.
47736         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
47737         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
47738         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
47739         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
47740         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
47741         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
47742         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
47743         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
47744         (test-xfail-UNIX98/unistd.h/conform): Likewise.
47745         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
47746         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
47747         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
47748         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
47749         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
47750         (test-xfail-XOPEN2K/math.h/conform): Likewise.
47751         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
47752         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
47753         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
47754         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
47755         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
47756         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
47757         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
47758         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
47759         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
47760         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
47761         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
47762         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
47763         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
47764         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
47765         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
47766         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
47767         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
47768         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
47769         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
47770         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
47771         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
47772         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
47773         (test-xfail-POSIX2008/signal.h/conform): Likewise.
47774         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
47775         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
47776         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
47777         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
47778         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
47779         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
47780         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
47781         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
47782         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
47783         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
47784         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
47785         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
47786         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
47787         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
47788         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
47789         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
47790         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
47791         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
47792         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
47793         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
47794         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
47795         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
47796         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
47797         (conformtest-cc-flags): Likewise.
47798         ($(conformtest-header-tests): New target.
47799         * conform/check-header-lists.sh: New file.
47800         * conform/run-conformtest.sh: Remove.
47802         * conform/conformtest.pl: Allow ' and \ in values given for
47803         constants.
47804         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
47805         inclusion.
47806         [POSIX] (sys/types.h): Likewise.
47807         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
47808         inclusion.
47809         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
47810         inclusion.
47811         * conform/data/signal.h-data (SIGIO): Remove expectation.
47812         [XPG3] (SIGBUS): Do not expect.
47813         [POSIX || XPG3] (SIGPOLL): Likewise.
47814         [POSIX || XPG3] (SIGPROF): Likewise.
47815         [POSIX || XPG3] (SIGSYS): Likewise.
47816         [XPG3] (SIGTRAP): Likewise.
47817         [POSIX || XPG3] (SIGURG): Likewise.
47818         [POSIX || XPG3] (SIGVTALRM): Likewise.
47819         [POSIX || XPG3] (SIGXCPU): Likewise.
47820         [POSIX || XPG3] (SIGXFSZ): Likewise.
47821         [POSIX] (SA_SIGINFO): Expect.
47822         [XPG3] (siginfo_t): Do not expect type or contents.
47823         [POSIX] (si_pid): Do not expect element.
47824         [POSIX] (si_uid): Likewise.
47825         [POSIX] (si_addr): Likewise.
47826         [POSIX] (si_status): Likewise.
47827         [POSIX] (si_band): Likewise.
47828         [XPG4] (si_value): Likewise.
47829         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
47830         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
47831         [POSIX || XPG3] (ILL_ILLADR): Likewise.
47832         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
47833         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
47834         [POSIX || XPG3] (ILL_PRVREG): Likewise.
47835         [POSIX || XPG3] (ILL_COPROC): Likewise.
47836         [POSIX || XPG3] (ILL_BADSTK): Likewise.
47837         [POSIX || XPG3] (FPE_INTDIV): Likewise.
47838         [POSIX || XPG3] (FPE_INTOVF): Likewise.
47839         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
47840         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
47841         [POSIX || XPG3] (FPE_FLTUND): Likewise.
47842         [POSIX || XPG3] (FPE_FLTRES): Likewise.
47843         [POSIX || XPG3] (FPE_FLTINV): Likewise.
47844         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
47845         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
47846         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
47847         [POSIX || XPG3] (BUS_ADRALN): Likewise.
47848         [POSIX || XPG3] (BUS_ADRERR): Likewise.
47849         [POSIX || XPG3] (BUS_OBJERR): Likewise.
47850         [POSIX || XPG3] (CLD_EXITED): Likewise.
47851         [POSIX || XPG3] (CLD_KILLED): Likewise.
47852         [POSIX || XPG3] (CLD_DUMPED): Likewise.
47853         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
47854         [POSIX || XPG3] (CLD_STOPPED): Likewise.
47855         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
47856         [POSIX || XPG3] (POLL_IN): Likewise.
47857         [POSIX || XPG3] (POLL_OUT): Likewise.
47858         [POSIX || XPG3] (POLL_MSG): Likewise.
47859         [POSIX || XPG3] (POLL_ERR): Likewise.
47860         [POSIX || XPG3] (POLL_PRI): Likewise.
47861         [POSIX || XPG3] (POLL_HUP): Likewise.
47862         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
47863         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
47864         (SIG*): Do not allow.
47865         [XPG3] (si_*): Likewise.
47866         [XPG3] (SI_*): Likewise.
47867         [XPG3 || XPG4] (sigev_*): Likewise.
47868         [XPG3 || XPG4] (SIGEV_*): Likewise.
47869         [XPG3 || XPG4] (sival_*): Likewise.
47870         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
47871         [POSIX || XPG3] (BUS_*): Likewise.
47872         [POSIX || XPG3] (CLD_*): Likewise.
47873         [POSIX || XPG3] (FPE_*): Likewise.
47874         [POSIX || XPG3] (ILL_*): Likewise.
47875         [POSIX || XPG3] (POLL_*): Likewise.
47876         [POSIX || XPG3] (SEGV_*): Likewise.
47877         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
47878         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
47879         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
47880         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
47881         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
47882         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
47883         Specify type and value.
47884         (TVERSLEN): Likewise.
47885         (REGTYPE): Likewise.
47886         (AREGTYPE): Likewise.
47887         (LNKTYPE): Likewise.
47888         (SYMTYPE): Likewise.
47889         (CHRTYPE): Likewise.
47890         (BLKTYPE): Likewise.
47891         (DIRTYPE): Likewise.
47892         (FIFOTYPE): Likewise.
47893         (CONTTYPE): Likewise.
47894         (TSUID): Likewise.
47895         (TSGID): Likewise.
47896         (TSVTX): Likewise.
47897         (TUREAD): Likewise.
47898         (TUWRITE): Likewise.
47899         (TUEXEC): Likewise.
47900         (TGREAD): Likewise.
47901         (TGWRITE): Likewise.
47902         (TGEXEC): Likewise.
47903         (TOREAD): Likewise.
47904         (TOWRITE): Likewise.
47905         (TOEXEC): Likewise.
47906         [POSIX] (TSVTX): Expect constant.
47908 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
47910         * Makefile (tests): Change dependencies to ....
47911         (tests-special): ... additions to this variable.
47912         (tests): Depend on $(tests-special).
47913         * Makerules (check-abi-list): New variable.
47914         (check-abi): Depend on $(check-abi-list).
47915         [$(subdir) = elf] (tests-special): Add
47916         $(objpfx)check-abi-libc.out.
47917         [$(build-shared) = yes && subdir] (tests-special): Add
47918         $(check-abi-list).
47919         [$(build-shared) = yes && subdir] (tests): Do not depend on
47920         check-abi.
47921         * Rules (tests): Depend on $(tests-special).
47922         (xtests): Depend on $(xtests-special).
47923         * catgets/Makefile (tests): Change dependencies to ....
47924         (tests-special): ... additions to this variable.
47925         * conform/Makefile (tests): Change dependencies to ....
47926         (tests-special): ... additions to this variable.
47927         * elf/Makefile (tests): Change dependencies to ....
47928         (tests-special): ... additions to this variable.
47929         * grp/Makefile (tests): Change dependencies to ....
47930         (tests-special): ... additions to this variable.
47931         * iconv/Makefile (xtests): Change dependencies to ....
47932         (xtests-special): ... additions to this variable.
47933         * iconvdata/Makefile (tests): Change dependencies to ....
47934         (tests-special): ... additions to this variable.
47935         * intl/Makefile (tests): Change dependencies to ....
47936         (tests-special): ... additions to this variable.  Also add
47937         $(objpfx)tst-gettext.out.
47938         * io/Makefile (tests): Change dependencies to ....
47939         (tests-special): ... additions to this variable.
47940         * libio/Makefile (tests): Change dependencies to ....
47941         (tests-special): ... additions to this variable.
47942         * malloc/Makefile (tests): Change dependencies to ....
47943         (tests-special): ... additions to this variable.
47944         * misc/Makefile (tests): Change dependencies to ....
47945         (tests-special): ... additions to this variable.
47946         * nptl/Makefile (tests): Change dependencies to ....
47947         (tests-special): ... additions to this variable.
47948         * nptl_db/Makefile (tests): Change dependencies to ....
47949         (tests-special): ... additions to this variable.
47950         * posix/Makefile (tests): Change dependencies to ....
47951         (tests-special): ... additions to this variable.
47952         (xtests): Change dependencies to ....
47953         (xtests-special): ... additions to this variable.
47954         * resolv/Makefile (tests): Change dependencies to ....
47955         (tests-special): ... additions to this variable.
47956         (xtests): Change dependencies to ....
47957         (xtests-special): ... additions to this variable.
47958         * stdio-common/Makefile (tests): Change dependencies to ....
47959         (tests-special): ... additions to this variable.
47960         (do-tst-unbputc): Remove target.
47961         (do-tst-printf): Likewise.
47962         * stdlib/Makefile (tests): Change dependencies to ....
47963         (tests-special): ... additions to this variable.
47964         * string/Makefile (tests): Change dependencies to ....
47965         (tests-special): ... additions to this variable.
47966         * sysdeps/x86/Makefile (tests): Change dependencies to ....
47967         (tests-special): ... additions to this variable.
47969         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
47970         whole file.
47971         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
47972         whole file.
47973         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
47974         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
47976         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
47977         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
47978         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
47979         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
47980         * conform/data/libgen.h-data [XPG3]: Likewise.
47981         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
47982         * conform/data/ndbm.h-data [XPG3]: Likewise.
47983         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47984         * conform/data/netdb.h-data [XPG3]: Likewise.
47985         * conform/data/netinet/in.h-data [XPG3]: Likewise.
47986         * conform/data/poll.h-data [XPG3]: Likewise.
47987         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
47988         * conform/data/strings.h-data [XPG3]: Likewise.
47989         * conform/data/stropts.h-data [XPG3]: Likewise.
47990         * conform/data/sys/mman.h-data [XPG3]: Likewise.
47991         * conform/data/sys/resource.h-data [XPG3]: Likewise.
47992         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
47993         Likewise.
47994         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
47995         * conform/data/sys/time.h-data [XPG3]: Likewise.
47996         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
47997         * conform/data/sys/uio.h-data [XPG3]: Likewise.
47998         * conform/data/sys/un.h-data [XPG3]: Likewise.
47999         * conform/data/syslog.h-data [XPG3]: Likewise.
48000         * conform/data/ucontext.h-data [XPG3]: Likewise.
48001         * conform/data/utmpx.h-data [XPG3]: Likewise.
48002         * conform/data/varargs.h-data [UNIX98]: Enable file.
48004         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48006         * math/libm-test.inc (struct test_f_f_data): Move expected results
48007         into structure for each rounding mode.
48008         (struct test_ff_f_data): Likewise.
48009         (struct test_ff_f_data_nexttoward): Likewise.
48010         (struct test_fi_f_data): Likewise.
48011         (struct test_fl_f_data): Likewise.
48012         (struct test_if_f_data): Likewise.
48013         (struct test_fff_f_data): Likewise.
48014         (struct test_c_f_data): Likewise.
48015         (struct test_f_f1_data): Likewise.
48016         (struct test_fF_f1_data): Likewise.
48017         (struct test_ffI_f1_data): Likewise.
48018         (struct test_c_c_data): Likewise.
48019         (struct test_cc_c_data): Likewise.
48020         (struct test_f_i_data): Likewise.
48021         (struct test_ff_i_data): Likewise.
48022         (struct test_f_l_data): Likewise.
48023         (struct test_f_L_data): Likewise.
48024         (struct test_fFF_11_data): Likewise.
48025         (RM_): New macro.
48026         (RM_FE_DOWNWARD): Likewise.
48027         (RM_FE_TONEAREST): Likewise.
48028         (RM_FE_TOWARDZERO): Likewise.
48029         (RM_FE_UPWARD): Likewise.
48030         (RUN_TEST_LOOP_f_f): Update references to expected results.
48031         (RUN_TEST_LOOP_2_f): Likewise.
48032         (RUN_TEST_LOOP_fff_f): Likewise.
48033         (RUN_TEST_LOOP_c_f): Likewise.
48034         (RUN_TEST_LOOP_f_f1): Likewise.
48035         (RUN_TEST_LOOP_fF_f1): Likewise.
48036         (RUN_TEST_LOOP_fI_f1): Likewise.
48037         (RUN_TEST_LOOP_ffI_f1): Likewise.
48038         (RUN_TEST_LOOP_c_c): Likewise.
48039         (RUN_TEST_LOOP_cc_c): Likewise.
48040         (RUN_TEST_LOOP_f_i): Likewise.
48041         (RUN_TEST_LOOP_f_i_tg): Likewise.
48042         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48043         (RUN_TEST_LOOP_f_b): Likewise.
48044         (RUN_TEST_LOOP_f_b_tg): Likewise.
48045         (RUN_TEST_LOOP_f_l): Likewise.
48046         (RUN_TEST_LOOP_f_L): Likewise.
48047         (RUN_TEST_LOOP_fFF_11): Likewise.
48048         * math/gen-libm-test.pl (parse_args): Output four copies of
48049         expected results for each test.
48051         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48052         (__ASSUME_UTIMES): Remove.
48053         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48054         (__ASSUME_UTIMES): Likewise.
48056         * math/gen-auto-libm-tests.c: Update comment on output format.
48057         (output_for_one_input_case): Generate before-rounding and
48058         after-rounding information as conditions on output flags not
48059         floating-point format.
48060         * math/auto-libm-test-out: Regenerated.
48061         * math/gen-libm-test.pl (cond_value): New function.
48062         (or_cond_value): Use cond_value.
48063         (generate_testfile): Handle conditional exceptions.
48065 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48067         * math/libm-test.inc (max_valid_error): New variable.
48068         (init_max_error): Take new argument specifying whether function
48069         results are exactly determined.  Set max_valid_error and bound
48070         other variables for errors based on this argument.
48071         (set_max_error): Do not record results above max_valid_error.
48072         (check_float_internal): Only accept errors of up to 0.5ulps if
48073         also at most max_valid_error.
48074         (START): Take new argument EXACT and pass it to init_max_error.
48075         (acos_test): Update call to START.
48076         (acos_test_tonearest): Likewise.
48077         (acos_test_towardzero): Likewise.
48078         (acos_test_downward): Likewise.
48079         (acos_test_upward): Likewise.
48080         (acosh_test): Likewise.
48081         (asin_test): Likewise.
48082         (asin_test_tonearest): Likewise.
48083         (asin_test_towardzero): Likewise.
48084         (asin_test_downward): Likewise.
48085         (asin_test_upward): Likewise.
48086         (asinh_test): Likewise.
48087         (atan_test): Likewise.
48088         (atanh_test): Likewise.
48089         (atan2_test): Likewise.
48090         (cabs_test): Likewise.
48091         (cacos_test): Likewise.
48092         (cacosh_test): Likewise.
48093         (carg_test): Likewise.
48094         (casin_test): Likewise.
48095         (casinh_test): Likewise.
48096         (catan_test): Likewise.
48097         (catanh_test): Likewise.
48098         (cbrt_test): Likewise.
48099         (ccos_test): Likewise.
48100         (ccosh_test): Likewise.
48101         (ceil_test): Likewise.
48102         (cexp_test): Likewise.
48103         (cimag_test): Likewise.
48104         (clog_test): Likewise.
48105         (clog10_test): Likewise.
48106         (conj_test): Likewise.
48107         (copysign_test): Likewise.
48108         (cos_test): Likewise.
48109         (cos_test_tonearest): Likewise.
48110         (cos_test_towardzero): Likewise.
48111         (cos_test_downward): Likewise.
48112         (cos_test_upward): Likewise.
48113         (cosh_test): Likewise.
48114         (cosh_test_tonearest): Likewise.
48115         (cosh_test_towardzero): Likewise.
48116         (cosh_test_downward): Likewise.
48117         (cosh_test_upward): Likewise.
48118         (cpow_test): Likewise.
48119         (cproj_test): Likewise.
48120         (creal_test): Likewise.
48121         (csin_test): Likewise.
48122         (csinh_test): Likewise.
48123         (csqrt_test): Likewise.
48124         (ctan_test): Likewise.
48125         (ctan_test_tonearest): Likewise.
48126         (ctan_test_towardzero): Likewise.
48127         (ctan_test_downward): Likewise.
48128         (ctan_test_upward): Likewise.
48129         (ctanh_test): Likewise.
48130         (ctanh_test_tonearest): Likewise.
48131         (ctanh_test_towardzero): Likewise.
48132         (ctanh_test_downward): Likewise.
48133         (ctanh_test_upward): Likewise.
48134         (erf_test): Likewise.
48135         (erfc_test): Likewise.
48136         (exp_test): Likewise.
48137         (exp_test_tonearest): Likewise.
48138         (exp_test_towardzero): Likewise.
48139         (exp_test_downward): Likewise.
48140         (exp_test_upward): Likewise.
48141         (exp10_test): Likewise.
48142         (exp10_test_tonearest): Likewise.
48143         (exp10_test_towardzero): Likewise.
48144         (exp10_test_downward): Likewise.
48145         (exp10_test_upward): Likewise.
48146         (pow10_test): Likewise.
48147         (exp2_test): Likewise.
48148         (expm1_test): Likewise.
48149         (expm1_test_tonearest): Likewise.
48150         (expm1_test_towardzero): Likewise.
48151         (expm1_test_downward): Likewise.
48152         (expm1_test_upward): Likewise.
48153         (fabs_test): Likewise.
48154         (fdim_test): Likewise.
48155         (floor_test): Likewise.
48156         (fma_test): Likewise.
48157         (fma_test_towardzero): Likewise.
48158         (fma_test_downward): Likewise.
48159         (fma_test_upward): Likewise.
48160         (fmax_test): Likewise.
48161         (fmin_test): Likewise.
48162         (fmod_test): Likewise.
48163         (fpclassify_test): Likewise.
48164         (frexp_test): Likewise.
48165         (hypot_test): Likewise.
48166         (ilogb_test): Likewise.
48167         (isfinite_test): Likewise.
48168         (finite_test): Likewise.
48169         (isgreater_test): Likewise.
48170         (isgreaterequal_test): Likewise.
48171         (isinf_test): Likewise.
48172         (isless_test): Likewise.
48173         (islessequal_test): Likewise.
48174         (islessgreater_test): Likewise.
48175         (isnan_test): Likewise.
48176         (isnormal_test): Likewise.
48177         (issignaling_test): Likewise.
48178         (isunordered_test): Likewise.
48179         (j0_test): Likewise.
48180         (j1_test): Likewise.
48181         (jn_test): Likewise.
48182         (ldexp_test): Likewise.
48183         (lgamma_test): Likewise.
48184         (gamma_test): Likewise.
48185         (lrint_test): Likewise.
48186         (lrint_test_tonearest): Likewise.
48187         (lrint_test_towardzero): Likewise.
48188         (lrint_test_downward): Likewise.
48189         (lrint_test_upward): Likewise.
48190         (llrint_test): Likewise.
48191         (llrint_test_tonearest): Likewise.
48192         (llrint_test_towardzero): Likewise.
48193         (llrint_test_downward): Likewise.
48194         (llrint_test_upward): Likewise.
48195         (log_test): Likewise.
48196         (log10_test): Likewise.
48197         (log1p_test): Likewise.
48198         (log2_test): Likewise.
48199         (logb_test): Likewise.
48200         (logb_test_downward): Likewise.
48201         (lround_test): Likewise.
48202         (llround_test): Likewise.
48203         (modf_test): Likewise.
48204         (nearbyint_test): Likewise.
48205         (nextafter_test): Likewise.
48206         (nexttoward_test): Likewise.
48207         (pow_test): Likewise.
48208         (pow_test_tonearest): Likewise.
48209         (pow_test_towardzero): Likewise.
48210         (pow_test_downward): Likewise.
48211         (pow_test_upward): Likewise.
48212         (remainder_test): Likewise.
48213         (drem_test): Likewise.
48214         (remainder_test_tonearest): Likewise.
48215         (drem_test_tonearest): Likewise.
48216         (remainder_test_towardzero): Likewise.
48217         (drem_test_towardzero): Likewise.
48218         (remainder_test_downward): Likewise.
48219         (drem_test_downward): Likewise.
48220         (remainder_test_upward): Likewise.
48221         (drem_test_upward): Likewise.
48222         (remquo_test): Likewise.
48223         (rint_test): Likewise.
48224         (rint_test_tonearest): Likewise.
48225         (rint_test_towardzero): Likewise.
48226         (rint_test_downward): Likewise.
48227         (rint_test_upward): Likewise.
48228         (round_test): Likewise.
48229         (scalb_test): Likewise.
48230         (scalbn_test): Likewise.
48231         (scalbln_test): Likewise.
48232         (signbit_test): Likewise.
48233         (sin_test): Likewise.
48234         (sin_test_tonearest): Likewise.
48235         (sin_test_towardzero): Likewise.
48236         (sin_test_downward): Likewise.
48237         (sin_test_upward): Likewise.
48238         (sincos_test): Likewise.
48239         (sinh_test): Likewise.
48240         (sinh_test_tonearest): Likewise.
48241         (sinh_test_towardzero): Likewise.
48242         (sinh_test_downward): Likewise.
48243         (sinh_test_upward): Likewise.
48244         (sqrt_test): Likewise.
48245         (sqrt_test_tonearest): Likewise.
48246         (sqrt_test_towardzero): Likewise.
48247         (sqrt_test_downward): Likewise.
48248         (sqrt_test_upward): Likewise.
48249         (tan_test): Likewise.
48250         (tan_test_tonearest): Likewise.
48251         (tan_test_towardzero): Likewise.
48252         (tan_test_downward): Likewise.
48253         (tan_test_upward): Likewise.
48254         (tanh_test): Likewise.
48255         (tgamma_test): Likewise.
48256         (trunc_test): Likewise.
48257         (y0_test): Likewise.
48258         (y1_test): Likewise.
48259         (yn_test): Likewise.
48260         (significand_test): Likewise.
48262         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48263         individual tests in comment.
48264         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48265         (prev_max_error): New variable.
48266         (prev_real_max_error): Likewise.
48267         (prev_imag_max_error): Likewise.
48268         (compare_ulp_data): Don't refer to test names in comment.
48269         (find_test_ulps): Remove function.
48270         (find_function_ulps): Likewise.
48271         (find_complex_function_ulps): Likewise.
48272         (init_max_error): Take function name as argument.  Look up ulps
48273         for that function.
48274         (print_ulps): Remove function.
48275         (print_max_error): Use prev_max_error instead of calling
48276         find_function_ulps.
48277         (print_complex_max_error): Use prev_real_max_error and
48278         prev_imag_max_error instead of calling find_complex_function_ulps.
48279         (check_float_internal): Take max_ulp parameter instead of calling
48280         find_test_ulps.  Don't call print_ulps.
48281         (check_float): Update call to check_float_internal.
48282         (check_complex): Update calls to check_float_internal.
48283         (START): Pass argument to init_max_error.
48284         * math/gen-libm-test.pl (%results): Don't include "kind"
48285         information.
48286         (parse_ulps): Don't handle ulps of individual tests.
48287         (print_ulps_file): Likewise.
48288         (output_ulps): Likewise.
48289         * math/README.libm-test: Update.
48290         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48291         individual tests.
48292         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48293         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48294         * sysdeps/arm/libm-test-ulps: Likewise.
48295         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48296         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48297         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48298         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48299         * sysdeps/microblaze/libm-test-ulps: Likewise.
48300         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48301         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48303         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48304         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48305         * sysdeps/sh/libm-test-ulps: Likewise.
48306         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48307         * sysdeps/tile/libm-test-ulps: Likewise.
48308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48310 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48312         * math/libm-test.inc (print_complex_max_error): Check separately
48313         whether real and imaginary errors are within allowed range and
48314         pass 0 to print_complex_function_ulps instead of value within
48315         allowed range.
48317 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48319         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48320         formatting.
48321         (get_handles_fopen): Likewise.
48322         (do_write_test): Likewise.
48324         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48326         * libio/fileops.c (do_ftell): Use cached offset when
48327         available.
48328         * libio/iofwide.c (do_ftell_wide): Likewise.
48329         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48330         _IO_file_attach.
48331         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48333         [BZ #16532]
48334         * libio/libioP.h (get_file_offset): New function.
48335         * libio/fileops.c (get_file_offset): Likewise.
48336         (do_ftell): Likewise.
48337         (_IO_new_file_seekoff): Split out ftell logic.
48338         * libio/wfileops.c (do_ftell_wide): Likewise.
48339         (_IO_wfile_seekoff): Split out ftell logic.
48340         * libio/tst-ftell-active-handler.c: New test case.
48341         * libio/Makefile (tests): Add it.
48343 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48345         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48346         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48348 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48350         [BZ #16639]
48351         * nscd/connections.c (nscd_init): Call do_exit.
48352         (start_threads): Call do_exit and notify_parent.
48353         (begin_drop_privileges): Call do_exit.
48354         (finish_drop_privileges): Likewise.
48355         * nscd/selinux.c (preserve_capabilities): Likewise.
48356         (install_real_capabilities): Likewise.
48357         (nscd_selinux_enabled): Likewise.
48358         (avc_create_thread): Likewise.
48359         (avc_alloc_lock): Likewise.
48360         (nscd_avc_init): Likewise.
48361         * nscd/nscd.c (parent_fd): New static variable.
48362         (main): Create a pipe between parent and child processes.
48363         Skip closing parent_fd.
48364         (monitor_child): New function.
48365         (do_exit): Likewise.
48366         (notify_parent): Likewise.
48367         * nscd/nscd.h (notify_parent): Likewise.
48368         (do_exit): Likewise.
48370 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48372         * malloc/malloc.c (__libc_calloc): Revert last change.
48374 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48378 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48380         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48382         implementation.
48383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48384         (__libc_ifunc_impl_list): Likewise.
48385         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48386         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48387         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48388         * string/strrchr.c: Define STRRCHR.
48390 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48392         * benchtest/bench-strtok.c (simple_strtok): Delete.
48393         (strtok_string): Use as benchmark.
48394         * string/strtok (STRTOK): New macro.
48396 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48398         * manual/threads.texi: Add header and standard comments to all
48399         functions.
48401         * elf/dl-lookup.c (check_match): New function.
48402         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48403         (do_lookup_x): Remove nested function check_match. Use non-nested
48404         function check_match.
48406 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48408         * csu/Makefile (generated, before-compile): Use += rather than =.
48409         * catgets/Makefile (generated, generated-dirs): Likewise.
48410         * debug/Makefile (generated): Likewise.
48411         * dlfcn/Makefile (generated): Likewise.
48412         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48413         * iconvdata/Makefile (before-compile, generated): Likewise.
48414         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48415         * libio/Makefile (generated): Likewise.
48416         * malloc/Makefile (generated): Likewise.
48417         * manual/Makefile (generated, generated-dirs): Likewise.
48418         * misc/Makefile (generated): Likewise.
48419         * posix/Makefile (generated): Likewise.
48420         * resolv/Makefile (generated): Likewise.
48421         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48422         * timezone/Makefile (generated, generated-dirs): Likewise.
48424         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48426 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48429         power8 implementation.
48430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48431         file: POWER8 llround ifunc implementation.
48432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48433         (__lllround): Add POWER8 implementation.
48434         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48435         POWER8 llround implementation.
48437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48438         power8 implementation.
48439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48440         file: POWER8 llrint ifunc implementation.
48441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48442         Add POWER8 implementation.
48443         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48444         POWER8 llrint implementation.
48446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48447         power8 implementation.
48448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48449         file: POWER8 finite ifunc implementation.
48450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48451         Add POWER8 implementation.
48452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48453         Likewise.
48454         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48455         POWER8 finite implementation.
48456         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48459         power8 implementation.
48460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48461         file: POWER8 isinf ifunc implementation.
48462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48463         POWER8 implementation.
48464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48465         Likewise.
48466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48467         isinf implementation.
48468         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48470         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48471         (INIT_ARCH): Add hwcap2 initialization.
48472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48473         power8 implementation.
48474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48475         file: POWER8 isnan ifunc implementation.
48476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48477         POWER8 implementation.
48478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48479         Likewise.
48480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48481         isnan implementation.
48482         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48484 2014-02-27  Joey Ye  <joey.ye@arm.com>
48486         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48487         (_FP_NANFRAC_Q): Set to zero.
48489 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48491         [BZ #16623]
48492         * math/auto-libm-test-in: New test inputs.
48493         * math/auto-libm-test-out: Regenerate.
48494         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48495         and DA.
48496         (__cos): Likewise.
48497         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48499 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48501         * scripts/evaluate-test.sh: Take new argument indicating whether
48502         failure is expected.
48503         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48504         indicating whether failure is expected.
48505         * conform/Makefile (test-xfail-run-conformtest): New variable.
48506         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48507         level.
48508         * posix/Makefile (test-xfail-annexc): New variable.
48509         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48511 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48513         * argp/Makefile: Include Makeconfig immediately after defining
48514         subdir.
48515         * assert/Makefile: Likewise.
48516         * benchtests/Makefile: Likewise.
48517         * catgets/Makefile: Likewise.
48518         * conform/Makefile: Likewise.
48519         * crypt/Makefile: Likewise.
48520         * csu/Makefile: Likewise.
48521         (all): Remove target.
48522         * ctype/Makefile: Include Makeconfig immediately after defining
48523         subdir.
48524         * debug/Makefile: Likewise.
48525         * dirent/Makefile: Likewise.
48526         * dlfcn/Makefile: Likewise.
48527         * gmon/Makefile: Likewise.
48528         * gnulib/Makefile: Likewise.
48529         * grp/Makefile: Likewise.
48530         * gshadow/Makefile: Likewise.
48531         * hesiod/Makefile: Likewise.
48532         * hurd/Makefile: Likewise.
48533         (all): Remove target.
48534         * iconvdata/Makefile: Include Makeconfig immediately after
48535         defining subdir.
48536         * inet/Makefile: Likewise.
48537         * intl/Makefile: Likewise.
48538         * io/Makefile: Likewise.
48539         * libio/Makefile: Likewise.
48540         (all): Remove target.
48541         * locale/Makefile: Include Makeconfig immediately after defining
48542         subdir.
48543         * login/Makefile: Likewise.
48544         * mach/Makefile: Likewise.
48545         (all): Remove target.
48546         * malloc/Makefile: Include Makeconfig immediately after defining
48547         subdir.
48548         (all): Remove target.
48549         * manual/Makefile: Include Makeconfig immediately after defining
48550         subdir.
48551         * math/Makefile: Likewise.
48552         * misc/Makefile: Likewise.
48553         * nis/Makefile: Likewise.
48554         * nss/Makefile: Likewise.
48555         * po/Makefile: Likewise.
48556         (all): Remove target.
48557         * posix/Makefile: Include Makeconfig immediately after defining
48558         subdir.
48559         * pwd/Makefile: Likewise.
48560         * resolv/Makefile: Likewise.
48561         * resource/Makefile: Likewise.
48562         * rt/Makefile: Likewise.
48563         * setjmp/Makefile: Likewise.
48564         * shadow/Makefile: Likewise.
48565         * signal/Makefile: Likewise.
48566         * socket/Makefile: Likewise.
48567         * soft-fp/Makefile: Likewise.
48568         * stdio-common/Makefile: Likewise.
48569         * stdlib/Makefile: Likewise.
48570         * streams/Makefile: Likewise.
48571         * string/Makefile: Likewise.
48572         * sunrpc/Makefile: Likewise.
48573         (all): Remove target.
48574         * sysvipc/Makefile: Include Makeconfig immediately after defining
48575         subdir.
48576         * termios/Makefile: Likewise.
48577         * time/Makefile: Likewise.
48578         * timezone/Makefile: Likewise.
48579         (all): Remove target.
48580         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48581         subdir.
48582         * wctype/Makefile: Likewise.
48584 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48586         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48587         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48588         (libc_feholdexcept_setround_mips): Ditto.
48589         (libc_feholdsetround): New.
48590         (libc_feholdsetroundf): New.
48591         (libc_feholdsetroundl): New.
48592         (libc_feupdateenv_test_mips): New.
48593         (libc_feupdateenv_test): New.
48594         (libc_feupdateenv_testf): New.
48595         (libc_feupdateenv_testl): New.
48596         (libc_feresetround): New.
48597         (libc_feresetroundf): New.
48598         (libc_feresetroundl): New.
48599         (libc_fetestexcept_mips): New.
48600         (libc_fetestexcept): New.
48601         (libc_fetestexceptf): New.
48602         (libc_fetestexceptl): New.
48603         (HAVE_RM_CTX): New.
48604         (libc_feholdexcept_setround_mips_ctx): New.
48605         (libc_feholdexcept_setround_ctx): New.
48606         (libc_feholdexcept_setroundf_ctx): New.
48607         (libc_feholdexcept_setroundl_ctx): New.
48608         (libc_fesetenv_mips_ctx): New.
48609         (libc_fesetenv_ctx): New.
48610         (libc_fesetenv_ctxf): New.
48611         (libc_fesetenv_ctxl): New.
48612         (libc_feupdateenv_mips_ctx): New.
48613         (libc_feupdateenv_ctx): New.
48614         (libc_feupdateenvf_ctx): New.
48615         (libc_feupdateenvl_ctx): New.
48616         (libc_feholdsetround_mips_ctx): New.
48617         (libc_feholdsetround_ctx): New.
48618         (libc_feholdsetroundf_ctx): New.
48619         (libc_feholdsetroundl_ctx): New.
48620         (libc_feresetround_mips_ctx): New.
48621         (libc_feresetround_ctx): New.
48622         (libc_feresetroundf_ctx): New.
48623         (libc_feresetroundl_ctx): New.
48625 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48627         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48629         * manual/ipc.texi: New file.
48630         * manual/Makefile (chapters): Add ipc.
48631         * manual/job.texi: Add "Inter-Process Communication" to next.
48632         * manual/process.texi: Add "Inter-Process Communication" to prev.
48634 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48638 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48640         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48642         * manual/arith.texi: Fix spaces after sentences.
48643         * manual/charset.texi: Likewise.
48644         * manual/errno.texi: Likewise.
48645         * manual/install.texi: Likewise.
48646         * manual/llio.texi: Likewise.
48647         * manual/locale.texi: Likewise.
48648         * manual/maint.texi: Likewise.
48649         * manual/math.texi: Likewise.
48650         * manual/memory.texi: Likewise.
48651         * manual/message.texi: Likewise.
48652         * manual/probes.texi: Likewise.
48653         * manual/resource.texi: Likewise.
48654         * manual/signal.texi: Likewise.
48655         * manual/socket.texi: Likewise.
48656         * manual/stdio.texi: Likewise.
48657         * manual/string.texi: Likewise.
48658         * manual/time.texi: Likewise.
48659         * manual/users.texi: Likewise.
48661 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48663         [BZ #16632]
48664         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48665         _DEFAULT_SOURCE is defined.
48667 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48668             Carlos O'Donell  <carlos@redhat.com>
48670         [BZ #16613]
48671         * elf/dl-tls.c (_dl_count_modids): New function.
48672         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48673         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48674         audit library and increment generation counter.
48675         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48676         * elf/tst-audit9.c: New file.
48677         * elf/tst-auditmod9a.c: New file.
48678         * elf/tst-auditmod9b.c: New file.
48679         * elf/Makefile: Add rules to build and run tst-audit9.
48681 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48683         [BZ #15347]
48684         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48686 2014-02-25  Will Newton  <will.newton@linaro.org>
48688         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48689         (__longjmp): Restore sp and lr before restoring callee
48690         saved registers.  Add longjmp and longjmp_target
48691         SystemTap probe point.
48692         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48693         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48694         Define to zero to match jmpbuf layout.
48695         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48696         (__sigsetjmp): Save sp and lr before saving callee
48697         saved registers.  Add setjmp SystemTap probe point.
48699 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48701         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48703 2014-02-24  Andreas Schwab  <schwab@suse.de>
48705         [BZ #15804]
48706         * elf/pldd.c (wait_for_ptrace_stop): New function.
48707         (main): Call it after attaching.
48709 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48711         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48712         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48713         Versions files is now verboten.
48714         * hurd/Versions (libc: GLIBC_2.0):
48715         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48716         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48717         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48718         * mach/Versions: Likewise.
48720         * csu/Versions: Remove unused %include.
48721         * resolv/Versions: Likewise.
48723 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
48725         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
48726         ($(objpfx)check-local-headers.out): Likewise.
48727         ($(objpfx)begin-end-check.out): Likewise.
48728         * Makerules (check-abi-%.out): Likewise.
48729         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
48730         ($(objpfx)test2.cat): Likewise.
48731         ($(objpfx)de/libc.cat): Likewise.
48732         ($(objpfx)test-gencat.out): Likewise.
48733         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
48734         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
48735         ($(objpfx)noload-mem): Likewise.
48736         ($(objpfx)tst-pathopt.out): Likewise.
48737         ($(objpfx)tst-rtld-load-self.out): Likewise.
48738         ($(objpfx)tst-array1-cmp.out): Likewise.
48739         ($(objpfx)tst-array1-static-cmp.out): Likewise.
48740         ($(objpfx)tst-array2-cmp.out): Likewise.
48741         ($(objpfx)tst-array3-cmp.out): Likewise.
48742         ($(objpfx)tst-array4-cmp.out): Likewise.
48743         ($(objpfx)tst-array5-cmp.out): Likewise.
48744         ($(objpfx)tst-array5-static-cmp.out): Likewise.
48745         ($(objpfx)check-textrel.out): Likewise.
48746         ($(objpfx)check-execstack.out): Likewise.
48747         ($(objpfx)check-localplt.out): Likewise.
48748         ($(objpfx)order2-cmp.out): Likewise.
48749         ($(objpfx)tst-leaks1-mem): Likewise.
48750         ($(objpfx)tst-leaks1-static-mem): Likewise.
48751         ($(objpfx)tst-initorder-cmp.out): Likewise.
48752         ($(objpfx)tst-initorder2-cmp.out): Likewise.
48753         ($(objpfx)tst-unused-dep.out): Likewise.
48754         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
48755         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
48756         * iconv/Makefile (test-iconvconfig): Likewise.
48757         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
48758         ($(objpfx)iconv-test.out): Likewise.
48759         ($(objpfx)tst-tables.out): Likewise.
48760         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
48761         ($(objpfx)tst-gettext.out): Likewise.
48762         ($(objpfx)tst-translit.out): Likewise.
48763         ($(objpfx)tst-gettext2.out): Likewise.
48764         ($(objpfx)tst-gettext4.out): Likewise.
48765         ($(objpfx)tst-gettext6.out): Likewise.
48766         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
48767         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
48768         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
48769         ($(objpfx)tst-fopenloc-mem.out): Likewise.
48770         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
48771         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
48772         * posix/Makefile ($(objpfx)globtest.out): Likewise.
48773         ($(objpfx)wordexp-tst.out): Likewise.
48774         ($(objpfx)annexc.out): Likewise.
48775         ($(objpfx)tst-fnmatch-mem): Likewise.
48776         ($(objpfx)bug-regex2-mem): Likewise.
48777         ($(objpfx)bug-regex14-mem): Likewise.
48778         ($(objpfx)bug-regex21-mem): Likewise.
48779         ($(objpfx)bug-regex31-mem): Likewise.
48780         ($(objpfx)tst-vfork3-mem): Likewise.
48781         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48782         ($(objpfx)tst-pcre-mem): Likewise.
48783         ($(objpfx)tst-boost-mem): Likewise.
48784         ($(objpfx)tst-getconf.out): Likewise.
48785         ($(objpfx)bug-ga2-mem): Likewise.
48786         ($(objpfx)bug-glob2-mem): Likewise.
48787         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
48788         ($(objpfx)mtrace-tst-leaks2): Likewise.
48789         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
48790         ($(objpfx)tst-printf.out): Likewise.
48791         ($(objpfx)tst-setvbuf1.out): Likewise.
48792         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
48793         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
48794         ($(objpfx)tst-fmtmsg.out): Likewise.
48795         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
48796         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
48798         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
48799         * bits/sigaction.h [__USE_MISC]: Likewise.
48800         * bits/waitstatus.h: Update #endif comments.
48801         * ctype/ctype.h: Likewise.
48802         * dirent/dirent.h: Likewise.
48803         [__USE_MISC]: Remove redundant conditionals.
48804         * grp/grp.h: Update #endif comments.
48805         [__USE_GNU]: Remove redundant conditionals.
48806         [__USE_MISC]: Likewise.
48807         * inet/netinet/in.h [__USE_GNU]: Likewise.
48808         * io/sys/stat.h [__USE_MISC]: Likewise.
48809         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
48810         * libio/bits/stdio.h: Update #endif comments.
48811         [__USE_MISC]: Remove redundant conditionals.
48812         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
48813         * libio/stdio.h: Update #endif comments.
48814         [__USE_MISC]: Remove redundant conditionals.
48815         * math/bits/math-finite.h [__USE_MISC]: Likewise.
48816         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
48817         * math/math.h: Update #else and #endif comments.
48818         [__USE_MISC]: Remove redundant conditionals.
48819         * misc/sys/uio.h: Update #endif comments.
48820         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
48821         * posix/glob.h [__USE_MISC]: Likewise.
48822         * posix/sys/types.h: Update #endif comments.
48823         [__USE_MISC]: Remove redundant conditionals.
48824         * posix/sys/wait.h: Update #endif comments.
48825         [__USE_MISC]: Remove redundant conditionals.
48826         * posix/unistd.h: Update #endif comments.
48827         [__USE_MISC]: Remove redundant conditionals.
48828         * pwd/pwd.h [__USE_GNU]: Likewise.
48829         [__USE_MISC]: Likewise.
48830         * resolv/netdb.h [__USE_GNU]: Likewise.
48831         * signal/signal.h: Update #endif comments.
48832         [__USE_MISC]: Remove redundant conditionals.
48833         * stdlib/stdlib.h: Update #else and #endif comments.
48834         [__USE_MISC]: Remove redundant conditionals.
48835         [__USE_GNU]: Likewise.
48836         * string/bits/string2.h [__USE_MISC]: Likewise.
48837         * string/string.h: Update #endif comments.
48838         [__USE_MISC]: Remove redundant conditionals.
48839         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
48840         Likewise.
48841         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
48842         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
48843         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
48844         Likewise.
48845         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
48846         Likewise.
48847         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
48848         comments.
48849         [__USE_MISC]: Remove redundant conditionals.
48850         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
48851         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
48852         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
48853         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
48854         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
48855         Likewise.
48856         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
48857         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
48858         Likewise.
48859         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
48860         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
48861         Likewise.
48862         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
48863         Likewise.
48864         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
48865         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
48866         Likewise.
48867         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
48868         Likewise.
48869         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
48870         * sysdeps/x86/bits/string.h: Update #endif comments.
48871         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
48872         conditionals.
48873         * time/sys/time.h: Update #endif comments.
48874         * time/time.h: Likewise.
48875         [__USE_MISC]: Remove redundant conditionals.
48877 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
48879         [BZ #16600]
48880         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
48882 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
48884         * Versions.def (librt): Add GLIBC_2.17.
48886 2014-02-21  Adam Conrad  <adconrad@0c3.net>
48888         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
48889         synonym for _SYS_AUXV_H to allow direct inclusion.
48890         * sysdeps/sparc/bits/hwcap.h: Likewise.
48891         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
48892         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
48893         * sysdeps/sparc/sysdep.h: Likewise.
48895 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48897         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
48899 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48901         * benchtests/bench-strrchr.c: Print length instead of position.
48903 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
48905         [BZ #16611]
48906         * sysdeps/unix/sysv/linux/kernel-features.h
48907         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
48908         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
48909         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
48910         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
48911         Likewise.
48912         [__i386__ || __powerpc__ || __sh__ || __sparc__]
48913         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48914         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
48915         (__ASSUME_SENDMMSG): Define instead of using previous
48916         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
48917         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48918         (__ASSUME_SENDMMSG_SYSCALL): Define.
48919         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48920         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
48921         Likewise.
48922         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48923         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48924         Likewise.
48925         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48926         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48927         Likewise.
48928         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
48929         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48930         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48931         [__ASSUME_SENDMMSG]: Change conditionals to
48932         [__ASSUME_SENDMMSG_SOCKETCALL].
48933         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48934         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
48935         Define.
48936         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48937         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
48938         Likewise.
48939         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
48940         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
48941         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
48942         [!__ASSUME_SENDMMSG]: Change conditional to
48943         [!__ASSUME_SENDMMSG_SOCKETCALL].
48944         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48945         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
48946         Define.
48948         [BZ #16610]
48949         * sysdeps/unix/sysv/linux/kernel-features.h
48950         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
48951         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
48952         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
48953         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
48954         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
48955         [__i386__ || __sparc__]
48956         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48957         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
48958         (__ASSUME_RECVMMSG): Define instead of using previous
48959         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
48960         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48961         (__ASSUME_RECVMMSG_SYSCALL): Define.
48962         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48964         Likewise.
48965         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48966         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48967         Likewise.
48968         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
48969         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48970         Likewise.
48971         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
48972         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48973         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48974         [__ASSUME_RECVMMSG]: Change condition to
48975         [__ASSUME_RECVMMSG_SOCKETCALL].
48976         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48977         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48978         Define.
48979         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
48980         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
48982         Likewise.
48983         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
48984         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
48985         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
48986         [!__ASSUME_RECVMMSG]: Change condition to
48987         [!__ASSUME_RECVMMSG_SOCKETCALL].
48988         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48989         (__ASSUME_RECVMMSG_SYSCALL): Define.
48991         [BZ #16609]
48992         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
48993         __powerpc__ || __s390__ || __sh__ || __sparc__]
48994         (__ASSUME_SOCKETCALL): Define.
48995         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
48996         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
48997         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
48998         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
48999         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49000         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49001         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49002         (__ASSUME_ACCEPT4): Define instead of using previous
49003         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49004         __powerpc__ || __sparc__ || __s390__)] condition.
49005         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49006         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49007         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49008         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49009         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49010         [!__ASSUME_ACCEPT4]: Change condition to
49011         [!__ASSUME_ACCEPT4_SOCKETCALL].
49012         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49013         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49014         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49015         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49016         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49017         __ASSUME_ACCEPT4_SYSCALL.
49018         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49019         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49020         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49021         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49022         __ASSUME_ACCEPT4_SYSCALL.
49023         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49024         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49025         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49026         [__ASSUME_ACCEPT4]: Change condition to
49027         [__ASSUME_ACCEPT4_SOCKETCALL].
49028         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49029         (__ASSUME_SOCKETCALL): Define.
49030         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49031         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49032         (__ASSUME_SOCKETCALL): Define.
49033         (__ASSUME_ACCEPT4): Remove.
49034         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49035         Define.
49036         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49037         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49038         Likewise.
49039         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49040         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49042         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49043         macro.
49044         (HWCAP_ARM_LPAE): Likewise.
49045         (HWCAP_ARM_EVTSTRM): Likewise.
49046         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49047         Add vpfd32, lpae and evtstrm.
49048         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49049         Increase to 22.
49051 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49053         * math/auto-libm-test-in: Add tests of clog10.
49054         * math/auto-libm-test-out: Regenerated.
49055         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49056         * sysdeps/i386/fpu/libm-test-ulps: Update.
49057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49059 2014-02-18  Andreas Schwab  <schwab@suse.de>
49061         [BZ #16574]
49062         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49063         Store non-zero if the second buffer was newly allocated.
49064         (send_dg): Likewise.
49065         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49066         to send_vc and send_dg.
49067         (res_nsend): Pass NULL for ansp2_malloced.
49068         * resolv/res_query.c (__libc_res_nquery): Add parameter
49069         answerp2_malloced and pass it down to __libc_res_nsend.
49070         (res_nquery): Pass additional NULL to __libc_res_nquery.
49071         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49072         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49073         second answer buffer if answerp2_malloced was set.
49074         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49075         (__libc_res_nquerydomain): Add parameter
49076         answerp2_malloced and pass it down to __libc_res_nquery.
49077         (res_nquerydomain): Pass additional NULL to
49078         __libc_res_nquerydomain.
49079         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49080         additional NULL to __libc_res_nsend and __libc_res_nquery.
49081         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49082         additional NULL to __libc_res_nsearch.
49083         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49084         parameter of __libc_res_nsearch to check for separately allocated
49085         second buffer.
49086         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49087         __libc_res_nquery.
49088         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49089         additional NULL to __libc_res_nquery.
49090         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49091         __libc_res_nsearch.
49092         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49093         * include/resolv.h: Update prototypes of __libc_res_nquery,
49094         __libc_res_nsearch, __libc_res_nsend.
49096 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49098         * math/auto-libm-test-in: Add tests of fma.
49099         * math/auto-libm-test-out: Regenerated.
49100         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49101         (fma_towardzero_test_data): Likewise.
49102         (fma_downward_test_data): Likewise.
49103         (fma_upward_test_data): Likewise.
49104         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49105         mpc_mode.
49106         (rounding_modes): Add values for new field.
49107         (func_calc_method): Add value mpfr_fff_f.
49108         (func_calc_desc): Add mpfr_fff_f union field.
49109         (test_function): Add field exact_args.
49110         (FUNC): Add macro argument EXACT_ARGS.
49111         (FUNC_mpfr_f_f): Update call to FUNC.
49112         (FUNC_mpfr_f_f): Likewise.
49113         (FUNC_mpfr_ff_f): Likewise.
49114         (FUNC_mpfr_if_f): Likewise.
49115         (FUNC_mpc_c_f): Likewise.
49116         (FUNC_mpc_c_c): Likewise.
49117         (test_functions): Add fma.  Update calls to FUNC.
49118         (handle_input_arg): Add argument exact_args.
49119         (add_test): Update call to handle_input_arg.
49120         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49121         (output_for_one_input_case): Update call to calc_generic_results.
49122         Recalculate exact zero results in each rounding mode.
49124         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49125         non-negative before setting low bit.
49126         * math/auto-libm-test-in: Mark one asin test possibly having
49127         spurious underflow.
49128         * math/auto-libm-test-out: Regenerated.
49129         * sysdeps/i386/fpu/libm-test-ulps: Update.
49130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49132 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49134         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49135         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49136         ports/sysdeps/unix/sysv/linux/microblaze.
49137         * README: Add missing listing for microblaze*-*-linux-gnu.
49139 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49141         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49142         duplicate code
49144 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49146         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49147         * sysdeps/unix/sysv/linux/ia64: Move directory from
49148         ports/sysdeps/unix/sysv/linux/ia64.
49149         * README: Update listing for ia64-*-linux-gnu.
49151 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49152             Joseph Myers  <joseph@codesourcery.com>
49154         * Makeconfig (test-name): New variable.
49155         (evaluate-test): Likewise.
49156         * Makerules (do-test-clean): Remove .test-result files.
49157         (common-mostlyclean): Likewise.
49158         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49159         * scripts/evaluate-test.sh: New file.
49161 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49163         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49164         separate $(objpfx)tst-fopenloc-cmp.out and
49165         $(objpfx)tst-fopenloc-mem.out targets.
49166         (tests): Update dependencies.
49167         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49168         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49169         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49170         (tst-rxspencer-no-utf8-ARGS): New variable.
49171         (tst-rxspencer-no-utf8-ENV): Likewise.
49172         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49173         instead of $(objpfx)tst-rxspencer-mem.
49174         ($(objpfx)tst-rxspencer-mem): Change target to
49175         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49176         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49177         * posix/tst-rxspencer-no-utf8.c: New file.
49179         * elf/Makefile ($(objpfx)order.out): Remove rule.
49180         [$(run-built-tests) = yes] (tests): Depend on
49181         $(objpfx)order-cmp.out.
49182         ($(objpfx)order-cmp.out): New rule.
49183         [$(run-built-tests) = yes] (tests): Depend on
49184         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49185         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49186         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49187         $(objpfx)tst-array5-static-cmp.out.
49188         ($(objpfx)tst-array1.out): Remove rule.
49189         ($(objpfx)tst-array1-cmp.out): New rule.
49190         ($(objpfx)tst-array1-static.out): Remove rule.
49191         ($(objpfx)tst-array1-static-cmp.out): New rule.
49192         ($(objpfx)tst-array2.out): Remove rule.
49193         ($(objpfx)tst-array2-cmp.out): New rule.
49194         ($(objpfx)tst-array3.out): Remove rule.
49195         ($(objpfx)tst-array3-cmp.out): New rule.
49196         ($(objpfx)tst-array4.out): Remove rule.
49197         ($(objpfx)tst-array4-cmp.out): New rule.
49198         ($(objpfx)tst-array5.out): Remove rule.
49199         ($(objpfx)tst-array5-cmp.out): New rule.
49200         ($(objpfx)tst-array5-static.out): Remove rule.
49201         ($(objpfx)tst-array5-static-cmp.out): New rule.
49202         [$(run-built-tests) = yes] (tests): Depend on
49203         $(objpfx)order2-cmp.out.
49204         ($(objpfx)order2.out): Remove rule.
49205         ($(objpfx)order2-cmp.out): New rule.
49206         ($(objpfx)tst-initorder.out): Remove rule.
49207         [$(run-built-tests) = yes] (tests): Depend on
49208         $(objpfx)tst-initorder-cmp.out.
49209         ($(objpfx)tst-initorder-cmp.out): New rule.
49210         ($(objpfx)tst-initorder2.out): Remove rule.
49211         [$(run-built-tests) = yes] (tests): Depend on
49212         $(objpfx)tst-initorder2-cmp.out.
49213         ($(objpfx)tst-initorder2-cmp.out): New rule.
49214         [$(run-built-tests) = yes] (tests): Depend on
49215         $(objpfx)tst-unused-dep-cmp.out.
49216         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49217         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49218         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49219         on $(objpfx)tst-setvbuf1-cmp.out.
49220         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49221         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49222         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49223         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49224         ($(objpfx)tst-svc.out): Remove rule.
49225         ($(objpfx)tst-svc-cmp.out): New rule.
49227 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49229         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49230         * ctype/ctype.h [__USE_MISC]: Likewise.
49231         * dirent/dirent.h [__USE_MISC]: Likewise.
49232         * grp/grp.h [__USE_MISC]: Likewise.
49233         * io/fcntl.h [__USE_MISC]: Likewise.
49234         * io/sys/stat.h [__USE_MISC]: Likewise.
49235         * libio/stdio.h [__USE_MISC]: Likewise.
49236         * posix/unistd.h [__USE_MISC]: Likewise.
49237         * pwd/pwd.h [__USE_MISC]: Likewise.
49238         * stdlib.h [__USE_MISC]: Likewise.
49239         * string/bits/string2.h [__USE_MISC]: Likewise.
49240         * string/string.h [__USE_MISC]: Likewise.
49241         * time/time.h [__USE_MISC]: Likewise.
49243 2014-02-13  Andreas Schwab  <schwab@suse.de>
49245         [BZ #16574]
49246         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49247         second answer buffer if it was separately allocated.
49249 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49251         * sysdeps/mips/math-tests.h: Include <features.h>.
49252         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49253         (ROUNDING_TESTS_long_double): Do not define.
49254         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49255         (EXCEPTION_TESTS_long_double): Likewise.
49256         * sysdeps/mips/mips64/libm-test-ulps: Update.
49258         * include/features.h (__USE_BSD): Remove macro definitions.
49259         (__USE_SVID): Likewise.
49260         (_BSD_SOURCE): Likewise.
49261         (_SVID_SOURCE): Likewise.
49262         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49263         from definition of _DEFAULT_SOURCE.
49264         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49265         [_DEFAULT_SOURCE].
49266         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49267         * bits/mman.h [__USE_BSD]: Likewise.
49268         * bits/termios.h [__USE_BSD]: Likewise.
49269         * bits/waitstatus.h [__USE_BSD]: Likewise.
49270         * ctype/ctype.h [__USE_SVID]: Likewise.
49271         * dirent/dirent.h [__USE_BSD]: Likewise.
49272         * grp/grp.h [__USE_SVID]: Likewise.
49273         [__USE_BSD]: Likewise.
49274         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49275         * io/fcntl.h [__USE_BSD]: Likewise.
49276         * io/ftw.h [__USE_BSD]: Likewise.
49277         * io/sys/stat.h [__USE_BSD]: Likewise.
49278         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49279         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49280         * libio/stdio.h [__USE_SVID]: Likewise.
49281         [__USE_BSD]: Likewise.
49282         * math/math.h [__USE_SVID]: Likewise.
49283         [__USE_BSD]: Likewise.
49284         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49285         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49286         * misc/search.h [__USE_SVID]: Likewise.
49287         * misc/sys/mman.h [__USE_BSD]: Likewise.
49288         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49289         * misc/sys/uio.h [__USE_BSD]: Likewise.
49290         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49291         * posix/glob.h [__USE_BSD]: Likewise.
49292         * posix/regex.h [__USE_BSD]: Likewise.
49293         * posix/sys/types.h [__USE_BSD]: Likewise.
49294         [__USE_SVID]: Likewise.
49295         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49296         * posix/sys/wait.h [__USE_BSD]: Likewise.
49297         [__USE_SVID]: Likewise.
49298         * posix/unistd.h [__USE_BSD]: Likewise.
49299         [__USE_SVID]: Likewise.
49300         * pwd/pwd.h [__USE_SVID]: Likewise.
49301         * resolv/netdb.h [__USE_BSD]: Likewise.
49302         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49303         * signal/signal.h [__USE_BSD]: Likewise.
49304         [__USE_SVID]: Likewise.
49305         * socket/sys/socket.h [__USE_BSD]: Likewise.
49306         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49307         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49308         [__USE_SVID]: Likewise.
49309         * string/bits/string2.h [__USE_BSD]: Likewise.
49310         [__USE_SVID]: Likewise.
49311         * string/bits/string3.h [__USE_BSD]: Likewise.
49312         * string/endian.h [__USE_BSD]: Likewise.
49313         * string/string.h [__USE_SVID]: Likewise.
49314         [__USE_BSD]: Likewise.
49315         * string/strings.h [__USE_BSD]: Likewise.
49316         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49317         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49318         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49319         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49320         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49321         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49322         Likewise.
49323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49324         Likewise.
49325         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49326         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49327         Likewise.
49328         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49329         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49330         Likewise.
49331         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49332         Likewise.
49333         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49334         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49336         Likewise.
49337         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49338         Likewise.
49339         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49340         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49341         * termios/termios.h [__USE_BSD]: Likewise.
49342         * time/sys/time.h [__USE_BSD]: Likewise.
49343         * time/time.h [__USE_BSD]: Likewise.
49344         [__USE_SVID]: Likewise.
49346         * Makefile (subdir_targets): Remove subdir_lint.out.
49348         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49349         (do-tst-printf): Likewise.
49350         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49351         $(objpfx)tst-printf.out.
49353         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49355         * Makerules (check-abi-%): Change target to
49356         $(objpfx)check-abi-%.out.
49357         (check-abi target): Update dependencies.
49358         (check-abi-pattern variable): Redirect output of diff to $@.
49359         (check-abi variable): Likewise.
49360         * elf/Makefile (check-abi): Update dependencies.
49362         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49363         unused.
49364         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49365         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49366         subnormal range.
49367         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49368         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49369         value has largest subnormal exponent.
49370         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49371         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49372         * sysdeps/aarch64/soft-fp/sfp-machine.h
49373         (_FP_TININESS_AFTER_ROUNDING): New macro.
49374         * sysdeps/alpha/soft-fp/sfp-machine.h
49375         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49376         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49377         Likewise.
49378         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49379         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49380         * sysdeps/mips/soft-fp/sfp-machine.h
49381         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49382         * sysdeps/powerpc/soft-fp/sfp-machine.h
49383         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49384         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49385         Likewise.
49386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49387         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49389         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49390         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49391         Likewise.
49393 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49395         [BZ #16545]
49396         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49397         model 1.
49399 2014-02-12  Richard Henderson  <rth@redhat.com>
49401         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49402         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49403         * sysdeps/unix/sysv/linux/alpha: Move directory from
49404         ports/sysdeps/unix/sysv/linux/alpha.
49405         * README: Update listing for alpha-*-linux-gnu.
49407 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49409         * include/features.h: Update comment documenting feature test
49410         macros.
49411         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49412         _DEFAULT_SOURCE.
49413         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49414         (_SVID_SOURCE): Likewise.
49415         (_DEFAULT_SOURCE): Update description of default features.
49416         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49417         with _GNU_SOURCE.
49418         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49419         (S_ISVTX): Likewise.
49420         * manual/math.texi (Mathematical Constants): Likewise.
49421         * manual/signal.texi (Interrupted Primitives): Likewise.
49422         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49423         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49424         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49425         Don't refer to _SVID_SOURCE in warning text.
49427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49429         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49430         already defined.
49431         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49432         * sysdeps/mips/dl-lookup.c: Remove.
49433         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49435 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49437         [BZ #16447]
49438         * math/auto-libm-test-in: Add testcase for expl.
49439         * math/auto-libm-test-out: Regenerate.
49440         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49441         calculation of unsafe.
49442         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49444 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49446         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49447         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49448         ports/sysdeps/unix/sysv/linux/aarch64.
49449         * README: Update listing for aarch64*-*-linux-gnu.
49451 2014-02-11  Will Newton  <will.newton@linaro.org>
49453         * manual/probes.texi (Mathematical Function Probes): Use
49454         "triggered" instead of "hit".
49456         * manual/probes.texi (Internal Probes): Add documentation
49457         of setjmp, longjmp and longjmp_target probes.
49459         * include/stap-probe.h: Add comment about probe argument
49460         format.
49462         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49463         definition.  (tr_where, tr_freehook, tr_mallochook,
49464         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49466 2014-02-11  David S. Miller  <davem@davemloft.net>
49468         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49469         processing int_tests.
49471 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49473         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49474         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49475         * sysdeps/unix/sysv/linux/mips: Move directory from
49476         ports/sysdeps/unix/sysv/linux/mips.
49477         * README: Update listing for mips-*-linux-gnu and
49478         mips64-*-linux-gnu.
49480 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49482         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49483         * sysdeps/unix/sysv/linux/m68k: Move directory from
49484         ports/sysdeps/unix/sysv/linux/m68k.
49485         * README: Update listing for m68k-*-linux-gnu.
49487 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49489         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49490         * sysdeps/unix/sysv/linux/generic: Move directory from
49491         ports/sysdeps/unix/sysv/linux/generic.
49492         * sysdeps/unix/sysv/linux/tile: Move directory from
49493         ports/sysdeps/unix/sysv/linux/tile.
49494         * README: Update listing for tile*-*-linux-gnu.
49496 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49498         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49499         __builtin_expect.
49500         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49501         * catgets/open_catalog.c (__open_catalog): Likewise.
49502         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49503         * debug/confstr_chk.c: Likewise.
49504         * debug/fread_chk.c (__fread_chk): Likewise.
49505         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49506         * debug/getgroups_chk.c: Likewise.
49507         * debug/mbsnrtowcs_chk.c: Likewise.
49508         * debug/mbsrtowcs_chk.c: Likewise.
49509         * debug/mbstowcs_chk.c: Likewise.
49510         * debug/memcpy_chk.c: Likewise.
49511         * debug/memmove_chk.c: Likewise.
49512         * debug/mempcpy_chk.c: Likewise.
49513         * debug/memset_chk.c: Likewise.
49514         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49515         * debug/strcat_chk.c (__strcat_chk): Likewise.
49516         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49517         * debug/strncat_chk.c (__strncat_chk): Likewise.
49518         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49519         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49520         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49521         * debug/wcpncpy_chk.c: Likewise.
49522         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49523         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49524         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49525         * debug/wcsncpy_chk.c: Likewise.
49526         * debug/wcsnrtombs_chk.c: Likewise.
49527         * debug/wcsrtombs_chk.c: Likewise.
49528         * debug/wcstombs_chk.c: Likewise.
49529         * debug/wmemcpy_chk.c: Likewise.
49530         * debug/wmemmove_chk.c: Likewise.
49531         * debug/wmempcpy_chk.c: Likewise.
49532         * debug/wmemset_chk.c: Likewise.
49533         * dirent/scandirat.c (SCANDIRAT): Likewise.
49534         * dlfcn/dladdr1.c (dladdr1): Likewise.
49535         * dlfcn/dladdr.c (dladdr): Likewise.
49536         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49537         * dlfcn/dlerror.c (__dlerror): Likewise.
49538         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49539         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49540         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49541         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49542         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49543         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49544         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49545         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49546         Likewise.
49547         * elf/dl-conflict.c: Likewise.
49548         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49549         * elf/dl-dst.h: Likewise.
49550         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49551         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49552         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49553         * elf/dl-init.c (call_init, _dl_init): Likewise.
49554         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49555         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49556         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49557         Likewise.
49558         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49559         Likewise.
49560         * elf/dl-minimal.c (__libc_memalign): Likewise.
49561         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49562         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49563         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49564         * elf/dl-sym.c (do_sym): Likewise.
49565         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49566         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49567         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49568         * elf/dl-writev.h (_dl_writev): Likewise.
49569         * elf/ldconfig.c (search_dir): Likewise.
49570         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49571         (dl_main): Likewise.
49572         * elf/setup-vdso.h (setup_vdso): Likewise.
49573         * grp/compat-initgroups.c (compat_call): Likewise.
49574         * grp/fgetgrent.c (fgetgrent): Likewise.
49575         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49576         * grp/putgrent.c (putgrent): Likewise.
49577         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49578         Likewise.
49579         * hurd/hurdinit.c: Likewise.
49580         * iconvdata/8bit-gap.c (struct): Likewise.
49581         * iconvdata/ansi_x3.110.c : Likewise.
49582         * iconvdata/big5.c : Likewise.
49583         * iconvdata/big5hkscs.c : Likewise.
49584         * iconvdata/cp1255.c: Likewise.
49585         * iconvdata/cp1258.c : Likewise.
49586         * iconvdata/cp932.c : Likewise.
49587         * iconvdata/euc-cn.c: Likewise.
49588         * iconvdata/euc-jisx0213.c : Likewise.
49589         * iconvdata/euc-jp.c: Likewise.
49590         * iconvdata/euc-jp-ms.c : Likewise.
49591         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49592         * iconvdata/gb18030.c : Likewise.
49593         * iconvdata/gbbig5.c (const): Likewise.
49594         * iconvdata/gbgbk.c: Likewise.
49595         * iconvdata/gbk.c : Likewise.
49596         * iconvdata/ibm1364.c : Likewise.
49597         * iconvdata/ibm930.c : Likewise.
49598         * iconvdata/ibm932.c: Likewise.
49599         * iconvdata/ibm933.c : Likewise.
49600         * iconvdata/ibm935.c : Likewise.
49601         * iconvdata/ibm937.c : Likewise.
49602         * iconvdata/ibm939.c : Likewise.
49603         * iconvdata/ibm943.c: Likewise.
49604         * iconvdata/iso_11548-1.c: Likewise.
49605         * iconvdata/iso-2022-cn.c : Likewise.
49606         * iconvdata/iso-2022-cn-ext.c : Likewise.
49607         * iconvdata/iso-2022-jp-3.c: Likewise.
49608         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49609         * iconvdata/iso-2022-kr.c : Likewise.
49610         * iconvdata/iso646.c (gconv_end): Likewise.
49611         * iconvdata/iso_6937-2.c : Likewise.
49612         * iconvdata/iso_6937.c : Likewise.
49613         * iconvdata/iso8859-1.c: Likewise.
49614         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49615         * iconvdata/shift_jisx0213.c : Likewise.
49616         * iconvdata/sjis.c : Likewise.
49617         * iconvdata/t.61.c : Likewise.
49618         * iconvdata/tcvn5712-1.c : Likewise.
49619         * iconvdata/tscii.c: Likewise.
49620         * iconvdata/uhc.c : Likewise.
49621         * iconvdata/unicode.c (gconv_end): Likewise.
49622         * iconvdata/utf-16.c (gconv_end): Likewise.
49623         * iconvdata/utf-32.c (gconv_end): Likewise.
49624         * iconvdata/utf-7.c (base64): Likewise.
49625         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49626         * iconv/gconv_close.c (__gconv_close): Likewise.
49627         * iconv/gconv_open.c (__gconv_open): Likewise.
49628         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49629         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49630         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49631         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49632         (ucs4le_internal_loop_single): Likewise.
49633         * iconv/iconv.c (iconv): Likewise.
49634         * iconv/iconv_close.c: Likewise.
49635         * iconv/loop.c (SINGLE): Likewise.
49636         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49637         * include/atomic.h: Likewise.
49638         * inet/inet6_option.c (option_alloc): Likewise.
49639         * intl/bindtextdom.c (set_binding_values): Likewise.
49640         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49641         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49642         * intl/localealias.c (read_alias_file): Likewise.
49643         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49644         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49645         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49646         * libio/fmemopen.c (fmemopen): Likewise.
49647         * libio/iofgets.c (_IO_fgets): Likewise.
49648         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49649         * libio/iofgetws.c (fgetws): Likewise.
49650         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49651         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49652         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49653         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49654         * locale/findlocale.c (_nl_find_locale): Likewise.
49655         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49656         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49657         Likewise.
49658         * locale/setlocale.c (setlocale): Likewise.
49659         * login/programs/pt_chown.c (main): Likewise.
49660         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49661         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49662         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49663         (mmap, mmap64, mremap, munmap): Likewise.
49664         * math/e_exp2l.c: Likewise.
49665         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49666         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49667         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49668         * math/s_catan.c (__catan): Likewise.
49669         * math/s_catanf.c (__catanf): Likewise.
49670         * math/s_catanh.c (__catanh): Likewise.
49671         * math/s_catanhf.c (__catanhf): Likewise.
49672         * math/s_catanhl.c (__catanhl): Likewise.
49673         * math/s_catanl.c (__catanl): Likewise.
49674         * math/s_ccosh.c (__ccosh): Likewise.
49675         * math/s_ccoshf.c (__ccoshf): Likewise.
49676         * math/s_ccoshl.c (__ccoshl): Likewise.
49677         * math/s_cexp.c (__cexp): Likewise.
49678         * math/s_cexpf.c (__cexpf): Likewise.
49679         * math/s_cexpl.c (__cexpl): Likewise.
49680         * math/s_clog10.c (__clog10): Likewise.
49681         * math/s_clog10f.c (__clog10f): Likewise.
49682         * math/s_clog10l.c (__clog10l): Likewise.
49683         * math/s_clog.c (__clog): Likewise.
49684         * math/s_clogf.c (__clogf): Likewise.
49685         * math/s_clogl.c (__clogl): Likewise.
49686         * math/s_csin.c (__csin): Likewise.
49687         * math/s_csinf.c (__csinf): Likewise.
49688         * math/s_csinh.c (__csinh): Likewise.
49689         * math/s_csinhf.c (__csinhf): Likewise.
49690         * math/s_csinhl.c (__csinhl): Likewise.
49691         * math/s_csinl.c (__csinl): Likewise.
49692         * math/s_csqrt.c (__csqrt): Likewise.
49693         * math/s_csqrtf.c (__csqrtf): Likewise.
49694         * math/s_csqrtl.c (__csqrtl): Likewise.
49695         * math/s_ctan.c (__ctan): Likewise.
49696         * math/s_ctanf.c (__ctanf): Likewise.
49697         * math/s_ctanh.c (__ctanh): Likewise.
49698         * math/s_ctanhf.c (__ctanhf): Likewise.
49699         * math/s_ctanhl.c (__ctanhl): Likewise.
49700         * math/s_ctanl.c (__ctanl): Likewise.
49701         * math/w_pow.c: Likewise.
49702         * math/w_powf.c: Likewise.
49703         * math/w_powl.c: Likewise.
49704         * math/w_scalb.c (sysv_scalb): Likewise.
49705         * math/w_scalbf.c (sysv_scalbf): Likewise.
49706         * math/w_scalbl.c (sysv_scalbl): Likewise.
49707         * misc/error.c (error_tail): Likewise.
49708         * misc/pselect.c (__pselect): Likewise.
49709         * nis/nis_callback.c (__nis_create_callback): Likewise.
49710         * nis/nis_call.c (__nisfind_server): Likewise.
49711         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49712         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49713         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49714         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49715         * nis/nis_lookup.c (nis_lookup): Likewise.
49716         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49717         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49718         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
49719         * nis/nis_xdr.c (xdr_endpoint): Likewise.
49720         * nis/nss_compat/compat-grp.c (getgrent_next_file)
49721         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
49722         * nis/nss_compat/compat-initgroups.c (add_group)
49723         (internal_getgrent_r): Likewise.
49724         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
49725         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
49726         * nis/nss_compat/compat-spwd.c (getspent_next_file)
49727         (internal_getspnam_r): Likewise.
49728         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
49729         (_nss_nis_getaliasbyname_r): Likewise.
49730         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
49731         (_nss_nis_getntohost_r): Likewise.
49732         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
49733         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
49734         (_nss_nis_getgrgid_r): Likewise.
49735         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
49736         (internal_nis_gethostent_r, internal_gethostbyname2_r)
49737         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
49738         (_nss_nis_gethostbyname4_r): Likewise.
49739         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
49740         (initgroups_netid): Likewise.
49741         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
49742         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
49743         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
49744         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
49745         (_nss_nis_getprotobynumber_r): Likewise.
49746         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
49747         (_nss_nis_getsecretkey): Likewise.
49748         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
49749         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
49750         (_nss_nis_getpwuid_r): Likewise.
49751         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
49752         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
49753         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
49754         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
49755         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
49756         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
49757         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
49758         Likewise.
49759         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
49760         (_nss_nisplus_getntohost_r): Likewise.
49761         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
49762         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
49763         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
49764         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
49765         Likewise.
49766         * nis/nss_nisplus/nisplus-initgroups.c
49767         (_nss_nisplus_initgroups_dyn): Likewise.
49768         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
49769         (_nss_nisplus_getnetbyaddr_r): Likewise.
49770         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
49771         (_nss_nisplus_getprotobynumber_r): Likewise.
49772         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
49773         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
49774         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
49775         Likewise.
49776         * nis/nss_nisplus/nisplus-service.c
49777         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
49778         (_nss_nisplus_getservbyport_r): Likewise.
49779         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
49780         (_nss_nisplus_getspnam_r): Likewise.
49781         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
49782         Likewise.
49783         * nscd/aicache.c (addhstaiX): Likewise.
49784         * nscd/cache.c (cache_search, prune_cache): Likewise.
49785         * nscd/connections.c (register_traced_file, send_ro_fd)
49786         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
49787         (main_loop_epoll): Likewise.
49788         * nscd/grpcache.c (addgrbyX): Likewise.
49789         * nscd/hstcache.c (addhstbyX): Likewise.
49790         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49791         * nscd/mem.c (gc, mempool_alloc): Likewise.
49792         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
49793         (addinnetgrX): Likewise.
49794         * nscd/nscd-client.h (__nscd_acquire_maplock)
49795         (__nscd_drop_map_ref): Likewise.
49796         * nscd/nscd_getai.c (__nscd_getai): Likewise.
49797         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
49798         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
49799         Likewise.
49800         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
49801         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49802         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
49803         (__nscd_get_map_ref): Likewise.
49804         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
49805         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
49806         Likewise.
49807         * nscd/pwdcache.c (addpwbyX): Likewise.
49808         * nscd/selinux.c (preserve_capabilities): Likewise.
49809         * nscd/servicescache.c (addservbyX): Likewise.
49810         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
49811         * posix/fnmatch.c (fnmatch): Likewise.
49812         * posix/getopt.c (_getopt_internal_r): Likewise.
49813         * posix/glob.c (glob, glob_in_dir): Likewise.
49814         * posix/wordexp.c (exec_comm_child): Likewise.
49815         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
49816         (getanswer_r, gaih_getanswer_slice): Likewise.
49817         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
49818         * resolv/res_init.c: Likewise.
49819         * resolv/res_mkquery.c (res_nmkquery): Likewise.
49820         * resolv/res_query.c (__libc_res_nquery): Likewise.
49821         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
49822         Likewise.
49823         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
49824         * stdio-common/perror.c (perror): Likewise.
49825         * stdio-common/printf_fp.c (___printf_fp): Likewise.
49826         * stdio-common/tmpnam.c (tmpnam): Likewise.
49827         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49828         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
49829         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
49830         Likewise.
49831         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
49832         * stdlib/putenv.c (putenv): Likewise.
49833         * stdlib/setenv.c (__add_to_environ): Likewise.
49834         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49835         * stdlib/strtol_l.c (INTERNAL): Likewise.
49836         * string/memmem.c (memmem): Likewise.
49837         * string/strerror.c (strerror): Likewise.
49838         * string/strnlen.c (__strnlen): Likewise.
49839         * string/test-memmem.c (simple_memmem): Likewise.
49840         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
49841         * sunrpc/pm_getport.c (__get_socket): Likewise.
49842         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
49843         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
49844         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
49845         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
49846         Likewise.
49847         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
49848         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
49849         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
49850         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
49851         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
49852         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
49853         Likewise.
49854         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
49855         Likewise.
49856         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
49857         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
49858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
49859         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
49860         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
49861         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
49862         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
49863         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
49864         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
49865         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
49866         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49867         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
49868         Likewise.
49869         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
49870         Likewise.
49871         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
49872         Likewise.
49873         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
49874         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49875         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
49876         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
49877         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
49878         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
49879         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49880         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
49881         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
49882         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
49883         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
49884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49885         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49886         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
49887         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49888         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
49889         Likewise.
49890         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
49891         Likewise.
49892         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
49893         Likewise.
49894         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
49895         Likewise.
49896         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
49897         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49898         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
49899         Likewise.
49900         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
49901         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
49902         * sysdeps/posix/opendir.c (__opendirat): Likewise.
49903         * sysdeps/posix/sleep.c: Likewise.
49904         * sysdeps/posix/tempname.c: Likewise.
49905         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
49906         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49907         Likewise.
49908         * sysdeps/powerpc/powerpc32/dl-machine.h
49909         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
49910         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49912         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
49913         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
49914         Likewise.
49915         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
49916         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
49917         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49918         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
49919         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
49920         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
49921         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
49922         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
49923         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49924         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
49925         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
49926         (elf_machine_lazy_rel): Likewise.
49927         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
49929         (elf_machine_lazy_rel): Likewise.
49930         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
49931         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
49932         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
49933         * sysdeps/unix/grantpt.c (grantpt): Likewise.
49934         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
49935         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
49936         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
49937         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49938         Likewise.
49939         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
49940         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
49941         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
49942         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
49943         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
49944         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49945         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
49946         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
49947         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
49948         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49949         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49950         Likewise.
49951         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
49952         (__posix_fallocate64_l64): Likewise.
49953         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
49954         (posix_fallocate): Likewise.
49955         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
49956         Likewise.
49957         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49958         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
49959         (getifaddrs_internal): Likewise.
49960         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
49961         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
49962         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
49963         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
49964         * sysdeps/unix/sysv/linux/posix_fallocate64.c
49965         (__posix_fallocate64_l64): Likewise.
49966         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
49967         Likewise.
49968         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
49969         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
49970         (__get_clockfreq): Likewise.
49971         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
49972         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
49973         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
49974         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49975         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49976         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
49977         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
49978         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
49979         Likewise.
49980         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
49981         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
49982         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
49983         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
49984         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
49985         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
49986         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
49987         Likewise.
49988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
49989         (posix_fallocate): Likewise.
49990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49991         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
49992         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
49993         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
49994         (elf_machine_rela, elf_machine_rela_relative)
49995         (elf_machine_lazy_rel): Likewise.
49996         * time/asctime.c (asctime_internal): Likewise.
49997         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
49998         * time/tzset.c (__tzset_parse_tz): Likewise.
49999         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50000         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50001         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50002         * wcsmbs/wcsmbsload.h: Likewise.
50004         [BZ #15894]
50005         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50007         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50008         (arena_get2): Remove THREAD_STATS conditionals.
50009         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50010         (__malloc_stats, int): Likewise.
50012 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50014         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50015         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50017         * manual/setjmp.texi: Fix typos/grammar errors.
50019         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50020         Only return early when n is <= 0.  Delete unused return statement.
50022         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50023         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50024         * debug/tst-longjmp_chk3.c: New file.
50026         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50027         (test_main): Replace code with set_fortify_handler call.
50028         * debug/test-strcpy_chk.c: Likewise.
50029         * debug/tst-chk1.c: Likewise.
50030         * debug/tst-longjmp_chk.c: Likewise.
50031         * test-skeleton.c: Include fcntl.h & paths.h
50032         (set_fortify_handler): Define.
50034         * debug/tst-longjmp_chk.c: Add header comment and include
50035         ../test-skeleton.c.
50036         (do_test): Mark static.
50037         (TEST_FUNCTION): Define.
50039         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50040         (IP_PMTUDISC_INTERFACE): Likewise.
50041         (IP_MULTICAST_IF): Likewise.
50042         (IP_MULTICAST_TTL): Likewise.
50043         (IP_MULTICAST_LOOP): Likewise.
50044         (IP_ADD_MEMBERSHIP): Likewise.
50045         (IP_DROP_MEMBERSHIP): Likewise.
50046         (IP_UNBLOCK_SOURCE): Likewise.
50047         (IP_BLOCK_SOURCE): Likewise.
50048         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50049         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50050         (IP_MSFILTER): Likewise.
50051         (MCAST_JOIN_GROUP): Likewise.
50052         (MCAST_BLOCK_SOURCE): Likewise.
50053         (MCAST_UNBLOCK_SOURCE): Likewise.
50054         (MCAST_LEAVE_GROUP): Likewise.
50055         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50056         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50057         (MCAST_MSFILTER): Likewise.
50058         (IP_MULTICAST_ALL): Likewise.
50059         (IP_UNICAST_IF): Likewise.
50061         * timezone/Makefile: Delete $(have-ksh) check.
50062         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50063         * timezone/tzselect.ksh: Add +x mode bits.
50065         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50066         (ANON_INODE_FS_MAGIC): Likewise.
50067         (BDEVFS_MAGIC): Likewise.
50068         (BINFMTFS_MAGIC): Likewise.
50069         (BTRFS_TEST_MAGIC): Likewise.
50070         (CRAMFS_MAGIC_WEND): Likewise.
50071         (DEBUGFS_MAGIC): Likewise.
50072         (ECRYPTFS_SUPER_MAGIC): Likewise.
50073         (EXT3_SUPER_MAGIC): Likewise.
50074         (EXT4_SUPER_MAGIC): Likewise.
50075         (FUTEXFS_SUPER_MAGIC): Likewise.
50076         (HOSTFS_SUPER_MAGIC): Likewise.
50077         (HUGETLBFS_MAGIC): Likewise.
50078         (MINIX3_SUPER_MAGIC): Likewise.
50079         (MTD_INODE_FS_MAGIC): Likewise.
50080         (NILFS_SUPER_MAGIC): Likewise.
50081         (OPENPROM_SUPER_MAGIC): Likewise.
50082         (PIPEFS_MAGIC): Likewise.
50083         (PSTOREFS_MAGIC): Likewise.
50084         (QNX6_SUPER_MAGIC): Likewise.
50085         (RAMFS_MAGIC): Likewise.
50086         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50087         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50088         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50089         (SECURITYFS_MAGIC): Likewise.
50090         (SELINUX_MAGIC): Likewise.
50091         (SMACK_MAGIC): Likewise.
50092         (SOCKFS_MAGIC): Likewise.
50093         (SQUASHFS_MAGIC): Likewise.
50094         (STACK_END_MAGIC): Likewise.
50095         (TMPFS_MAGIC): Likewise.
50096         (USBDEVICE_SUPER_MAGIC): Likewise.
50097         (V9FS_MAGIC): Likewise.
50098         (XENFS_SUPER_MAGIC): Likewise.
50099         (CRAMFS_MAGIC): Fix typo in comment.
50100         (EXT2_SUPER_MAGIC): Update comment.
50101         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50103 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50105         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50106         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50107         * sysdeps/unix/sysv/linux/arm: Move directory from
50108         ports/sysdeps/unix/sysv/linux/arm.
50109         * README: Update listing for arm-*-linux-gnueabi.
50111         * README: Remove mention of am33.
50113 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50115         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50116         than the comma operator, to avoid "rhs of comma has no effect"
50117         compiler warnings.
50118         (__sigfillset, __sigandset, __sigorset): Likewise.
50119         * include/signal.h (__sigemptyset): Likewise.
50120         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50122 2014-02-07  Allan McRae  <allan@archlinux.org>
50124         * version.h (RELEASE): Set to "development".
50125         (VERSION): Set to "2.19.90"
50126         * NEWS: Add 2.20 section.
50128 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50130         [BZ #16529]
50131         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50133 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50135         * manual/contrib.texi: Update entry for Carlos O'Donell,
50136         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50138 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50140         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50142         * sysdeps/unix/sysv/linux/kernel-features.h
50143         [__LINUX_KERNEL_VERSION >= 0x020621]
50144         (__ASSUME_PROC_PID_TASK_COMM): Define.
50146 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50148         [BZ #16398]
50149         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50150         conversion when destination buffer does not have enough space.
50151         * libio/tst-ftell-partial-wide.c: New test case.
50152         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50154         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50155         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50156         Leonard and Allan McRae.
50158 2014-02-04  David S. Miller  <davem@davemloft.net>
50160         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50161         32-bit.
50163 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50166         New file
50167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50168         New file
50169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50170         New file.
50171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50172         New file.
50173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50174         New file.
50175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50176         New file.
50177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50178         New file.
50179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50180         New file.
50181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50182         New file.
50183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50184         New file.
50185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50186         New file.
50187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50188         New file.
50189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50190         New file.
50192 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50194         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50195         * shlib-versions: Likewise.
50197 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50198             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50200         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50201         (abilist-pattern): New variable, set to %-le.abilist.
50203         * Makerules (abilist-pattern): New variable.
50204         (vpath): Use $(abilist-pattern) in place of %.abilist.
50205         (check-abi-% pattern rule): Likewise.
50206         (check-abi, update-abi): Likewise.
50208 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50212 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50214         * manual/startup.texi: Add next, previous, and top entries for
50215         the `Program Arguments' and `Environment Variables' nodes.
50217 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50219         * manual/macros.texi: Add comments before MTASC-safety macros.
50221         * manual/users.texi: Document MTASC-safety properties.
50223         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50224         (pthread_getspecific, pthread_setspecific): Format with
50225         @deftypefun, and add @safety note.
50226         * manual/signal.texi: Move comments that analyze the above
50227         functions to their home place.
50229 2014-02-03  Allan McRae  <allan@archlinux.org>
50231         * po/sl.po: Update Slovenian translation from translation project.
50233 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50235         * manual/time.texi (timegm): Add missing blank after @c.
50236         Reported by Joseph Myers <joseph@codesourcery.com>.
50238 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50240         * manual/check-safety.sh: New.
50241         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50243         * manual/terminal.texi: Document MTASC-safety properties.
50245         * manual/filesys.texi: Document MTASC-safety properties.
50247         * manual/errno.texi: Document MTASC-safety properties.
50249         * manual/intro.texi: Document safety identifiers and
50250         conditionals.
50252         * manual/string.texi (wcstok): Fix prototype.
50253         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50255         * manual/time.texi: Document MTASC-safety properties.
50257         * manual/string.texi: Document MTASC-safety properties.
50259         * manual/threads.texi: Document MTASC-safety properties.
50261         * manual/stdio.texi: Document MTASC-safety properties.
50263         * manual/syslog.texi: Document MTASC-safety properties.
50265         * manual/sysinfo.texi: Document MTASC-safety properties.
50267         * manual/startup.texi: Document MTASC-safety properties.
50269         * manual/socket.texi: Document MTASC-safety properties.
50271         * manual/signal.texi: Document MTASC-safety properties.
50273 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50275         * manual/setjmp.texi: Document MTASC-safety properties.
50277         * manual/search.texi: Document MTASC-safety properties.
50279         * manual/resource.texi: Document MTASC-safety properties.
50281         * manual/process.texi: Document MTASC-safety properties.
50283         * manual/platform.texi: Document MTASC-safety properties.
50285         * manual/pipe.texi: Document MTASC-safety properties.
50287         * manual/pattern.texi: Document MTASC-safety properties.
50289         * manual/message.texi: Document MTASC-safety properties.
50291         [BZ #12751]
50292         * manual/memory.texi: Document MTASC-safety properties.
50294         * manual/math.texi: Document MTASC-safety properties.
50296         * manual/locale.texi: Document MTASC-safety properties.
50298         * manual/llio.texi: Document MTASC-safety properties.
50300         * manual/libdl.texi: New.
50302         * manual/lang.texi: Document MTASC-safety properties.
50304         * manual/job.texi: Document MTASC-safety properties.
50306         * manual/getopt.texi: Document MTASC-safety properties.
50308         * manual/ctype.texi: Document MTASC-safety properties.
50310 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50312         [BZ #16046]
50313         * csu/libc-tls.c (static_map): Remove variable.
50314         (__libc_setup_tls): Use main executable's link map for TLS data.
50315         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50316         casing for LM_ID_BASE and GL(dl_nns).
50317         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50318         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50319         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50320         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50321         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50322         member.
50323         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50324         l_phnum members.
50326 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50328         * manual/debug.texi: Document MTASC-safety properties.
50330 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50332         [BZ #16510]
50333         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50334         of __x86_64__ when disabling x87 inline functions.
50336 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50338         * manual/charset.texi: Document MTASC-safety properties.
50340         * manual/crypt.texi: Document MTASC-safety properties.
50342         * manual/conf.texi: Document MTASC-safety properties.
50344         * manual/arith.texi: Document MTASC-safety properties.
50346         * manual/argp.texi: Document MTASC-safety properties.
50348         * manual/macros.texi: Introduce macros to document multi
50349         thread, asynchronous signal and asynchronous cancellation
50350         safety properties.
50351         * manual/intro.texi: Introduce the properties themselves.
50353 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50355         * sysdeps/sh/sh4/Makefile: New file.
50357 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50359         * math/gen-libm-test.pl ($srcdir): New variable.
50360         ($auto_input): Use it.
50362 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50364         [BZ #16506]
50365         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50366         access beyond array bounds when parsing netgroups file.
50368         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50369         the old buffer before realloc.
50371 2014-01-27  Allan McRae  <allan@archlinux.org>
50373         * po/fr.po: Update French translation from translation project.
50375 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50377         * sysdeps/sh/libm-test-ulps: Regenerate.
50379 2014-01-24  David S. Miller  <davem@davemloft.net>
50381         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50383 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50385         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50386         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50388 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50390         [BZ #16474]
50391         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50392         string pointers after reallocation.
50394 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50396         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50397         __SH4A__ instead of __SH_FPU_ANY__.
50399 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50401         * sysdeps/sh/fpu_control.h: New file.
50402         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50403         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50404         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50405         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50406         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50407         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50408         * sysdeps/sh/sys/ucontext.h: Remove.
50409         * sysdeps/sh/sys: Remove directory.
50411 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50413         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50414         s390/sys/ucontext.h.
50415         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50416         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50418 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50420         [BZ #15605]
50421         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50423 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50425         [BZ#16431]
50426         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50427         Adjust the vDSO correctly for internal calls.
50428         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50430 2014-01-20  Allan McRae  <allan@archlinux.org>
50432         * po/ca.po: Update Catalan translation from translation project.
50434 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50436         * sysdeps/s390/sotruss-lib.c: New file.
50438 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50440         [BZ#16430]
50441         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50442         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50443         local calls issues by not having a PLT stub required for IFUNC calls.
50444         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50446 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50448         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50449         * math/test-fpucw-static.c: Likewise.
50451 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50453         [BZ #16453]
50454         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50456 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50458         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50459         implementation for powerpc.
50461 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50463         [BZ #14782]
50464         * sysdeps/posix/system.c (__libc_system): Do not enable
50465         asynchronous cancellation.
50467 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50469         [BZ #16427]
50470         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50471         handling only for numbers special also in the IEEE case.
50473 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50475         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50477 2014-01-11  Allan McRae  <allan@archlinux.org>
50479         * po/bg.po: Update Bulgarian translation from translation project.
50481         * po/de.po: Update German translation from translation project.
50483 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50485         * sysdeps/generic/gcc-compat.h: New file.
50487 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50489         * benchtests/asin-inputs: Correct slow inputs.
50490         * benchtests/acos-inputs: Likewise.
50492 2014-01-10  Allan McRae  <allan@archlinux.org>
50494         * po:sv.po: Update Swedish translation from translation project.
50496         * po/vi.po: Update Vietnamese translation from translation project.
50498         * po/eo.po: Update Esperanto translation from translation project.
50500         * po/cs.po: Update Czech translation from translation project.
50502         * po/nl.po: Update Dutch translation from translation project.
50504         * po/pl.po: Update Polish translation from translation project.
50506         * po/ru.po: Update Russian translation from translation project.
50508         * po/uk.po: Update Ukrainian translation from translation project.
50510 2014-01-08  Brooks Moses  <bmoses@google.com>
50512         * elf/dl-load.c: Fix comment typo.
50514 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50516         * po/header.pot: Rename to...
50517         * po/pot.header: ... this.
50518         * po/Makefile: Use pot.header.
50520 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50521             Maxim Kuvyrkov  <maxim@kugelworks.com>
50523         [BZ #16394]
50524         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50525         SRC and DEST against LEN.
50527 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50529         [BZ #16414]
50530         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50531         implementation.
50532         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50534 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50538 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50540         [BZ #16408]
50541         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50542         for large positive arguments.
50544 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50546         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50548         * math/auto-libm-test-in: Mark various tests with
50549         xfail-rounding:ldbl-128ibm.
50550         * math/auto-libm-test-out: Regenerated.
50552         [BZ #16407]
50553         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50554         Increase overflow threshold.
50556 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50558         [BZ #14286]
50559         * stdio-common/vfprintf.c: Check for integer overflow.
50561 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50563         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50564         the first argument and return value of __tls_get_addr_internal.
50566 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50568         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50569         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50571 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50573         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50574         * sysdeps/s390/rtld-global-offsets.sym: New file.
50575         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50576         GLIBC_2.19 symbol.
50577         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50578         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50579         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50580         ... this.
50581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50582         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50583         ... this.
50584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50585         Regenerate.
50586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50587         Regenerate.
50588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50589         halfs of GPRs for high_gprs contexts.
50590         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50591         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50592         field.
50593         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50594         uc_flags field.
50595         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50596         64 bit versions:
50597         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50598         for high GPRs (uc_high_gprs) and for future extensions
50599         (__reserved).
50600         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50601         for future extensions (__reserved).
50602         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50603         64 bit versions:
50604         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50605         SC_HIGHGPRS offset definition.
50606         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50607         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50609         * Versions.def: Add GLIBC_2.19 for libpthread.
50610         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50611         siglongjmp for libpthread with GLIBC_2.19 symver.
50612         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50613         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50614         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50615         * sysdeps/s390/__longjmp.c: New file.
50616         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50617         * sysdeps/s390/longjmp.c: New file.
50618         * sysdeps/s390/setjmp.S: New file.
50619         * sysdeps/s390/sigjmp.S: New file.
50620         * sysdeps/s390/v1-longjmp.c: New file.
50621         * sysdeps/s390/v1-setjmp.h: New file.
50622         * sysdeps/s390/v1-sigjmp.c: New file.
50623         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50624         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50625         GLIBC_2.19 version.
50626         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50627         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50628         versioned symbols for ____longjmp_chk.
50629         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50630         Likewise.
50631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50632         Regenerate.
50633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50634         Regenerate.
50635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50636         Regenerate.
50637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50638         Regenerate.
50639         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50640         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50641         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50642         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50643         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50644         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50645         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50646         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50647         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50648         * sysdeps/s390/rtld-__longjmp.c: New file.
50649         * sysdeps/s390/rtld-setjmp.S: New file.
50651 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50653         [BZ #16400]
50654         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50655         Return -__logl (x) for small positive arguments without evaluating
50656         a polynomial.
50658 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50660         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50661         Rename to ...
50662         (__ptrace_peeksiginfo_args): ... this.
50663         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50664         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50665         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50667 2014-01-06  Allan McRae  <allan@archlinux.org>
50669         * inet/netinet/in.h: Fix typo in comment.
50671 2014-01-05  Andreas Jaeger  <aj@suse.de>
50673         * sysdeps/i386/fpu/libm-test-ulps: Update.
50675 2014-01-05  Allan McRae  <allan@archlinux.org>
50677         * po/libc.pot: Regenerated.
50679         * malloc/memusagestat.c: Fix gettext call formatting.
50681 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50683         * nscd/nscd.c: Improve usage() output.
50685 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50687         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50688         * sysdeps/unix/sysv/linux/configure: Regenerated.
50689         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50690         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50692 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50694         [BZ #16390]
50695         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50696         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50698 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50700         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50701         extra tokens at end of #undef directive.
50702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50703         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50704         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50706 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50708         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50710         * math/auto-libm-test-in: Mark various tests with
50711         xfail-rounding:ldbl-128ibm.
50712         * math/auto-libm-test-out: Regenerated.
50714 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50716         [BZ #16386]
50717         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50718         numbers with subnormal high part when calculating exponent.
50720         [BZ #16385]
50721         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
50722         fabs.
50724         [BZ #16384]
50725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
50726         M_LN2l.
50727         (__ieee754_acoshl): Use __log1pl not __log1p.
50729 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
50731         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
50732         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
50733         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
50734         (grow_heap, heap_trim, _int_new_arena, get_free_list)
50735         (reused_arena, arena_get2): Convert to GNU style.
50736         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
50737         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
50738         (memalign_check, __malloc_set_state): Likewise.
50739         * malloc/mallocbug.c (main): Likewise.
50740         * malloc/malloc.c (__malloc_assert, malloc_init_state)
50741         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
50742         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
50743         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
50744         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
50745         (__posix_memalign, malloc_info): Likewise.
50746         * malloc/malloc.h: Likewise.
50747         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
50748         (mallochook, memalignhook, reallochook, mabort): Likewise.
50749         * malloc/mcheck.h: Likewise.
50750         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
50751         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
50752         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
50753         * malloc/morecore.c (__default_morecore): Likewise.
50754         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
50755         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
50756         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
50757         (print_and_abort): Likewise.
50758         * malloc/obstack.h: Likewise.
50759         * malloc/set-freeres.c (__libc_freeres): Likewise.
50760         * malloc/tst-mallocstate.c (main): Likewise.
50761         * malloc/tst-mtrace.c (main): Likewise.
50762         * malloc/tst-realloc.c (do_test): Likewise.
50764 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50766         [BZ #16366]
50767         * nscd/netgroupcache.c (do_notfound): New function.
50768         (addgetnetgrentX): Use it.
50770         [BZ # 16365]
50771         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
50772         NSS_STATUS_NOTFOUND.
50774 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
50776         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50779 2014-01-01  Allan McRae  <allan@archlinux.org>
50781         * scripts/update-copyrights: Update configure input file suffix.
50783         * NEWS: Update copyright year.
50784         * catgets/gencat.c: Likewise.
50785         * csu/version.c: Likewise.
50786         * debug/catchsegv.sh: Likewise.
50787         * debug/pcprofiledump.c: Likewise.
50788         * debug/xtrace.sh: Likewise.
50789         * elf/ldconfig.c: Likewise.
50790         * elf/ldd.bash.in: Likewise.
50791         * elf/pldd.c: Likewise.
50792         * elf/sotruss.ksh: Likewise.
50793         * elf/sprof.c: Likewise.
50794         * iconv/iconv_prog.c: Likewise.
50795         * iconv/iconvconfig.c: Likewise.
50796         * locale/programs/locale.c: Likewise.
50797         * locale/programs/localedef.c: Likewise.
50798         * login/programs/pt_chown.c: Likewise.
50799         * malloc/memusage.sh: Likewise.
50800         * malloc/memusagestat.c: Likewise.
50801         * malloc/mtrace.pl: Likewise.
50802         * manual/libc.texinfo: Likewise.
50803         * nscd/nscd.c: Likewise.
50804         * nss/getent.c: Likewise.
50805         * nss/makedb.c: Likewise.
50806         * posix/getconf.c: Likewise.
50807         * scripts/test-installation.pl: Likewise.
50809         * All files with FSF copyright notices: Update copyright dates
50810         using scripts/update-copyrights.
50811         * intl/plural.c: Regenerated.
50812         * locale/programs/charmap-kw.h: Likewise.
50813         * locale/programs/locfile-kw.h: Likewise.
50815 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
50817         * sysdeps/unix/sysv/linux/configure: Regenerated.
50818         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
50819         the linux/fanotify.h header.
50820         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
50821         HAVE_LINUX_FANOTIFY_H is defined.
50823 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50825         * benchtests/cos-inputs: New inputs.
50826         * benchtests/sin-inputs: Likewise.
50828         * benchtests/atan-inputs: New inputs. Fix name of multiple
50829         precision fallback inputs.
50831         * benchtests/atanh-inputs: New inputs.
50832         * benchtests/tanh-inputs: Likewise.
50834         * benchtests/acosh-inputs: New inputs.
50835         * benchtests/asinh-inputs: Likewise.
50837         * benchtests/cosh-inputs: New inputs.
50838         * benchtests/sinh-inputs: Likewise.
50840         * benchtests/acos-inputs: Add more inputs.
50841         * benchtests/asin-inputs: Likewise.
50843 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
50845         [BZ #16375]
50846         * manual/arith.texi: Fix spelling.
50847         * manual/charset.texi: Likewise.
50848         * manual/errno.texi: Likewise.
50849         * manual/filesys.texi: Likewise.
50850         * manual/lang.texi: Likewise.
50851         * manual/llio.texi: Likewise.
50852         * manual/locale.texi: Likewise.
50853         * manual/message.texi: Likewise.
50854         * manual/resource.texi: Likewise.
50855         * manual/search.texi: Likewise.
50856         * manual/setjmp.texi: Likewise.
50857         * manual/stdio.texi: Likewise.
50858         * manual/string.texi: Likewise.
50859         * manual/sysinfo.texi: Likewise.
50860         * manual/time.texi: Likewise.
50862 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
50864         * po/sl.po: New file.
50866 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
50868         * .gitignore: Add core/.gdbinit/.gdb_history.
50870 2013-12-27  Allan McRae  <allan@archlinux.org>
50872         [BZ #16369]
50873         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
50874         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
50876 2013-12-24  Brooks Moses  <bmoses@google.com>
50878         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
50879         all compilers that claim C++98 compliance, not just GCC.
50880         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
50881         Likewise.
50883 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50885         * NEWS: Restore accidentally deleted bug-fix entries.
50887 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
50888             Ondřej Bílka  <neleai@seznam.cz>
50890         [BZ #15073]
50891         * malloc/malloc.c (_int_free): Perform sanity check only if we
50892         have_lock.
50894 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
50896         [BZ #12986]
50897         * manual/stdio.texi (String Input Conversions): Clarify that character
50898         classes are not supported.
50900 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50904 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
50906         [BZ #16337]
50907         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50908         Calculate results for small negative arguments directly rather
50909         than using reflection formula with special underflow handling.
50911         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
50912         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
50913         sysdeps/unix/bsd/bsd4.4/syscalls.list.
50914         (fchflags): Likewise.
50915         (revoke): Likewise.
50916         (setlogin): Likewise.
50917         (sigaltstack): Likewise.
50918         (wait4): Likewise.
50919         (sigblock): Remove.
50920         (sigsetmask): Likewise.
50921         (wait3): Likewise.
50922         (waitpid): Likewise.
50923         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
50924         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
50925         file.
50926         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
50927         * sysdeps/unix/bsd/Makefile: ... here.
50928         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
50929         * sysdeps/unix/bsd/Versions: ... here.
50930         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
50931         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
50932         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
50933         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
50934         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
50935         * sysdeps/unix/bsd/sigblock.c: ... here.
50936         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
50937         * sysdeps/unix/bsd/sigsetmask.c: ... here.
50938         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
50939         * sysdeps/unix/bsd/sigvec.c: ... here.
50940         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
50941         * sysdeps/unix/bsd/tcdrain.c: ... here.
50942         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
50943         * sysdeps/unix/bsd/tcgetattr.c: ... here.
50944         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
50945         * sysdeps/unix/bsd/tcsetattr.c: ... here.
50946         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
50947         * sysdeps/unix/bsd/wait.c: ... here.
50948         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
50949         * sysdeps/unix/bsd/wait3.c: ... here.
50950         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
50951         * sysdeps/unix/bsd/waitpid.c: ... here.
50953 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
50955         [BZ #16356]
50956         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
50957         round-to-nearest for [!USE_AS_EXPM1L].
50958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
50959         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
50960         more tests of exp and exp10.  Expect some exp10 tests to miss
50961         exceptions or fail in directed rounding modes.
50962         * math/auto-libm-test-out: Regenerated.
50963         * math/libm-test.inc (exp10_tonearest_test_data): New array.
50964         (exp10_test_tonearest): New function.
50965         (exp10_towardzero_test_data): New array.
50966         (exp10_test_towardzero): New function.
50967         (exp10_downward_test_data): New array.
50968         (exp10_test_downward): New function.
50969         (exp10_upward_test_data): New array.
50970         (exp10_test_upward): New function.
50971         (main): Call the new functions.
50972         * sysdeps/i386/fpu/libm-test-ulps: Update.
50973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50975 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
50977         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
50978         asinh, atan, atan2, atanh, cbrt, cos and cosh.
50979         * math/auto-libm-test-out: Regenerated.
50980         * math/libm-test.inc (acosh_test_data): Add more tests.
50981         (atanh_test_data): Likewise.
50982         (ceil_test_data): Likewise.
50983         (copysign_test_data): Likewise.
50984         * sysdeps/i386/fpu/libm-test-ulps: Update.
50985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50987         * timezone/checktab.awk: Update from tzcode 2013i.
50988         * timezone/private.h: Likewise.
50989         * timezone/scheck.c: Likewise.
50990         * timezone/tzfile.h: Likewise.
50991         * timezone/tzselect.ksh: Likewise.
50992         * timezone/zdump.c: Likewise.
50993         * timezone/zic.c: Likewise.
50995         * math/auto-libm-test-in: Add tests of cpow.
50996         * math/auto-libm-test-out: Regenerated.
50997         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
50998         * math/gen-auto-libm-tests.c (func_calc_method): Add value
50999         mpc_cc_c.
51000         (func_calc_desc): Add mpc_cc_c union field.
51001         (test_functions): Add cpow.
51002         (special_fill_2pi): New function.
51003         (special_real_inputs): Add 2pi.
51004         (calc_generic_results): Handle mpc_cc_c.
51005         * sysdeps/i386/fpu/libm-test-ulps: Update.
51006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51008         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51009         csqrt, ctan and ctanh.
51010         * math/auto-libm-test-out: Regenerated.
51011         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51012         (TEST_COND_x86): Likewise.
51013         (ccos_test_data): Use AUTO_TESTS_c_c.
51014         (ccosh_test_data): Likewise.
51015         (cexp_test_data): Likewise.
51016         (clog_test_data): Likewise.
51017         (csqrt_test_data): Likewise.
51018         (ctan_test_data): Likewise.
51019         (ctan_tonearest_test_data): Likewise.
51020         (ctan_towardzero_test_data): Likewise.
51021         (ctan_downward_test_data): Likewise.
51022         (ctan_upward_test_data): Likewise.
51023         (ctanh_test_data): Likewise.
51024         (ctanh_tonearest_test_data): Likewise.
51025         (ctanh_towardzero_test_data): Likewise.
51026         (ctanh_downward_test_data): Likewise.
51027         (ctanh_upward_test_data): Likewise.
51028         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51029         mpc_c_c.
51030         (func_calc_desc): Add mpc_c_c union field.
51031         (FUNC_mpc_c_c): New macro.
51032         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51033         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51034         ctanh.
51035         (special_fill_min_subnorm_p120): New function.
51036         (special_real_inputs): Add min_subnorm_p120.
51037         (calc_generic_results): Handle mpc_c_c.
51038         * sysdeps/i386/fpu/libm-test-ulps: Update.
51039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51041 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51043         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51044         (do_sin_slow): New functions.
51045         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51046         (cslow2, csloww1, csloww2): Use the new functions.
51048         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51049         Use M to change sign of result instead of X.  Assume X is
51050         positive.
51051         (csloww1): Likewise.
51052         (__sin): Adjust.
51053         (__cos): Adjust.
51055         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51056         arguments A and DA.
51057         (__sin): Adjust.
51058         (__cos): Likewise.
51060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51061         (__cos): Likewise.
51062         (sloww1): Don't adjust sign of DX.
51063         (csloww1): Likewise.
51064         (sloww2): Use X directly and don't adjust sign of DX.
51065         (csloww2): Likewise.
51067 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51069         * math/auto-libm-test-in: Add tests of cabs and carg.
51070         * math/auto-libm-test-out: Regenerated.
51071         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51072         (carg_test_data): Likewise.
51073         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51074         mpc_c_f.
51075         (func_calc_desc): Add mpc_c_f union field.
51076         (test_functions): Add cabs and carg.
51077         (calc_generic_results): Handle mpc_c_f.
51079         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51080         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51081         as a macro and a compat symbol.
51082         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51083         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51084         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51085         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51086         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51087         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51088         not use .hidden.
51089         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51090         Likewise.
51091         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51092         Likewise.
51093         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51094         Likewise.
51095         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51096         Likewise.
51097         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51098         Likewise.
51099         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51100         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51101         from GLIBC_2.3.2.
51103 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51107 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51109         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51110         trailing whitespace removed.
51111         * scripts/config.guess: Update to version 2013-11-29.
51112         * scripts/config.sub: Update to version 2013-10-01.
51114         * math/auto-libm-test-in: Add tests of sincos.
51115         * math/auto-libm-test-out: Regenerated.
51116         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51118         mpfr_f_11.
51119         (func_calc_desc): Add mpfr_f_11 union field.
51120         (test_functions): Add sincos.
51121         (calc_generic_results): Handle mpfr_f_11.
51122         * sysdeps/i386/fpu/libm-test-ulps: Update.
51123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51125 2013-12-19  Andreas Schwab  <schwab@suse.de>
51127         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51128         CALL_MCOUNT.
51129         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51130         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51131         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51133 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51135         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51136         * sysdeps/i386/fpu/libm-test-ulps: Update.
51137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51139         [BZ #16293]
51140         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51141         round-to-nearest mode when using frndint.
51142         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51143         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51145         Likewise.
51146         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51147         sinh test to fail.
51148         * math/auto-libm-test-out: Regenerated.
51149         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51150         (TEST_COND_x86): Likewise.
51151         (expm1_tonearest_test_data): New array.
51152         (expm1_test_tonearest): New function.
51153         (expm1_towardzero_test_data): New array.
51154         (expm1_test_towardzero): New function.
51155         (expm1_downward_test_data): New array.
51156         (expm1_test_downward): New function.
51157         (expm1_upward_test_data): New array.
51158         (expm1_test_upward): New function.
51159         (main): Run the new test functions.
51160         * sysdeps/i386/fpu/libm-test-ulps: Update.
51161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51163         * include/features.h: Update comment documenting feature test
51164         macros.  Mention _DEFAULT_SOURCE in comment.
51165         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51166         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51167         _BSD_SOURCE and _SVID_SOURCE.
51168         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51169         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51170         !_SVID_SOURCE]: Likewise.
51171         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51172         (__USE_POSIX_IMPLICITLY): Define.
51173         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51174         (_POSIX_SOURCE): Undefine and redefine.
51175         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51176         (_POSIX_C_SOURCE): Likewise.
51177         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51178         (Feature Test Macros): Update documentation of default features.
51180 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51182         * benchtests/Makefile: Add bench-strtok.
51183         * benchtests/bench-strtok.c: New file: strtok benchtest.
51185 2013-12-19  Allan McRae  <allan@archlinux.org>
51187         * manual/install.texi: Suppress menu for plain text output.
51188         * INSTALL: Regenerated.
51190 2013-12-18  Brooks Moses  <bmoses@google.com>
51192         [BZ #15846]
51193         * misc/getauxval.c: Include errno.h.
51194         (__getauxval): Set errno to ENOENT if the requested type is not
51195         found.
51196         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51197         don't declare with __attribute_const__.
51198         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51199         * manual/startup.texi: Document that getauxval sets errno.
51201 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51203         * math/auto-libm-test-in: Add tests of jn and yn.
51204         * math/auto-libm-test-out: Regenerated.
51205         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51206         (yn_test_data): Likewise.
51207         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51208         mpfr_if_f.
51209         (func_calc_desc): Add mpfr_if_f union field.
51210         (FUNC_mpfr_if_f): New macro.
51211         (test_functions): Add jn and yn.
51212         (calc_generic_results): Assert type of second input for
51213         mpfr_ff_f.  Handle mpfr_if_f.
51214         (output_for_one_input_case): Disable all checking for arguments
51215         fitting floating-point types in case of an integer argument.
51216         * sysdeps/i386/fpu/libm-test-ulps: Update.
51217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51220         Don't expect fegetround reference in libm.so.
51222 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51224         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51225         $(config-cflags-nofma).
51227 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51229         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51230         * math/auto-libm-test-out: Regenerated.
51232         [BZ #16338]
51233         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51234         to determine exponent and adjust argument to have exponent of -1.
51235         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51236         log2.
51237         * math/auto-libm-test-out: Regenerated.
51238         * sysdeps/i386/fpu/libm-test-ulps: Update.
51239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51241 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51243         * manual/probes.texi: Remove cases when per-thread arenas are
51244         disabled.
51246 2013-12-18  Andreas Schwab  <schwab@suse.de>
51248         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51249         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51250         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51251         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51252         * sysdeps/i386/i686/multiarch/Makefile: Update.
51253         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51255 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51257         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51258         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51260 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51262         [BZ #15968]
51263         Support TZ transition times < 00:00:00.
51264         This is needed for version-3 tz-format files; it supports time
51265         stamps past 2037 for America/Godthab (the only entry in the tz
51266         database for which this change is relevant).
51267         * manual/time.texi (TZ Variable): Document transition times
51268         from -167:59:59 through -00:00:01.
51269         * time/tzset.c (tz_rule): Time of day is now signed.
51270         (__tzset_parse_tz): Parse negative time of day.
51272         Document TZ transition times >= 25:00:00.
51273         * manual/time.texi (TZ Variable): Document transition times from
51274         25:00:00 through 167:59:59.  These are already supported, and this
51275         support will help with version-3 tz-format files.
51277         * manual/time.texi (TZ Variable): Modernize North America example
51278         to reflect current (i.e., 2007-and-later) daylight saving rules.
51280         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51282 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51284         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51285         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51288         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51289         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51290         * sysdeps/unix/bsd/clock.c: Likewise.
51291         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51292         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51293         * sysdeps/unix/bsd/init-posix.c: Likewise.
51294         * sysdeps/unix/bsd/poll.c: Likewise.
51295         * sysdeps/unix/bsd/ptsname.c: Likewise.
51296         * sysdeps/unix/bsd/seekdir.c: Likewise.
51297         * sysdeps/unix/bsd/setegid.c: Likewise.
51298         * sysdeps/unix/bsd/seteuid.c: Likewise.
51299         * sysdeps/unix/bsd/setgid.c: Likewise.
51300         * sysdeps/unix/bsd/setrgid.c: Likewise.
51301         * sysdeps/unix/bsd/setruid.c: Likewise.
51302         * sysdeps/unix/bsd/setsid.c: Likewise.
51303         * sysdeps/unix/bsd/setuid.c: Likewise.
51304         * sysdeps/unix/bsd/sigaction.c: Likewise.
51305         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51306         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51307         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51308         * sysdeps/unix/bsd/telldir.c: Likewise.
51309         * sysdeps/unix/bsd/times.c: Likewise.
51310         * sysdeps/unix/bsd/usleep.c: Likewise.
51312         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51313         ($(objpfx)libbsd-compat.a): Remove rule.
51315         * include/features.h (__FAVOR_BSD): Do not define.
51316         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51317         features conflicting with POSIX.
51318         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51319         (_BSD_SOURCE): Remove description of not being a subset of other
51320         feature test macros.
51321         * manual/job.texi (getpgrp): Do not document BSD version.
51322         (getpgid): Do not document by reference to BSD getpgrp.
51323         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51324         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51325         * signal/signal.h [__FAVOR_BSD]: Likewise.
51326         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51327         instead of making contents conditional on [__FAVOR_BSD].
51328         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51330 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51332         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51334 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51336         [BZ #16314]
51337         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51338         values below 2**-450, not 2**-500.
51339         * math/auto-libm-test-in: Don't allow spurious underflow from
51340         hypot.
51341         * math/auto-libm-test-out: Regenerated.
51343         [BZ #16316]
51344         [BZ #16330]
51345         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51346         values of ha and hb and sort them after adjusting subnormal
51347         arguments.
51348         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51349         Likewise.
51350         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51351         values of ea and eb and sort them after adjusting subnormal
51352         arguments.
51353         * math/auto-libm-test-in: Do not expect some hypot tests of
51354         subnormals to fail.  Add more hypot tests.
51355         * math/auto-libm-test-out: Regenerated.
51357 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51359         [BZ #13304]
51360         * sysdeps/sh/s_fma.c: New file.
51361         * sysdeps/sh/s_fmaf.c: New file.
51362         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51363         version.
51364         * sysdeps/sh/Implies: Add sh/soft-fp.
51366 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51368         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51369         level of indirection to members `objname', `errstring', `malloced'.
51370         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51371         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51372         it as the __longjmp argument (just pass 1 instead).
51373         (_dl_catch_error): Initialize C with argument pointers and address of
51374         volatile local ERRCODE rather than copying values out of C at return.
51376 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51378         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51379         * math/auto-libm-test-out: Regenerated.
51380         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51381         (hypot_test_data): Likewise.
51382         (pow_test_data): Likewise.
51383         (pow_tonearest_test_data): Likewise.
51384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51385         mpfr_ff_f.
51386         (func_calc_desc): Add mpfr_ff_f union field.
51387         (FUNC_mpfr_ff_f): New macro.
51388         (test_functions): Add atan2, hypot and pow.
51389         (special_fill_min): New function.
51390         (special_fill_minus_min): Likewise.
51391         (special_fill_min_subnorm): Likewise.
51392         (special_fill_minus_min_subnorm): Likewise.
51393         (special_real_inputs): Add min, -min, min_subnorm and
51394         -min_subnorm.
51395         (calc_generic_results): Handle mpfr_ff_f.
51396         * sysdeps/i386/fpu/libm-test-ulps: Update.
51397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51399 2013-12-16  Will Newton  <will.newton@linaro.org>
51401         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51402         (Aligned Memory Blocks): Add documentation for aligned_alloc
51403         and suggest it as an alternative to posix_memalign.
51404         (Hooks for Malloc): Document __memalign_hook is also called
51405         for aligned_alloc.  (Summary of Malloc): Add summary for
51406         aligned alloc.  Document __memalign_hook is also called
51407         for aligned_alloc.
51409 2013-12-16  Will Newton  <will.newton@linaro.org>
51411         * manual/memory.texi (Malloc Examples): Clarify default
51412         alignment documentation.  Suggest posix_memalign rather
51413         than memalign or valloc.
51414         (Aligned Memory Blocks): Remove suggestion to use memalign
51415         or valloc.  Remove obsolete comment about BSD.
51416         Document memalign errno values and mark the function obsolete.
51417         Document posix_memalign returned error codes.  Mark valloc
51418         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51419         called for posix_memalign and valloc.
51420         (Summary of Malloc): Add posix_memalign to function summary.
51421         __memalign_hook is also called for posix_memalign and valloc.
51423 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51425         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51426         TAYLOR_SIN.
51427         (__sin): Adjust.
51428         (__cos): Likewise.
51429         (sloww): Use mynumber union.  Expand ternary operator into
51430         if-else statements.
51431         (cslow): use mynumber union.
51433 2013-12-16  Allan McRae  <allan@archlinux.org>
51435         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51436         * configure: Regenerated.
51438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51440         [BZ #14120]
51441         * configure.ac: Added --enable-maintainer-mode. Check for
51442         autoconf when enabled.
51443         * configure: Regenerated.
51445         * nscd/nscd.service: New file.
51446         * nscd/nscd.tmpfiles: New file.
51448 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51450         [BZ #12100]
51451         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51452         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51453         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51454         (strstr): Add __strstr_sse2_unaligned ifunc.
51455         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51456         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51457         (strcasestr): Remove __strcasestr_sse42 ifunc.
51458         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51462 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51464         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51465         * sysdeps/sh/bits/fenv.h: ... here.
51466         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51470         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51472         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51473         hypotf multiarch implementations.
51474         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51475         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51476         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51477         multiarch hypot for PPC64.
51478         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51479         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51481         multiarch hypotf for PPC64.
51483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51484         modff multiarch implementations.
51485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51488         multiarch modf for PPC64.
51489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51492         multiarch modff for PPC64.
51494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51495         and logl multiarch implementations.
51496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51499         multiarch logb for PPC64.
51500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51503         multiarch logb for PPC64.
51504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51507         multiarch logb for PPC64.
51509         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51510         isinff multiarch implementation.
51511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51512         file.
51513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51515         multiarch isinf for PPC64.
51516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51517         file.
51518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51519         multiarch isinff for PPC64.
51521         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51522         finitef multiarch implementation.
51523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51524         file.
51525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51527         multiarch finite for PPC64.
51528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51529         file.
51530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51531         multiarch finitef for PPC64.
51533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51534         lrint multiarch implementation.
51535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51536         file.
51537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51539         multiarch llrint for PPC64.
51540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51541         multiarch lrint for PPC64.
51543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51544         copysignf multiarch implementation.
51545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51546         file.
51547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51548         file.
51549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51550         multiarch copysign for PPC64.
51551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51552         multiarch copysignf for PPC64.
51554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51555         multiarch implementation.
51556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51557         file.
51558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51559         file.
51560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51561         file.
51562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51563         file.
51564         multiarch llround for PPC64.
51565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51566         multiarch trunc for PPC64.
51567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51568         multiarch truncf for PPC64.
51570         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51571         multiarch implementation.
51572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51573         file.
51574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51575         file.
51576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51577         file.
51578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51579         file.
51580         multiarch llround for PPC64.
51581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51582         multiarch round for PPC64.
51583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51584         multiarch roundf for PPC64.
51586         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51587         multiarch implementation.
51588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51589         file.
51590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51591         file.
51592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51593         file.
51594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51595         file.
51596         multiarch llround for PPC64.
51597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51598         multiarch floor for PPC64.
51599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51600         multiarch floorf for PPC64.
51602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51603         multiarch implementation.
51604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51605         file.
51606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51607         file.
51608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51609         file.
51610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51611         file.
51612         multiarch llround for PPC64.
51613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51614         multiarch ceil for PPC64.
51615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51616         multiarch ceilf for PPC64.
51618         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51619         multiarch implementation.
51620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51621         file.
51622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51623         file.
51624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51625         file.
51626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51627         multiarch llround for PPC64.
51628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51629         multiarch lround for PPC64.
51631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51632         multiarch implementation.
51633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51636         file.
51637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51640         multiarch isnan for PPC64.
51641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51642         multiarch isnanf for PPC64.
51644         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51645         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51646         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51647         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51648         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51651         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51652         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51657         multiarch implementations.
51658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51659         (__libc_ifunc_impl_list): Likewise.
51660         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51661         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51663         multiarch stpcpy for PPC64.
51665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51666         multiarch implementations.
51667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51668         (__libc_ifunc_impl_list): Likewise.
51669         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51670         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51671         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51672         multiarch strcpy for PPC64.
51674         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51675         redefine function name.
51676         (_wordcopy_fwd_dest_aligned): Likewise.
51677         (_wordcopy_bwd_aligned): Likewise.
51678         (_wordcopy_bwd_dest_aligned): Likewise.
51679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51680         multiarch implementations.
51681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51682         (__libc_ifunc_impl_list): Likewise.
51683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51687         multiarch wcscpy for PPC64.
51689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51690         multiarch implementations.
51691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51692         (__libc_ifunc_impl_list): Likewise.
51693         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51694         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51696         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51697         multiarch wcscpy for PPC64.
51699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51700         multiarch implementations.
51701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51702         (__libc_ifunc_impl_list): Likewise.
51703         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51704         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51705         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51706         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51707         multiarch wcsrchr for PPC64.
51709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51710         multiarch implementations.
51711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51712         (__libc_ifunc_impl_list): Likewise.
51713         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51714         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51715         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51716         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51717         multiarch wcschr for PPC64.
51719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
51720         multiarch implementations.
51721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51722         (__libc_ifunc_impl_list): Likewise.
51723         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
51724         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
51725         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
51726         multiarch strchrnul for PPC64.
51728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
51729         implementations.
51730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51731         (__libc_ifunc_impl_list): Likewise.
51732         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
51733         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
51734         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
51735         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
51736         strchr for PPC64.
51738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
51739         implementations.
51740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51741         (__libc_ifunc_impl_list): Likewise.
51742         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
51743         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
51744         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
51745         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
51746         strncmp for PPC64.
51748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
51749         multiarch implementations.
51750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51751         (__libc_ifunc_impl_list): Likewise.
51752         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
51753         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
51754         strncasecmp for PPC64.
51755         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
51756         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
51757         multiarch strncasecmp_l for PPC64.
51759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
51760         multiarch implementations.
51761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51762         (__libc_ifunc_impl_list): Likewise.
51763         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
51764         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
51765         multiarch strcasecmp for PPC64.
51766         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
51767         file.
51768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
51769         multiarch strcasecmp_l for PPC64.
51771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
51772         implementations.
51773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51774         (__libc_ifunc_impl_list): Likewise.
51775         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
51776         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
51777         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
51778         strnlen for PPC64.
51780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
51781         implementations.
51782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51783         (__libc_ifunc_impl_list): Likewise.
51784         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
51785         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
51786         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
51787         strlen for PPC64.
51789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
51790         implementations.
51791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51792         (__libc_ifunc_impl_list): Likewise.
51793         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
51794         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
51795         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
51796         rawmemrchr for PPC64.
51798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
51799         implementation.
51800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51801         (__libc_ifunc_impl_list): Likewise.
51802         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
51803         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
51804         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
51805         memrchr for PPC64.
51807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
51808         implementation.
51809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51810         (__libc_ifunc_impl_list): Likewise.
51811         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
51812         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
51813         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
51814         memchr for PPC64.
51816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
51817         implementation.
51818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51819         (__libc_ifunc_impl_list): Likewise.
51820         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
51821         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
51822         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
51823         mempcpy for PPC64.
51825         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
51826         avoid cretion of __bzero symbol.
51827         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
51828         Likewise.
51829         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
51830         Likewise.
51831         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
51832         Likewise.
51833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
51834         multiarch implementations.
51835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51836         (__libc_ifunc_impl_list): Likewise.
51837         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
51838         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
51839         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
51840         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
51841         bzero for PPC32.
51842         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
51843         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
51844         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
51845         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
51846         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
51847         memset for PPC64.
51848         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
51850         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
51851         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
51852         implementations.
51853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51854         (__libc_ifunc_impl_list): Likewise.
51855         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
51856         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
51857         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
51858         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
51859         memcmp for PPC64.
51861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
51862         multiarch for POWER/PPC64.
51863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
51864         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
51865         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
51866         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
51867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
51868         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51869         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
51870         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
51871         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
51872         memcpy for PPC64.
51874         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
51875         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
51876         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
51877         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
51878         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
51879         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
51880         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
51881         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
51882         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
51883         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
51884         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
51885         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
51886         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
51887         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
51888         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
51889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
51890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
51891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
51892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
51893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
51894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
51895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
51897 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51899         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
51901 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51903         * benchtests/Makefile (bench): Add exp2 and log2.
51904         (LDLIBS-bench-exp2): Add -lm.
51905         (LDLIBS-bench-log2): Likewise.
51906         * benchtests/exp2-inputs: New inputs file.
51907         * benchtests/log2-inputs: New inputs file.
51908         * benchtests/log-inputs: Add new inputs.
51909         * benchtests/tan-inputs: Likewise.
51911 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51913         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
51914         definition...
51915         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
51916         (csloww2): ... from here.
51918         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
51919         instead of structures.
51920         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
51921         (POLYNOMIAL): Likewise.
51922         (TAYLOR_SLOW): Likewise.
51923         (__sin): Likewise.
51924         (__cos): Likewise.
51925         (slow1): Likewise.
51926         (slow2): Likewise.
51927         (sloww): Likewise.
51928         (sloww1); Likewise.
51929         (sloww2): Likewise.
51930         (bsloww1): Likewise.
51931         (bsloww2): Likewise.
51932         (cslow2): Likewise.
51933         (csloww): Likewise.
51934         (csloww1): Likewise.
51935         (csloww2): Likewise.
51937 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
51939         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
51940         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
51941         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
51942         * malloc/hooks.c (realloc_check): Likewise.
51944         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
51945         * malloc/arena.c: Remove PER_THREAD conditional.
51946         [!PER_THREAD]: Remove code.
51947         (ptmalloc_unlock_all2): Likewise.
51948         (ptmalloc_init): Likewise.
51949         (_int_new_arena): Likewise.
51950         (arena_get2): Likewise.
51951         * malloc/hooks.c (__malloc_get_state): Likewise.
51952         (__malloc_set_state): Likewise.
51953         * malloc/malloc.c: Likewise.
51954         (struct malloc_state): Likewise.
51955         (struct malloc_par): Likewise.
51956         (__libc_realloc): Likewise.
51957         (__libc_mallopt): Likewise.
51959 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51961         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
51963 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
51965         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
51966         macro to a function.  Check for zero perturb_byte.
51967         (_int_malloc, _int_free): Remove zero perturb_byte checks.
51969         * malloc/malloc.c: (force_reg): Remove.
51970         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
51971         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
51972         force_reg by atomic_forced_read.
51973         * malloc/arena.c (ptmalloc_init): Likewise.
51974         * malloc/hooks.c (top_check): Likewise.
51976 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51980 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
51982         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51984 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
51986         * math/auto-libm-test-in: Add tests of lgamma.
51987         * math/auto-libm-test-out: Regenerated.
51988         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
51989         (M_LOG_2_SQRT_PIl): Likewise.
51990         (lgamma_test_data): Use AUTO_TESTS_f_f1.
51991         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51992         mpfr_f_f1.
51993         (func_calc_desc): Add mpfr_f_f1 union field.
51994         (ARGS1): New macro.
51995         (ARGS2): Likewise.
51996         (ARGS3): Likewise.
51997         (ARGS4): Likewise.
51998         (RET1): Likewise.
51999         (RET2): Likewise.
52000         (CALC): Likewise.
52001         (FUNC): Likewise.
52002         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52003         (test_functions): Add lgamma.
52004         (calc_generic_results): Handle mpfr_f_f1.
52005         * sysdeps/i386/fpu/libm-test-ulps: Update.
52006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52008 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52010         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52011         __mpn_add_n for PowerPC64/POWER7.
52012         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52013         __mpn_sub_n for PowerPC64/POWER7.
52015         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52016         __mpn_addmul_1 for PowerPC64.
52017         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52018         __mpn_submul_1 for PowerPC64.
52019         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52020         for PowerPC64.
52021         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52022         for PowerPC64.
52024 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52026         [BZ #15089]
52027         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52031         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52033         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52034         add multiarch folders.
52035         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52036         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52037         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52038         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52039         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52040         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52041         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52042         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52043         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52044         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52045         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52054         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52056         New file.
52057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52058         New file.
52059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52060         multiarch __ieee754_hypot for PowerPC32.
52061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52062         New file.
52063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52064         New file.
52065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52066         multiarch __ieee754_hypotf for PowerPC32.
52068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52069         long_double_symbol only if __logbl is defined.
52070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52071         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52072         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52073         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52075         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52077         path for implementation.
52078         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52079         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52081         logb, and logbl multiarch implementations for PowerPC32.
52082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52083         file.
52084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52085         file.
52086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52087         multiarch logb for PowerPC32.
52088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52089         file.
52090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52091         file.
52092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52093         multiarch logbf for PowerPC32.
52094         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52096         file.
52097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52098         multiarch logbl implementation for PowerPC32.
52100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52101         and modff multiarch implementations.
52102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52103         New file.
52104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52105         New file.
52106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52107         multiarch modf for PowerPC32.
52108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52109         New file.
52110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52111         New file.
52112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52113         multiarch modff for PowerPC32.
52115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52116         and lrintf multiarch implementations.
52117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52118         New file.
52119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52120         New file.
52121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52122         multiarch lrint for PowerPC32.
52123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52124         file: multiarch lrintf for PowerPC32.
52126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52127         and lroundf multiarch implementations.
52128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52129         New file.
52130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52131         New file.
52132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52133         New file.
52134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52135         multiarch lround for PowerPC32.
52136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52137         file: multiarch lroundf for PowerPC32.
52139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52140         copysign and copysignf multiarch implementations.
52141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52142         New file.
52143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52144         New file.
52145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52146         file: multiarch copysign for PowerPC32.
52147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52148         file: multiarch copysignf for PowerPC32.
52150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52151         and truncf multiarch implementations.
52152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52153         New file.
52154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52155         file.
52156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52157         multiarch trunc for PowerPC32.
52158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52159         New file.
52160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52161         New file.
52162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52163         multiarch truncf for PowerPC32.
52165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52166         and roundf multiarch implementations.
52167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52168         New file.
52169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52170         file.
52171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52172         multiarch round for PowerPC32.
52173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52174         New file.
52175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52176         New file.
52177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52178         multiarch roundf for PowerPC32.
52180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52181         and floorf multiarch implementations.
52182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52183         New file.
52184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52185         file.
52186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52187         multiarch floor for PowerPC32.
52188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52189         New file.
52190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52191         New file.
52192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52193         multiarch floorf for PowerPC32.
52195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52196         and ceilf multiarch implementations.
52197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52198         New file.
52199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52200         file.
52201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52202         multiarch ceil for PowerPC32.
52203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52204         New file.
52205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52206         file.
52207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52208         multiarch ceilf for PowerPC32.
52210         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52211         is defined.
52212         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52213         FINITEF is defined.
52214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52215         and finitef multiarch implementations.
52216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52217         New file.
52218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52219         file.
52220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52221         multiarch finite for PowerPC32.
52222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52223         New file.
52224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52225         file: multiarch finitef for PowerPC32.
52227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52228         and isinff multiarch implementations.
52229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52230         file.
52231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52232         file.
52233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52234         multiarch isinf for PowerPC32.
52235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52236         New file.
52237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52238         multiarch isinff for PowerPC32.
52240         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52241         alias when __isnan is defined.
52242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52243         and isnanf multiarch implementations.
52244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52245         file.
52246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52247         file.
52248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52249         file.
52250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52251         file.
52252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52253         multiarch isnan for PowerPC32.
52254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52255         New file.
52256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52257         New file.
52258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52259         multiarch isnanf for PowerPC32.
52261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52262         and sqrtf multiarch implementations.
52263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52264         file.
52265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52266         file.
52267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52268         multiarch sqrt for PowerPC32.
52269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52270         file.
52271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52272         file.
52273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52274         multiarch sqrtf for PowerPC32.
52276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52277         and llroundf multiarch implementations.
52278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52279         New file.
52280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52281         New file.
52282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52283         New file.
52284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52285         file: multiarch llround for PowerPC32.
52286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52287         file: multiarch llroundf for PowerPC32.
52289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52290         multiarch PowerPC32 fpu implementations.
52291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52292         New file.
52293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52294         New file.
52295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52296         multiarch llrint for PowerPC32.
52297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52298         New file.
52299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52300         New file.
52301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52302         file.
52304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52306         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52307         file.
52308         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52309         file.
52310         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52311         file.
52312         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52313         multiarch wordcopy for PPC32.
52314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52315         wordcopy objects.
52316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52317         (__libc_ifunc_impl_list): Likewise.
52318         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52319         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52320         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52321         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52323         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52325         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52327         file.
52328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52329         file.
52330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52331         file.
52332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52333         multiarch wcscpy for PPC32.
52334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52335         multiarch objects.
52336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52337         (__libc_ifunc_impl_list): Likewise.
52338         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52339         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52340         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52341         sysdeps/powerpc/power6/wcscpy.c.
52343         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52345         file.
52346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52347         file.
52348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52349         file.
52350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52351         multiarch wcsrchr for PPC32.
52352         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52353         multiarch objects.
52354         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52355         (__libc_ifunc_impl_list): Likewise.
52356         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52357         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52358         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52359         sysdeps/powerpc/power6/wcsrchr.c.
52361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52362         file.
52363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52364         file.
52365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52367         multiarch wcschr for PPc32.
52368         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52369         multiarch objects.
52370         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52371         (__libc_ifunc_impl_list): Likewise.
52372         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52373         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52374         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52375         sysdeps/powerpc/power6/wcschr.c.
52377         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52378         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52379         file.
52380         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52381         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52382         file: multiarch strchr for PPC32.
52383         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52384         multiarch objects.
52385         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52386         (__libc_ifunc_impl_list): Likewise.
52388         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52389         name.
52390         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52391         file.
52392         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52393         file.
52394         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52395         multiarch strchrnul for PPC32.
52396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52397         multiarch objects.
52398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52399         (__libc_ifunc_impl_list): Likewise.
52401         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52402         file.
52403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52404         multiarch strncasecmp for PPC32.
52405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52406         file.
52407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52408         multiarch strncasecmp_l for PPC32.
52409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52410         strncasecmp multiarch objects.
52411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52412         (__libc_ifunc_impl_list): Likewise.
52414         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52415         file.
52416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52417         multiarch strncasecmp for PPC32.
52418         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52419         New file.
52420         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52421         multiarch strcasecmp_l for PPC32.
52422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52423         multiarch objects.
52424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52425         (__libc_ifunc_impl_list): Likewise.
52427         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52428         file.
52429         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52430         file.
52431         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52432         multiarch strncmp for PPC32.
52433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52434         multiarch objects.
52435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52436         (__libc_ifunc_impl_list): Likewise.
52438         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52439         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52440         file.
52441         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52442         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52444         multiarch objects.
52445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52446         (__libc_ifunc_impl_list): Likewise.
52448         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52449         file.
52450         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52451         file.
52452         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52454         multiarch objects.
52455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52456         (__libc_ifunc_impl_list): Likewise.
52458         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52459         file.
52460         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52461         file.
52462         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52463         multiarch rawmemchr for PPC32.
52464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52465         multiarch objects.
52466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52467         (__libc_ifunc_impl_list): Likewise.
52469         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52470         file.
52471         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52472         file.
52473         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52474         file: memrchr multiarch for PPC32.
52475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52476         multiarch objects.
52477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52478         (__libc_ifunc_impl_list): Likewise.
52480         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52481         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52482         file.
52483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52484         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52485         multiarch memchr for PPC32.
52486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52487         multiarch objects.
52488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52489         (__libc_ifunc_impl_list): Likewise.
52491         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52492         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52493         file.
52494         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52495         file.
52496         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52497         file: multiarch mempcpy for PPC32.
52498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52499         multiarch objects.
52500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52501         (__libc_ifunc_impl_list): Likewise.
52503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52504         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52505         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52507         multiarch bzero for PPC32.
52508         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52509         file.
52510         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52511         file.
52512         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52513         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52514         file: multiarch memset for PPC32.
52515         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52517         memset multiarch objects.
52518         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52519         (__libc_ifunc_impl_list): Likewise.
52521         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52522         file.
52523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52524         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52525         memcmp for PPC32.
52526         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52528         multiarch objects.
52529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52530         (__libc_ifunc_impl_list): Likewise.
52532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52533         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52535         file.
52536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52537         file.
52538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52539         file.
52540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52541         multiarch memcpy for PPC32.
52542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52543         multiarch objects.
52544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52545         (__libc_ifunc_impl_list): Likewise.
52547         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52548         support multiarch for POWER/PPC32.
52549         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52550         Likewise.
52551         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52553         Implies file to make multiarch folder appers before the fpu and
52554         default folder for power4 configuration.
52556 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52558         * scripts/bench.pl: Append volatile keyword to type.
52560 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52562         * sysdeps/sh/sotruss-lib.c: New file.
52563         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52565 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52569 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52571         [BZ #6810]
52572         * math/w_tgamma.c: Include <errno.h>.
52573         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52574         * math/w_tgammaf.c: Include <errno.h>.
52575         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52576         * math/w_tgammal.c: Include <errno.h>.
52577         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52578         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52579         underflow.  Add more tgamma tests.
52580         * math/auto-libm-test-out: Regenerated.
52581         * sysdeps/i386/fpu/libm-test-ulps: Update.
52582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52584         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52585         sin, sinh, tan, tanh, tgamma, y0 and y1.
52586         * math/auto-libm-test-out: Regenerated.
52587         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52588         (TEST_COND_x86): Likewise.
52589         (M_E2l): Remove macro.
52590         (M_E3l): Likewise.
52591         (M_2_SQRT_PIl): Likewise.
52592         (M_SQRT_PIl): Likewise.
52593         (M_1_DIV_El): Likewise.
52594         (log_test_data): Use AUTO_TESTS_f_f.
52595         (log10_test_data): Likewise.
52596         (log1p_test_data): Likewise.
52597         (log2_test_data): Likewise.
52598         (sin_test_data): Likewise.
52599         (sin_tonearest_test_data): Likewise.
52600         (sin_towardzero_test_data): Likewise.
52601         (sin_downward_test_data): Likewise.
52602         (sin_upward_test_data): Likewise.
52603         (sinh_test_data): Likewise.
52604         (sinh_tonearest_test_data): Likewise.
52605         (sinh_towardzero_test_data): Likewise.
52606         (sinh_downward_test_data): Likewise.
52607         (sinh_upward_test_data): Likewise.
52608         (tan_test_data): Likewise.
52609         (tan_tonearest_test_data): Likewise.
52610         (tan_towardzero_test_data): Likewise.
52611         (tan_downward_test_data): Likewise.
52612         (tan_upward_test_data): Likewise.
52613         (tanh_test_data): Likewise.
52614         (tgamma_test_data): Likewise.
52615         (y0_test_data): Likewise.
52616         (y1_test_data): Likewise.
52617         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52618         (special_real_inputs): Add pi/4.
52619         * sysdeps/i386/fpu/libm-test-ulps: Update.
52620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52622 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52624         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52625         "longjmp_target" static probes.
52626         (__longjmp): Rename to __longjmp_symbol.
52627         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52628         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52629         on which longjmp to generate.
52630         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52631         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52632         probe.
52633         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52634         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52635         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52636         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52637         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52638         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52640         __longjmp_symbol based on which __longjmp to generate.
52641         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52642         probe.
52643         (setjmp): Rename to setjmp_symbol.
52644         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52645         (_setjmp): Rename to _setjmp_symbol.
52646         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52647         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52648         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52649         which setjmp to generate.
52650         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52651         "longjmp_target" static probes.
52653 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52655         * benchtests/README: Add note about output arguments.
52656         * benchtests/bench-sincos.c: Remove file.
52657         * benchtests/sincos-inputs: New file.
52658         * scripts/bench.pl: Identify output arguments and define
52659         static variables for them.
52661         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52663         [BZ #15941]
52664         * Makefile (INSTALL): Add install-plain.texi as the primary
52665         dependency.
52666         * manual/install-plain.texi: New file.
52667         * manual/install.texi: Include node directive only for
52668         non-plaintext output.
52670 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52672         * stdlib/longlong.h: Update from GCC.
52674         [BZ #6807]
52675         [BZ #15901]
52676         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52677         * math/w_j0f.c (y0f): Likewise.
52678         * math/w_j0l.c (__y0l): Likewise.
52679         * math/w_j1.c (y1): Likewise.
52680         * math/w_j1f.c (y1f): Likewise.
52681         * math/w_j1l.c (__y1l): Likewise.
52682         * math/w_jn.c (yn): Likewise.
52683         * math/w_jnf.c (ynf): Likewise.
52684         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52685         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52686         value for Bessel function domain errors outside _SVID_ mode.
52687         Adjust sign of return value for yn (negative integer, 0).
52688         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52689         by zero in return for negative x and set sign appropriately for
52690         negative n.
52691         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52692         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52693         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52694         expectations in error cases.
52695         (y1_test_data): Likewise.
52696         (yn_test_data): Likewise.
52697         * sysdeps/i386/fpu/libm-test-ulps: Update.
52698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52700 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52702         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52703         "64" to "64-v1".  Add "64-v2".
52704         (abi-64-options): Rename to ...
52705         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52706         (abi-64-condition): Rename to ...
52707         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52708         (abi-64-ld-soname): Rename to ...
52709         (abi-64-v1-ld-soname): ... this.
52710         (abi-64-v2-options): Define.
52711         (abi-64-v2-condition): Likewise.
52712         (abi-64-v2-ld-soname): Likewise.
52713         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52714         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
52719 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52720             Alan Modra  <amodra@gmail.com>
52722         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
52723         New versions for use with the ELFv2 ABI.
52724         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
52725         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
52726         declaration.
52727         (struct La_ppc64v2_retval): Likewise.
52728         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
52729         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
52730         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
52731         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
52732         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
52733         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52734         Do not save or restore CR.
52735         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
52736         (_dl_profile_resolve): Do no save or restore CR.  Support extended
52737         return values for ELFv2 ABI.  Fix location of FPR return registers.
52738         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
52739         updated values for _CALL_ELF == 2.
52740         (La_regs, La_retval, int_retval): Likewise.
52742 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52744         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
52745         (FRAME_MIN_SIZE_PARM): Likewise.
52746         (FRAME_BACKCHAIN): Likewise.
52747         (FRAME_CR_SAVE): Likewise.
52748         (FRAME_LR_SAVE): Likewise.
52749         (FRAME_TOC_SAVE): Likewise.
52750         (FRAME_PARM_SAVE): Likewise.
52751         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
52752         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
52753         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52754         (call_mcount_parm_offset): New macro.
52755         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
52756         (PROF): Use symbolic stack frame offsets.
52757         (TAIL_CALL_SYSCALL_ERROR): Likewise.
52758         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
52759         Redefine in terms of FRAME_MIN_SIZE.
52760         (_dl_runtime_resolve): Use symbolic stack frame offsets.
52761         (_dl_profile_resolve): Likewise.  Update comment.
52762         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
52763         symbols stack frame offsets.
52764         (__sigsetjmp): Likewise.
52765         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
52766         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
52767         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
52768         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
52770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
52771         (FRAME_BACKCHAIN): Remove.
52772         (FRAME_CR_SAVE): Likewise.
52773         (FRAME_LR_SAVE): Likewise.
52774         (FRAME_COMPILER_DW): Likewise.
52775         (FRAME_LINKER_DW): Likewise.
52776         (FRAME_TOC_SAVE): Likewise.
52777         (FRAME_PARM_SAVE): Likewise.
52778         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
52779         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
52780         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
52781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
52782         (CHECK_SP): Use symbolic stack frame offsets.
52783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
52784         zone" instead of caller's parameter save area for temp storage.
52785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52786         Likewise.  Also, use symbolic stack frame offsets.
52787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
52788         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
52789         our own stack frame instead of the caller's.
52790         (__socket): Use symbolic stack frame offsets.
52792 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52793             Alan Modra  <amodra@gmail.com>
52795         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
52796         Define.
52797         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
52798         (PPC64_LOCAL_ENTRY_OFFSET): Define.
52799         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
52800         New function.
52801         (elf_machine_fixup_plt): Call it.
52802         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
52803         reloc arguments.
52804         (elf_machine_rela): Update call to elf_machine_plt_conflict.
52805         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52806         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
52807         r2 before calling target.
52809 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52810             Alan Modra  <amodra@gmail.com>
52812         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
52813         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
52814         versions of macros to support ELFv2 ABI.
52815         (LOCALENTRY): New macro.
52816         (ENTRY, EALIGN): Use it.
52817         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
52818         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
52819         fall through into ENTRY entry point.
52820         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
52821         Only define if _CALL_ELF != 2.
52823         (elf_machine_matches_host): Verify ABI version matches.
52824         (RTLD_START): Use LOCALENTRY.
52825         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
52826         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
52827         (PLT_ENTRY_WORDS): New macro.
52828         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
52829         (elf_machine_runtime_setup): Support ELFv2 ABI.
52830         (elf_machine_fixup_plt): Likewise.
52831         (elf_machine_plt_conflict): Likewise.
52832         (resolve_ifunc): Likewise.
52833         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
52834         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
52835         Likewise.
52836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
52837         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
52838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52839         (makecontext): Support ELFv2 ABI.
52840         * elf/elf.h (EF_PPC64_ABI): Define.
52842 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52844         * sysdeps/powerpc/powerpc64/sysdep.h
52845         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
52846         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
52847         (ENTRY) [ASSEMBLER]: ... but instead here ...
52848         (EALIGN) [ASSEMBLER]: ... and here.
52849         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
52850         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
52851         (ENTRY_2) [!ASSEMBLER]: Use it.
52852         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
52853         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
52854         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
52855         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
52856         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
52858         Use PPC64_LOAD_FUNCPTR.
52860         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
52862 2013-12-04  Alan Modra  <amodra@gmail.com>
52864         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
52865         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
52866         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
52867         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
52869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
52870         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
52871         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
52872         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
52873         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
52874         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
52876 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52879         (__makecontext): Fix incorrect CFI when backtracing out of
52880         context created via makecontext.
52881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
52882         (__setcontext): Fix incorrect CFI during switch to new context.
52883         (__novec_setcontext): Likewise.
52885 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52887         [BZ #4772]
52888         * time/strptime_l.c (__strptime_internal): Allow modifiers
52889         in strptime.
52890         * time/tst-strptime.c (day_tests): Add testcase.
52892 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52894         * scripts/bench.pl: Skip over blank lines.
52896 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
52898         [BZ #926]
52899         * manual/time.texi (Calendar Time): Clarify what timezone functions
52900         use.
52902 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52906 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
52908         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
52909         implementation.
52910         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
52911         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
52912         * debug/memset_chk.c (__memset_chk): Likewise.
52913         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
52914         * debug/strncpy_chk.c: Likewise.
52916 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52918         [BZ #15268]
52919         [BZ #15425]
52920         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
52921         (__ieee754_exp): For possibly underflowing results, check size of
52922         result and force underflow exception if required.
52923         * math/auto-libm-test-in: Add more tests of exp.
52924         * math/auto-libm-test-out: Regenerated.
52925         * sysdeps/i386/fpu/libm-test-ulps: Update.
52926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52928         [BZ #16283]
52929         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
52930         * math/w_exp2f.c (__exp2f): Likewise.
52931         * math/w_exp2l.c (__exp2l): Likewise.
52932         * math/auto-libm-test-in: Do not allow missing errno on exp2
52933         underflow.
52934         * math/auto-libm-test-out: Regenerated.
52936 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
52938         [BZ #16274]
52939         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
52940         handle filename validation.
52941         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
52942         (do_open): Delete.
52944 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
52946         [BZ #6786]
52947         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
52948         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
52949         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
52950         <float.h>.
52951         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
52952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
52953         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52954         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
52955         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52956         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
52957         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
52958         * math/auto-libm-test-in: Don't allow missing errno from erfc.
52959         Add more erfc tests.
52960         * math/auto-libm-test-out: Regenerated.
52961         * sysdeps/i386/fpu/libm-test-ulps: Update.
52962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52964         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
52965         exp2, expm1, j0 and j1.
52966         * math/auto-libm-test-out: Regenerated.
52967         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
52968         (erfc_test_data): Likewise.
52969         (exp_test_data): Likewise.
52970         (exp_tonearest_test_data): Likewise.
52971         (exp_towardzero_test_data): Likewise.
52972         (exp_downward_test_data): Likewise.
52973         (exp_upward_test_data): Likewise.
52974         (exp10_test_data): Likewise.
52975         (exp2_test_data): Likewise.
52976         (expm1_test_data): Likewise.
52977         (j0_test_data): Likewise.
52978         (j1_test_data): Likewise.
52979         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
52980         (input_flag_type): Add flag_xfail_rounding.
52981         (input_flags): Add xfail-rounding.
52982         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
52983         (output_for_one_input_case): Handle flag_xfail_rounding.
52984         * sysdeps/i386/fpu/libm-test-ulps: Update.
52985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52987 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
52989         [BZ #16289]
52990         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
52991         division by 0.
52993 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52995         [BZ #16195]
52996         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
52997         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
52998         (STAP_PROBE0): New macro.
52999         (STAP_PROBE1): Likewise.
53000         (STAP_PROBE2): Likewise.
53001         (STAP_PROBE3): Likewise.
53002         (STAP_PROBE4): Likewise.
53004 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53006         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53008 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53010         * benchtests/Makefile (bench): Add sqrt.
53011         (LDLIBS-bench-sqrt): New.
53012         * benchtests/sqrt-input: New.
53014 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53016         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53017         (GAIH_EAI): Likewise.
53018         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53019         (gaih_inet): Likewise.
53020         (getaddrinfo): Don't use GAIH_EAI.
53022         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53023         (struct gaih): Remove definition.
53025 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53027         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53028         Use HERRNOP directly.
53030 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53034 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53036         * math/gen-auto-libm-tests.c (test_functions): Add more
53037         single-argument functions.
53038         (special_fill_pi_2): New function.
53039         (special_fill_minus_pi_2): Likewise.
53040         (special_fill_pi_6): Likewise.
53041         (special_fill_minus_pi_6): Likewise.
53042         (special_fill_pi_3): Likewise.
53043         (special_fill_2pi_3): Likewise.
53044         (special_fill_e): Likewise.
53045         (special_fill_1_e): Likewise.
53046         (special_fill_e_minus_1): Likewise.
53047         (special_real_inputs): Add more special inputs.
53048         (output_for_one_input_case): Do not require ERANGE on underflow to
53049         zero if round-to-nearest result does not underflow to zero, unless
53050         exact results required.
53051         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53052         atan, atanh, cbrt, cos and cosh.
53053         * math/auto-libm-test-out: Regenerated.
53054         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53055         (acos_tonearest_test_data): Likewise.
53056         (acos_towardzero_test_data): Likewise.
53057         (acos_downward_test_data): Likewise.
53058         (acos_upward_test_data): Likewise.
53059         (acosh_test_data): Likewise.
53060         (asin_test_data): Likewise.
53061         (asin_tonearest_test_data): Likewise.
53062         (asin_towardzero_test_data): Likewise.
53063         (asin_upward_test_data): Likewise.
53064         (asinh_test_data): Likewise.
53065         (atan_test_data): Likewise.
53066         (atanh_test_data): Likewise.
53067         (cbrt_test_data): Likewise.
53068         (cos_test_data): Likewise.
53069         (cos_tonearest_test_data): Likewise.
53070         (cos_towardzero_test_data): Likewise.
53071         (cos_downward_test_data): Likewise.
53072         (cos_upward_test_data): Likewise.
53073         (cosh_test_data): Likewise.
53074         (cosh_tonearest_test_data): Likewise.
53075         (cosh_towardzero_test_data): Likewise.
53076         (cosh_downward_test_data): Likewise.
53077         (cosh_upward_test_data): Likewise.
53078         * sysdeps/i386/fpu/libm-test-ulps: Update.
53079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53081 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53083         [BZ #6787]
53084         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53085         * math/w_exp10f.c (__exp10f): Likewise.
53086         * math/w_exp10l.c (__exp10l): Likewise.
53087         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53088         errno settings in existing tests.
53090         [BZ #14032]
53091         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53092         precision control set to double precision.
53093         * sysdeps/i386/fpu/w_sqrt.c: New file.
53094         * math/auto-libm-test-in: Add more tests.
53095         * math/auto-libm-test-out: Update.
53097         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53098         (sqrt_test_tonearest): New function.
53099         (sqrt_towardzero_test_data): New variable.
53100         (sqrt_test_towardzero): New function.
53101         (sqrt_downward_test_data): New variable.
53102         (sqrt_test_downward): New function.
53103         (sqrt_upward_test_data): New variable.
53104         (sqrt_test_upward): New function.
53105         (main): Call the new functions.
53107         * math/gen-auto-libm-tests.c: New file.
53108         * math/auto-libm-test-in: Likewise.
53109         * math/auto-libm-test-out: New generated file.
53110         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53111         variables.
53112         (%beautify): Add generated representations of zero.
53113         (top level): Set $auto_input and call parse_auto_input.
53114         (beautify): Remove trailing "f" from hex float constants.
53115         (parse_args): Handle XFAIL_TEST.
53116         (convert_condition): New function.
53117         (or_value): Likewise.
53118         (or_cond_value): Likewise.
53119         (generate_testfile): Handle AUTO_TESTS_* lines.
53120         (parse_auto_input): New function.
53121         * math/libm-test.inc (XFAIL_TEST): New macro.
53122         (ERRNO_UNCHANGED): Update value.
53123         (ERRNO_EDOM): Likewise.
53124         (ERRNO_ERANGE): Likewise.
53125         (IGNORE_RESULT): Likewise.
53126         (TEST_COND_flt_32): New macro.
53127         (TEST_COND_dbl_64): Likewise.
53128         (TEST_COND_ldbl_96_intel): Likewise.
53129         (TEST_COND_ldbl_96_m68k): Likewise.
53130         (TEST_COND_ldbl_128): Likewise.
53131         (TEST_COND_ldbl_128ibm): Likewise.
53132         (TEST_COND_long32): Likewise.
53133         (TEST_COND_long64): Likewise.
53134         (TEST_COND_before_rounding): Likewise.
53135         (TEST_COND_after_rounding): Likewise.
53136         (enable_test): Handle XFAIL_TEST flag.
53137         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53138         with finite results.
53139         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53140         auto-libm-test-out.
53142 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53143             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53145         [BZ #16214]
53146         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53147         __tls_get_addr_internal instead of __tls_get_offset in order to
53148         avoid GOT pointer dependency.  Make rtld export
53149         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53150         __tls_get_addr since we are a __tls_get_offset platform.
53151         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53152         GOT pointer being set up before.
53153         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53155 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53157         * manual/math.texi (Errors in Math Functions): Document accuracy
53158         goals.
53160         [BZ #15004]
53161         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53162         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53163         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53164         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53165         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53166         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53167         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53168         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53169         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53170         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53171         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53173         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53174         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53175         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53176         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53178         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53179         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53180         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53181         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53182         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53183         Likewise.
53184         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53185         Likewise.
53186         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53187         Likewise.
53188         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53189         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53190         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53191         atomic-feupdateenv and flt-rounds.
53192         * sysdeps/powerpc/nofpu/Versions (libc): Add
53193         __atomic_feholdexcept, __atomic_feclearexcept,
53194         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53195         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53196         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53197         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53198         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53199         here.
53200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53201         Update.
53203         * manual/arith.texi (FP Exceptions): Document that exceptions may
53204         not be raised when matherr is used.
53205         (Math Error Reporting): Document overflow in directed rounding
53206         modes.  Document that errno may not be set when finite values are
53207         returned on overflow.  Document intent to set errno on underflow
53208         only for underflow to zero.
53210         [BZ #16271]
53211         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53212         round-to-nearest then adjust result for other rounding modes.
53213         * include/fenv.h (fegetround): Use libm_hidden_proto.
53214         * math/fegetround.c (fegetround): Use libm_hidden_def.
53215         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53216         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53217         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53218         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53219         Likewise.
53220         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53221         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53222         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53223         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53225 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53227         [BZ #16077]
53228         * nss/Versions (libnss_files): Add
53229         _nss_files_gethostbyname3_r.
53230         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53231         New function.
53232         (HOST_DB_LOOKUP): Remove macro.
53233         (_nss_files_gethostbyname_r): Implement function without the
53234         HOST_DB_LOOKUP macro.
53235         (_nss_files_gethostbyname2_r): Likewise.
53237 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53239         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53241 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53243         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53244         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53245         warning.
53247 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53249         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53250         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53251         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53252         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53253         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53254         __fe_nomask_env_priv and attribute_hidden.
53255         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53256         (libc_feupdateenv_test_ppc): Likewise.
53257         (libc_feresetround_ppc): Likewise.
53258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53259         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53260         compat_symbol macro.
53261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53262         (__fe_nomask_env): Likewise.
53263         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53265 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53267         * string/Makefile: Remove ifunc tests.
53268         * string/test-string.h: Define TEST_IFUNC.
53269         * string/test-bcopy-ifunc.c: Remove.
53270         * string/test-bzero-ifunc.c: Likewise.
53271         * string/test-memccpy-ifunc.c: Likewise.
53272         * string/test-memchr-ifunc.c: Likewise.
53273         * string/test-memcmp-ifunc.c: Likewise.
53274         * string/test-memcpy-ifunc.c: Likewise.
53275         * string/test-memmem-ifunc.c: Likewise.
53276         * string/test-memmove-ifunc.c: Likewise.
53277         * string/test-mempcpy-ifunc.c: Likewise.
53278         * string/test-memrchr-ifunc.c: Likewise.
53279         * string/test-memset-ifunc.c: Likewise.
53280         * string/test-rawmemchr-ifunc.c: Likewise.
53281         * string/test-stpcpy-ifunc.c: Likewise.
53282         * string/test-stpncpy-ifunc.c: Likewise.
53283         * string/test-strcasecmp-ifunc.c: Likewise.
53284         * string/test-strcasestr-ifunc.c: Likewise.
53285         * string/test-strcat-ifunc.c: Likewise.
53286         * string/test-strchr-ifunc.c: Likewise.
53287         * string/test-strchrnul-ifunc.c: Likewise.
53288         * string/test-strcmp-ifunc.c: Likewise.
53289         * string/test-strcpy-ifunc.c: Likewise.
53290         * string/test-strcspn-ifunc.c: Likewise.
53291         * string/test-strlen-ifunc.c: Likewise.
53292         * string/test-strncasecmp-ifunc.c: Likewise.
53293         * string/test-strncat-ifunc.c: Likewise.
53294         * string/test-strncmp-ifunc.c: Likewise.
53295         * string/test-strncpy-ifunc.c: Likewise.
53296         * string/test-strnlen-ifunc.c: Likewise.
53297         * string/test-strpbrk-ifunc.c: Likewise.
53298         * string/test-strrchr-ifunc.c: Likewise.
53299         * string/test-strspn-ifunc.c: Likewise.
53300         * string/test-strstr-ifunc.c: Likewise.
53302 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53304         * benchtests/Makefile: Remove ifunc tests.
53305         * benchtests/bench-string.h: Define TEST_IFUNC.
53306         * benchtests/bench-bcopy-ifunc.c: Remove.
53307         * benchtests/bench-bzero-ifunc.c: Likewise.
53308         * benchtests/bench-memccpy-ifunc.c: Likewise.
53309         * benchtests/bench-memchr-ifunc.c: Likewise.
53310         * benchtests/bench-memcmp-ifunc.c: Likewise.
53311         * benchtests/bench-memcpy-ifunc.c: Likewise.
53312         * benchtests/bench-memmem-ifunc.c: Likewise.
53313         * benchtests/bench-memmove-ifunc.c: Likewise.
53314         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53315         * benchtests/bench-memrchr-ifunc.c: Likewise.
53316         * benchtests/bench-memset-ifunc.c: Likewise.
53317         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53318         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53319         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53320         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53321         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53322         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53323         * benchtests/bench-strcat-ifunc.c: Likewise.
53324         * benchtests/bench-strchr-ifunc.c: Likewise.
53325         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53326         * benchtests/bench-strcmp-ifunc.c: Likewise.
53327         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53328         * benchtests/bench-strcpy-ifunc.c: Likewise.
53329         * benchtests/bench-strcspn-ifunc.c: Likewise.
53330         * benchtests/bench-strlen-ifunc.c: Likewise.
53331         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53332         * benchtests/bench-strncat-ifunc.c: Likewise.
53333         * benchtests/bench-strncmp-ifunc.c: Likewise.
53334         * benchtests/bench-strncpy-ifunc.c: Likewise.
53335         * benchtests/bench-strnlen-ifunc.c: Likewise.
53336         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53337         * benchtests/bench-strrchr-ifunc.c: Likewise.
53338         * benchtests/bench-strsep-ifunc.c: Likewise.
53339         * benchtests/bench-strspn-ifunc.c: Likewise.
53340         * benchtests/bench-strstr-ifunc.c: Likewise.
53342 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53344         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53346 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53348         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53349         * rt/aio.h: Likewise.
53350         * sysdeps/gnu/bits/utmp.h: Likewise.
53351         * sysdeps/gnu/bits/utmpx.h: Likewise.
53352         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53353         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53354         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53355         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53356         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53357         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53358         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53359         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53360         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53361         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53362         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53363         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53364         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53366         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53367         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53368         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53369         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53370         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53371         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53372         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53373         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53374         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53375         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53376         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53378         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53379         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53380         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53381         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53382         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53383         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53384         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53385         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53386         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53387         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53388         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53389         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53390         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53391         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53392         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53393         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53395 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53397         [BZ #16245]
53398         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53399         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53401 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53403         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53405         Likewise.
53407 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53409         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53410         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53411         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53412         (__fesetround): Remove define.
53413         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53414         rounding and exceptions handling.
53415         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53416         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53417         (__fe_nomask_env): Likewise.
53418         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53419         __fegetround instead of fegetround.
53420         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53421         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53423 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53425         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53426         it's there.
53428         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53430 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53432         [BZ #11157]
53433         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53434         (encrypt_r): Likewise.
53435         * malloc/obstack.h (obstack_free): Likewise.
53436         * posix/unistd.h (encrypt): Likewise.
53438 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53440         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53441         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53442         DL_CALL_DT_FINI() that call the functions directly.
53443         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53444         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53445         * elf/dl-fini.c: Likewise.
53447 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53449         * malloc/hooks.c (memalign_check): Add alignment rounding.
53450         * malloc/malloc.c (_mid_memalign): New function.
53451         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53452         Implement by calling _mid_memalign.
53453         * manual/probes.texi (Memory Allocation Probes): Remove
53454         memory_valloc_retry and memory_pvalloc_retry.
53456 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53458         * locale/programs/locarchive.c (open_archive): Add const
53459         qualifier to ARCHIVEFNAME and copy default fname to
53460         DEFAULT_FNAME.
53462         [BZ #15601]
53463         * libio/tst-widetext.input: Rename Oriya to Odia.
53464         * locale/iso-639.def: Likewise.
53466         * manual/probes.texi (Mathematical Function Probes): Add
53467         documentation for sin, cos, asin and acos probes.
53468         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53469         (__sin32): Add slowasin probe.
53470         (__cos32): Add slowacos probe.
53471         (__mpsin): Add slowsin probe.
53472         (__mpcos): Add slowcos probe.
53474 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53476         [BZ #15483]
53477         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53478         thread-local __sim_exceptions_thread and global
53479         __sim_exceptions_global.
53480         (__sim_disabled_exceptions): Change to thread-local
53481         __sim_disabled_exceptions_thread and global
53482         __sim_disabled_exceptions_global.
53483         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53484         and global __sim_round_mode_global.
53485         (__simulate_exceptions): Use thread-local floating-point state and
53486         set global state from it as needed.
53487         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53488         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53489         __sim_round_mode_thread.
53490         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53491         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53492         and global __sim_exceptions_global.
53493         (__sim_disabled_exceptions): Change to thread-local
53494         __sim_disabled_exceptions_thread and global
53495         __sim_disabled_exceptions_global.
53496         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53497         and global __sim_round_mode_global.
53498         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53499         (SIM_SET_GLOBAL): Likewise.
53500         * sysdeps/powerpc/soft-fp/sfp-machine.h
53501         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53502         __sim_round_mode_thread.
53503         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53504         __sim_disabled_exceptions_thread.
53505         (__sim_exceptions): Change to __sim_exceptions_thread.
53506         (__sim_disabled_exceptions): Change to
53507         __sim_disabled_exceptions_thread.
53508         (__sim_round_mode): Change to __sim_round_mode_thread.
53509         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53510         thread-local floating-point state and set global state from it as
53511         needed.
53512         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53513         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53514         (__sim_disabled_exceptions): Remove extern declaration.
53515         (feenableexcept): Use thread-local floating-point state and set
53516         global state from it as needed.
53517         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53518         extern declaration.
53519         (__sim_disabled_exceptions): Likewise.
53520         (__sim_round_mode): Likewise.
53521         (__fegetenv): Use thread-local floating-point state.
53522         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53523         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53524         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53525         floating-point state and set global state from it as needed.
53526         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53527         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53528         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53529         Likewise.
53530         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53531         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53532         Likewise.
53533         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53534         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53535         Use __sim_round_mode_thread.
53536         * math/test-fenv-tls.c: New file.
53537         * math/Makefile (tests): Add test-fenv-tls.
53538         ($(objpfx)test-fenv-tls): Depend on
53539         $(common-objpfx)nptl/libpthread.so.
53541 2013-11-19  Andreas Schwab  <schwab@suse.de>
53543         * locale/programs/locale.c (show_info): Decode wordarray elements.
53544         * locale/categories.def (LC_MONETARY): Add element for
53545         _NL_MONETARY_CRNCYSTR.
53546         * locale/C-monetary.c (conversion_rate): New variable.
53547         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53548         element.
53550 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53552         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53553         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53555 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53557         * elf/Makefile (tst-auxv): New test.
53558         * elf/tst-auxv.c: New
53559         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53561 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53563         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53564         (hidden_proto): Caller changed.
53565         (hidden_tls_proto): New macro.
53566         (libc_hidden_tls_proto): Likewise.
53567         (rtld_hidden_tls_proto): Likewise.
53568         (libm_hidden_tls_proto): Likewise.
53569         (libresolv_hidden_tls_proto): Likewise.
53570         (librt_hidden_tls_proto): Likewise.
53571         (libdl_hidden_tls_proto): Likewise.
53572         (libnss_files_hidden_tls_proto): Likewise.
53573         (libnsl_hidden_tls_proto): Likewise.
53574         (libnss_nisplus_hidden_tls_proto): Likewise.
53575         (libutil_hidden_tls_proto): Likewise.
53577 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53579         [BZ #10253]
53580         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53581         (decompose_rpath): Defer expansion to fillin_rpath.
53582         (_dl_init_paths): Pass linkmap to fillin_rpath.
53584 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53586         * benchtests/Makefile: Add strsep.
53587         * benchtests/bench-strsep.c: New file: strsep benchtest.
53588         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53590 2013-11-18  Andreas Schwab  <schwab@suse.de>
53592         * locale/programs/locale.c (show_info) [case byte]: Check for
53593         '\377' instead of '\177'.
53594         * locale/C-monetary.c (not_available): Always use "\377".
53595         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53596         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53597         detect unavailable sign_posn locale elements.
53598         * locale/localeconv.c (__localeconv): For grouping and
53599         mon_grouping handle "\177" and "\377" like no grouping.
53600         (INT_ELEM): New macro.  Use it to set all numeric members.
53601         * locale/programs/ld-monetary.c (monetary_read)
53602         <tok_mon_grouping>: Normalize single -1 to the empty string.
53603         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53604         Likewise.
53606 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53608         [BZ #16055]
53609         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53610         when we match (nil).
53611         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53613 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53615         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53616         (NO_TEST_INLINE): Update value.
53617         (ERRNO_UNCHANGED): Likewise.
53618         (ERRNO_EDOM): Likewise.
53619         (ERRNO_ERANGE): Likewise.
53620         (IGNORE_RESULT): Likewise.
53621         (check_float_internal): Check signs of NaN results if
53622         TEST_NAN_SIGN used.
53623         (check_complex): Pass TEST_NAN_SIGN flag through to second
53624         check_float_internal call.
53625         (copysign_test_data): Add tests with quiet NaNs as second
53626         argument.  Use TEST_NAN_SIGN.
53627         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53628         TEST_NAN_SIGN.
53629         (signbit_test_data): Add tests of quiet NaN argument.
53630         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53632         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53633         $ignore_result.
53634         (parse_args): Handle function results specified as IGNORE.
53635         * math/libm-test.inc (IGNORE_RESULT): New macro.
53636         (check_float_internal): Do not check numerical result if flag
53637         IGNORE_RESULT set.
53638         (check_complex): Pass through IGNORE_RESULT to second
53639         check_float_internal call.
53640         (check_int): Do not check numerical result if flag IGNORE_RESULT
53641         set.
53642         (check_long): Likewise.
53643         (check_bool): Likewise.
53644         (check_longlong): Likewise.
53645         (lrint_test_data): Add tests of infinite and NaN arguments.
53646         (lrint_tonearest_test_data): Likewise.
53647         (lrint_towardzero_test_data): Likewise.
53648         (lrint_downward_test_data): Likewise.
53649         (lrint_upward_test_data): Likewise.
53650         (llrint_test_data): Likewise.
53651         (llrint_tonearest_test_data): Likewise.
53652         (llrint_towardzero_test_data): Likewise.
53653         (llrint_downward_test_data): Likewise.
53654         (llrint_upward_test_data): Likewise.
53655         (lround_test_data): Likewise.
53656         (llround_test_data): Likewise.
53658         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53659         (ERRNO_UNCHANGED): Update value.
53660         (ERRNO_EDOM): Likewise.
53661         (ERRNO_ERANGE): Likewise.
53662         (NO_TEST_INLINE_FLOAT): New macro.
53663         (NO_TEST_INLINE_DOUBLE): Likewise.
53664         (enable_test): New function.
53665         (RUN_TEST_f_f): Check enable_test before running test.
53666         (RUN_TEST_2_f): Likewise.
53667         (RUN_TEST_fff_f): Likewise.
53668         (RUN_TEST_c_f): Likewise.
53669         (RUN_TEST_f_f1): Likewise.
53670         (RUN_TEST_fF_f1): Likewise.
53671         (RUN_TEST_fI_f1): Likewise.
53672         (RUN_TEST_ffI_f1): Likewise.
53673         (RUN_TEST_c_c): Likewise.
53674         (RUN_TEST_cc_c): Likewise.
53675         (RUN_TEST_f_i): Likewise.
53676         (RUN_TEST_f_i_tg): Likewise.
53677         (RUN_TEST_ff_i_tg): Likewise.
53678         (RUN_TEST_f_b): Likewise.
53679         (RUN_TEST_f_b_tg): Likewise.
53680         (RUN_TEST_f_l): Likewise.
53681         (RUN_TEST_f_L): Likewise.
53682         (RUN_TEST_fFF_11): Likewise.
53683         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53684         conditionals.
53685         (cosh_test_data): Likewise.
53686         (exp_test_data): Likewise.
53687         (expm1_test_data): Likewise.
53688         (hypot_test_data): Likewise.
53689         (pow_test_data): Likewise.
53690         (sinh_test_data): Likewise.
53691         (tanh_test_data): Likewise.
53692         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53693         flags argument.
53695         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53696         tests with quiet NaN input and output.
53697         (acosh_test_data): Likewise.
53698         (asin_test_data): Likewise.
53699         (asinh_test_data): Likewise.
53700         (atan_test_data): Likewise.
53701         (atanh_test_data): Likewise.
53702         (atan2_test_data): Likewise.
53703         (cbrt_test_data): Likewise.
53704         (cos_test_data): Likewise.
53705         (cosh_test_data): Likewise.
53706         (erf_test_data): Likewise.
53707         (erfc_test_data): Likewise.
53708         (exp_test_data): Likewise.
53709         (exp10_test_data): Likewise.
53710         (exp2_test_data): Likewise.
53711         (expm1_test_data): Likewise.
53712         (hypot_test_data): Likewise.
53713         (j0_test_data): Likewise.
53714         (j1_test_data): Likewise.
53715         (jn_test_data): Likewise.
53716         (lgamma_test_data): Likewise.
53717         (log_test_data): Likewise.
53718         (log10_test_data): Likewise.
53719         (log1p_test_data): Likewise.
53720         (log2_test_data): Likewise.
53721         (pow_test_data): Likewise.
53722         (scalb_test_data): Likewise.
53723         (sin_test_data): Likewise.
53724         (sincos_test_data): Likewise.
53725         (sinh_test_data): Likewise.
53726         (tan_test_data): Likewise.
53727         (tanh_test_data): Likewise.
53728         (tgamma_test_data): Likewise.
53729         (y0_test_data): Likewise.
53730         (y1_test_data): Likewise.
53731         (yn_test_data): Likewise.
53733         [BZ #16167]
53734         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
53735         argument being NaN and avoid computations with second argument in
53736         that case.
53737         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
53738         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
53739         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
53741 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
53743         * locale/iso-639.def: Add Chitwani Tharu (the).
53745 2013-11-14  Andreas Schwab  <schwab@suse.de>
53747         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
53748         word instead of empty string.
53750 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53753         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
53754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53755         (__fe_nomask_env): Likewise.
53757 2013-11-13  Steve Ellcey  <sellcey@mips.com>
53759         * benchtests/bench-timing.h: Include time.h.
53761 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
53763         [BZ #15997]
53764         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
53765         to 3.4.0 for x32.
53766         * sysdeps/unix/sysv/linux/configure: Regenerated.
53768 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
53770         [BZ #16151]
53771         * stdlib/strtod_l.c (round_and_return): Do not consider
53772         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
53773         exponent one less than half the least subnormal exponent.
53774         * stdlib/test-strtod-round-data: Add more tests.
53775         * stdlib/tst-strtod-round.c (tests): Regenerated.
53777 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53779         [BZ #14143]
53780         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
53781         (__fe_mask_env): Likewise.
53782         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53783         libm_hidden_proto and add function prototype.
53784         (__fe_mask_env): Add function prototype.
53785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53786         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
53787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
53788         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
53789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53790         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
53792 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53794         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
53795         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
53797 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53799         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
53800         of htab_find_slot().
53802 2013-11-11  David S. Miller  <davem@davemloft.net>
53804         [BZ #16150]
53805         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
53806         symbol in the non-vis3 case in static builds.
53807         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
53808         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
53809         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
53810         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
53812 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
53814         [BZ #387]
53815         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
53816         it is empty.
53818 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53820         * benchtests/Makefile: Add bench-strtod.
53821         * benchtests/bench-strtod.c: New file: strtod benchtest
53823 2013-11-11  Andreas Schwab  <schwab@suse.de>
53825         [BZ #16153]
53826         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
53827         terminating NUL in key length.
53829 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53832         Add artificial ODP entry for vDSO symbol for PPC64.
53833         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
53834         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
53836 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53838         [BZ #15374]
53839         * nss/getent.c (services_keys): Recognize services starting with digit.
53841 2013-11-06  David S. Miller  <davem@davemloft.net>
53843         [BZ #15985]
53844         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
53845         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
53847 2013-11-06  Will Newton  <will.newton@linaro.org>
53849         * manual/memory.texi (Malloc Examples): Remove register
53850         keyword from examples.
53852 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
53854         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
53856 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
53858         [BZ #6981]
53859         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
53860         depending on [__GCC_IEC_559 > 0].
53861         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
53862         depending on [__GCC_IEC_559_COMPLEX > 0].
53864 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
53866         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
53867         to iso-639.def.
53869 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
53871         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
53873 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
53875         [BZ #16112]
53876         * malloc/malloc (malloc_info): Do not handle first bin as
53877         special case.
53879 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
53881         * locale/iso-639.def: Add Central Nahuatl (nhn).
53883 2013-11-01  Bruno Haible  <bruno@clisp.org>
53885         [BZ #7003]
53886         * manual/math.texi (BSD Random): Specify range upper bound as
53887         in POSIX.
53889 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
53891         * locale/iso-639.def: Add Meadow Mari (mhr).
53893 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
53895         [BZ #14752], [BZ #15763]
53896         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
53897         Validate name.
53898         * rt/tst_shm.c: Add test for escaping directory.
53900 2013-10-31  Andreas Schwab  <schwab@suse.de>
53902         [BZ #15917]
53903         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
53904         followed by 'x' as part of digit sequence.
53905         * stdio-common/tst-sscanf.c (double_tests2): New tests.
53907 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
53909         [BZ #16037]
53910         * configure.ac: allow GNU Make 4.0 and greater.
53911         * configure: Regenerated.
53913 2013-10-30  Will Newton  <will.newton@linaro.org>
53915         [BZ #16038]
53916         * malloc/hooks.c (memalign_check): Limit alignment to the
53917         maximum representable power of two.
53918         * malloc/malloc.c (__libc_memalign): Likewise.
53919         * malloc/tst-memalign.c (do_test): Add test for very
53920         large alignment values.
53921         * malloc/tst-posix_memalign.c (do_test): Likewise.
53923 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53925         [BZ #11087]
53926         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
53927         (munmap_chunk): Likewise.
53928         (mremap_chunk): Likewise.
53930 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
53932         [BZ #15799]
53933         * stdlib/div.c (div): Remove obsolete code.
53934         * stdlib/ldiv.c (ldiv): Likewise.
53935         * stdlib/lldiv.c (lldiv): Likewise.
53937 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53939         [BZ #16071]
53940         * nss/nss_files/files-XXX.c (get_contents_ret): New
53941         enumerator.
53942         (get_contents): New function.
53943         (internal_getent): Use it.  Expand size of LINEBUFLEN.
53945 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
53947         * configure.in: Moved to ...
53948         * configure.ac: ... here. Change reference to configure.in
53949         to configure.ac.
53950         * sysdeps/arm/preconfigure.ac: ... here.
53951         configure.in to configure.ac.
53952         * sysdeps/gnu/configure.in: Moved to ...
53953         * sysdeps/gnu/configure.ac: ... here.
53954         * sysdeps/i386/configure.in: Moved to ...
53955         * sysdeps/i386/configure.ac: ... here.
53956         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
53957         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
53958         * sysdeps/mach/configure.in: Moved to ...
53959         * sysdeps/mach/configure.ac: ... here.
53960         * sysdeps/mach/hurd/configure.in: Moved to ...
53961         * sysdeps/mach/hurd/configure.ac: ... here.
53962         * sysdeps/powerpc/configure.in: Moved to ...
53963         * sysdeps/powerpc/configure.ac: ... here.
53964         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
53965         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
53966         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
53967         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
53968         * sysdeps/s390/s390-32/configure.in: Moved to ...
53969         * sysdeps/s390/s390-32/configure.ac: ... here.
53970         * sysdeps/s390/s390-64/configure.in: Moved to ...
53971         * sysdeps/s390/s390-64/configure.ac: ... here.
53972         * sysdeps/sh/configure.in: Moved to ...
53973         * sysdeps/sh/configure.ac: ... here.
53974         * sysdeps/sparc/configure.in: Moved to ...
53975         * sysdeps/sparc/configure.ac: ... here.
53976         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
53977         * sysdeps/unix/sysv/linux/configure.ac: ... here.
53978         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
53979         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
53980         * sysdeps/x86_64/configure.in: Moved to ...
53981         * sysdeps/x86_64/configure.ac: ... here.
53982         * sysdeps/x86_64/preconfigure.in: Moved to ...
53983         * sysdeps/x86_64/preconfigure.ac: ... here.
53984         * aclocal.m4: Change reference to configure.in to configure.ac.
53985         * config.h.in: Likewise.
53986         * manual/install.texi: Likewise.
53987         * manual/maint.texi: Likewise.
53988         * Makefile: Likewise.
53989         * malloc/Makefile: Likewise.
53990         * nscd/Makefile: Likewise.
53991         * Makeconfig: Change reference to configure.in and
53992         preconfigure.in to configure.ac and preconfigure.ac
53993         respectively.
53994         * INSTALL: Regenerated.
53995         * configure: Likewise.
53996         * sysdeps/gnu/configure: Likewise.
53997         * sysdeps/i386/configure: Likewise.
53998         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
53999         * sysdeps/mach/configure: Likewise.
54000         * sysdeps/mach/hurd/configure: Likewise.
54001         * sysdeps/powerpc/configure: Likewise.
54002         * sysdeps/powerpc/powerpc32/configure: Likewise.
54003         * sysdeps/powerpc/powerpc64/configure: Likewise.
54004         * sysdeps/s390/s390-32/configure: Likewise.
54005         * sysdeps/s390/s390-64/configure: Likewise.
54006         * sysdeps/sh/configure: Likewise.
54007         * sysdeps/sparc/configure: Likewise.
54008         * sysdeps/unix/sysv/linux/configure: Likewise.
54009         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54010         * sysdeps/x86_64/configure: Likewise.
54011         * sysdeps/x86_64/preconfigure: Likewise.
54013 2013-10-29  Andreas Schwab  <schwab@suse.de>
54015         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54017 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54019         * benchtests/pow-inputs: Add new inputs.
54021         * benchtests/exp-inputs: Add new inputs.
54023         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54024         conditional check for return value.
54025         (__cos32): Likewise.
54027 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54029         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54030         to provide a boost for large inputs with word alignment.
54031         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54032         implementation based on optimized PPC64 strcpy.
54033         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54034         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54035         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54036         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54038 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54040         [BZ #2801]
54041         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54043 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54045         [BZ #14876]
54046         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54047         * time/tst-strptime.c (day_tests): Add testcase.
54049 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54051         [BZ #14029]
54052         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54054 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54056         [BZ #16074]
54057         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54058         MAP_FAILED on error.
54060 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54062         [BZ #16072]
54063         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54064         heap for large requests.
54066 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54068         [BZ #9954]
54069         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54070         result if the result has no associated interface.
54071         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54072         interface for all 127.X.Y.Z addresses.
54074 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54076         * locale/iso-639.def: Add Ligurian (lij)
54078 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54080         [BZ #15825]
54081         * sunrpc/rpc_main.c: Document rpcgen -5.
54083 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54085         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54087 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54089         [BZ #10278]
54090         * posix/glob.c: Match only directories when trailing slash is present.
54091         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54092         (main): Add testcase.
54094 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54096         [BZ #15670]
54097         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54099 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54101         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54102         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54103         AUTH_DES and cindex for FIPS 140-2.
54104         (DES Encryption): Add cindex FIPS 46-3.
54106         * locale/locarchive.h (struct locarhandle): Add fname.
54107         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54108         if an optional argument was specified to --list-archive,
54109         otherwise NULL.
54110         * locale/programs/locarchive.c (show_archive_content): Take new
54111         argument fname and pass it via ah.fname to open_archive.
54112         * locale/programs/localedef.h: Update decl.
54113         (open_archive): If AH->fname is non-null, open that file
54114         rather than the default file name, and don't ignore ENOENT.
54115         (create_archive): Set AH.fname to NULL.
54116         (delete_locales_from_archive): Likewise.
54117         (add_locales_to_archive): Likewise.
54118         * locale/programs/locfile.c (write_all_categories): Likewise.
54120 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54121             Aldy Hernandez  <aldyh@redhat.com>
54123         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54124         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54125         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54126         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54127         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54128         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54129         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54130         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54131         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54132         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54133         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54134         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54135         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54136         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54137         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54138         Likewise.
54139         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54140         Likewise.
54141         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54142         Likewise.
54143         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54144         Likewise.
54145         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54146         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54147         Likewise.
54148         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54149         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54150         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54151         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54152         Likewise.
54153         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54154         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54155         * sysdeps/powerpc/preconfigure: Likewise.
54156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54157         Likewise.
54158         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54159         Replace contents of file by #include of <fenv_libc.h>.
54160         * sysdeps/powerpc/soft-fp/sfp-machine.h
54161         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54162         and <sys/prctl.h>.
54163         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54164         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54165         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54171         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54174         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54176         Allow copysignl PLT reference to be missing.
54178 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54179             Joseph Myers  <joseph@codesourcery.com
54181         [BZ #15948]
54182         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54183         single character.
54184         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54186 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54188         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54189         * elf/tst-tls1.c: Likewise.
54190         * elf/tst-tls10.h: Likewise.
54191         * elf/tst-tls14.c: Likewise.
54192         * elf/tst-tls2.c: Likewise.
54193         * elf/tst-tls3.c: Likewise.
54194         * elf/tst-tls4.c: Likewise.
54195         * elf/tst-tls5.c: Likewise.
54196         * elf/tst-tls6.c: Likewise.
54197         * elf/tst-tls7.c: Likewise.
54198         * elf/tst-tls8.c: Likewise.
54199         * elf/tst-tls9.c: Likewise.
54200         * elf/tst-tlsmod1.c: Likewise.
54201         * elf/tst-tlsmod13.c: Likewise.
54202         * elf/tst-tlsmod13a.c: Likewise.
54203         * elf/tst-tlsmod14a.c: Likewise.
54204         * elf/tst-tlsmod16a.c: Likewise.
54205         * elf/tst-tlsmod16b.c: Likewise.
54206         * elf/tst-tlsmod2.c: Likewise.
54207         * elf/tst-tlsmod3.c: Likewise.
54208         * elf/tst-tlsmod4.c: Likewise.
54209         * elf/tst-tlsmod5.c: Likewise.
54210         * elf/tst-tlsmod6.c: Likewise.
54212 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54214         [BZ #12486]
54215         * malloc/malloc.c: remove checks for statistics.
54217 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54219         [BZ #15277]
54220         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54221         * inet/tst-network.c: Add testcase.
54223 2013-10-17  Andreas Schwab  <schwab@suse.de>
54225         [BZ #15218]
54226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54227         to determine canonical name.
54229 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54231         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54232         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54233         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54234         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54235         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54236         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54237         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54238         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54239         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54240         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54241         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54242         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54243         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54244         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54245         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54246         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54248         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54249         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54250         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54251         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54252         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54253         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54254         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54255         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54256         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54257         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54258         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54259         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54260         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54261         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54262         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54263         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54264         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54265         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54266         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54267         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54268         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54269         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54270         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54271         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54272         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54273         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54274         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54275         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54276         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54277         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54278         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54279         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54280         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54281         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54282         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54283         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54284         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54285         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54286         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54287         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54288         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54290 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54292         [BZ #16041]
54293         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54294         make result into a quiet NaN.
54296 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54298         * soft-fp/adddf3.c: Fix horizontal whitespace.
54299         * soft-fp/addsf3.c: Likewise.
54300         * soft-fp/addtf3.c: Likewise.
54301         * soft-fp/divdf3.c: Likewise.
54302         * soft-fp/divsf3.c: Likewise.
54303         * soft-fp/divtf3.c: Likewise.
54304         * soft-fp/double.h: Likewise.
54305         * soft-fp/eqdf2.c: Likewise.
54306         * soft-fp/eqsf2.c: Likewise.
54307         * soft-fp/eqtf2.c: Likewise.
54308         * soft-fp/extenddftf2.c: Likewise.
54309         * soft-fp/extended.h: Likewise.
54310         * soft-fp/extendsfdf2.c: Likewise.
54311         * soft-fp/extendsftf2.c: Likewise.
54312         * soft-fp/extendxftf2.c: Likewise.
54313         * soft-fp/fixdfdi.c: Likewise.
54314         * soft-fp/fixdfsi.c: Likewise.
54315         * soft-fp/fixdfti.c: Likewise.
54316         * soft-fp/fixsfdi.c: Likewise.
54317         * soft-fp/fixsfsi.c: Likewise.
54318         * soft-fp/fixsfti.c: Likewise.
54319         * soft-fp/fixtfdi.c: Likewise.
54320         * soft-fp/fixtfsi.c: Likewise.
54321         * soft-fp/fixtfti.c: Likewise.
54322         * soft-fp/fixunsdfdi.c: Likewise.
54323         * soft-fp/fixunsdfsi.c: Likewise.
54324         * soft-fp/fixunsdfti.c: Likewise.
54325         * soft-fp/fixunssfdi.c: Likewise.
54326         * soft-fp/fixunssfsi.c: Likewise.
54327         * soft-fp/fixunssfti.c: Likewise.
54328         * soft-fp/fixunstfdi.c: Likewise.
54329         * soft-fp/fixunstfsi.c: Likewise.
54330         * soft-fp/fixunstfti.c: Likewise.
54331         * soft-fp/floatdidf.c: Likewise.
54332         * soft-fp/floatdisf.c: Likewise.
54333         * soft-fp/floatditf.c: Likewise.
54334         * soft-fp/floatsidf.c: Likewise.
54335         * soft-fp/floatsisf.c: Likewise.
54336         * soft-fp/floatsitf.c: Likewise.
54337         * soft-fp/floattidf.c: Likewise.
54338         * soft-fp/floattisf.c: Likewise.
54339         * soft-fp/floattitf.c: Likewise.
54340         * soft-fp/floatundidf.c: Likewise.
54341         * soft-fp/floatundisf.c: Likewise.
54342         * soft-fp/floatunditf.c: Likewise.
54343         * soft-fp/floatunsidf.c: Likewise.
54344         * soft-fp/floatunsisf.c: Likewise.
54345         * soft-fp/floatunsitf.c: Likewise.
54346         * soft-fp/floatuntidf.c: Likewise.
54347         * soft-fp/floatuntisf.c: Likewise.
54348         * soft-fp/floatuntitf.c: Likewise.
54349         * soft-fp/fmadf4.c: Likewise.
54350         * soft-fp/fmasf4.c: Likewise.
54351         * soft-fp/fmatf4.c: Likewise.
54352         * soft-fp/gedf2.c: Likewise.
54353         * soft-fp/gesf2.c: Likewise.
54354         * soft-fp/getf2.c: Likewise.
54355         * soft-fp/ledf2.c: Likewise.
54356         * soft-fp/lesf2.c: Likewise.
54357         * soft-fp/letf2.c: Likewise.
54358         * soft-fp/muldf3.c: Likewise.
54359         * soft-fp/mulsf3.c: Likewise.
54360         * soft-fp/multf3.c: Likewise.
54361         * soft-fp/negdf2.c: Likewise.
54362         * soft-fp/negsf2.c: Likewise.
54363         * soft-fp/negtf2.c: Likewise.
54364         * soft-fp/op-1.h: Likewise.
54365         * soft-fp/op-2.h: Likewise.
54366         * soft-fp/op-4.h: Likewise.
54367         * soft-fp/op-8.h: Likewise.
54368         * soft-fp/op-common.h: Likewise.
54369         * soft-fp/quad.h: Likewise.
54370         * soft-fp/single.h: Likewise.
54371         * soft-fp/soft-fp.h: Likewise.
54372         * soft-fp/sqrtdf2.c: Likewise.
54373         * soft-fp/sqrtsf2.c: Likewise.
54374         * soft-fp/sqrttf2.c: Likewise.
54375         * soft-fp/subdf3.c: Likewise.
54376         * soft-fp/subsf3.c: Likewise.
54377         * soft-fp/subtf3.c: Likewise.
54378         * soft-fp/truncdfsf2.c: Likewise.
54379         * soft-fp/trunctfdf2.c: Likewise.
54380         * soft-fp/trunctfsf2.c: Likewise.
54381         * soft-fp/trunctfxf2.c: Likewise.
54382         * soft-fp/unorddf2.c: Likewise.
54383         * soft-fp/unordsf2.c: Likewise.
54384         * soft-fp/unordtf2.c: Likewise.
54386 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54388         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54389         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54391 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54393         * elf/dl-libc.c: Clear initfini list after freeing.
54395 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54397         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54398         * soft-fp/addsf3.c: Likewise.
54399         * soft-fp/addtf3.c: Likewise.
54400         * soft-fp/divdf3.c: Likewise.
54401         * soft-fp/divsf3.c: Likewise.
54402         * soft-fp/divtf3.c: Likewise.
54403         * soft-fp/double.h: Likewise.
54404         * soft-fp/eqdf2.c: Likewise.
54405         * soft-fp/eqsf2.c: Likewise.
54406         * soft-fp/eqtf2.c: Likewise.
54407         * soft-fp/extenddftf2.c: Likewise.
54408         * soft-fp/extended.h: Likewise.
54409         * soft-fp/extendsfdf2.c: Likewise.
54410         * soft-fp/extendsftf2.c: Likewise.
54411         * soft-fp/extendxftf2.c: Likewise.
54412         * soft-fp/fixdfdi.c: Likewise.
54413         * soft-fp/fixdfsi.c: Likewise.
54414         * soft-fp/fixdfti.c: Likewise.
54415         * soft-fp/fixsfdi.c: Likewise.
54416         * soft-fp/fixsfsi.c: Likewise.
54417         * soft-fp/fixsfti.c: Likewise.
54418         * soft-fp/fixtfdi.c: Likewise.
54419         * soft-fp/fixtfsi.c: Likewise.
54420         * soft-fp/fixtfti.c: Likewise.
54421         * soft-fp/fixunsdfdi.c: Likewise.
54422         * soft-fp/fixunsdfsi.c: Likewise.
54423         * soft-fp/fixunsdfti.c: Likewise.
54424         * soft-fp/fixunssfdi.c: Likewise.
54425         * soft-fp/fixunssfsi.c: Likewise.
54426         * soft-fp/fixunssfti.c: Likewise.
54427         * soft-fp/fixunstfdi.c: Likewise.
54428         * soft-fp/fixunstfsi.c: Likewise.
54429         * soft-fp/fixunstfti.c: Likewise.
54430         * soft-fp/floatdidf.c: Likewise.
54431         * soft-fp/floatdisf.c: Likewise.
54432         * soft-fp/floatditf.c: Likewise.
54433         * soft-fp/floatsidf.c: Likewise.
54434         * soft-fp/floatsisf.c: Likewise.
54435         * soft-fp/floatsitf.c: Likewise.
54436         * soft-fp/floattidf.c: Likewise.
54437         * soft-fp/floattisf.c: Likewise.
54438         * soft-fp/floattitf.c: Likewise.
54439         * soft-fp/floatundidf.c: Likewise.
54440         * soft-fp/floatundisf.c: Likewise.
54441         * soft-fp/floatunsidf.c: Likewise.
54442         * soft-fp/floatunsisf.c: Likewise.
54443         * soft-fp/floatuntidf.c: Likewise.
54444         * soft-fp/floatuntisf.c: Likewise.
54445         * soft-fp/floatuntitf.c: Likewise.
54446         * soft-fp/fmadf4.c: Likewise.
54447         * soft-fp/fmasf4.c: Likewise.
54448         * soft-fp/fmatf4.c: Likewise.
54449         * soft-fp/gedf2.c: Likewise.
54450         * soft-fp/gesf2.c: Likewise.
54451         * soft-fp/getf2.c: Likewise.
54452         * soft-fp/ledf2.c: Likewise.
54453         * soft-fp/lesf2.c: Likewise.
54454         * soft-fp/letf2.c: Likewise.
54455         * soft-fp/muldf3.c: Likewise.
54456         * soft-fp/mulsf3.c: Likewise.
54457         * soft-fp/multf3.c: Likewise.
54458         * soft-fp/negdf2.c: Likewise.
54459         * soft-fp/negsf2.c: Likewise.
54460         * soft-fp/negtf2.c: Likewise.
54461         * soft-fp/op-1.h: Likewise.
54462         * soft-fp/op-2.h: Likewise.
54463         * soft-fp/op-4.h: Likewise.
54464         * soft-fp/op-8.h: Likewise.
54465         * soft-fp/op-common.h: Likewise.
54466         * soft-fp/quad.h: Likewise.
54467         * soft-fp/single.h: Likewise.
54468         * soft-fp/soft-fp.h: Likewise.
54469         * soft-fp/sqrtdf2.c: Likewise.
54470         * soft-fp/sqrtsf2.c: Likewise.
54471         * soft-fp/sqrttf2.c: Likewise.
54472         * soft-fp/subdf3.c: Likewise.
54473         * soft-fp/subsf3.c: Likewise.
54474         * soft-fp/subtf3.c: Likewise.
54475         * soft-fp/truncdfsf2.c: Likewise.
54476         * soft-fp/trunctfdf2.c: Likewise.
54477         * soft-fp/trunctfsf2.c: Likewise.
54478         * soft-fp/trunctfxf2.c: Likewise.
54479         * soft-fp/unorddf2.c: Likewise.
54480         * soft-fp/unordsf2.c: Likewise.
54481         * soft-fp/unordtf2.c: Likewise.
54483 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54485         [BZ #15672]
54486         * misc/error.c (error_tail): Fix possible buffer overflow.
54488 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54490         [BZ #13028]
54491         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54492         address.
54494 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54496         [BZ #832]
54497         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54498         testing pipefail option.
54500 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54502         * soft-fp/double.h: Indent preprocessor directives inside #if.
54503         * soft-fp/extended.h: Likewise.
54504         * soft-fp/op-2.h: Likewise.
54505         * soft-fp/op-4.h: Likewise.
54506         * soft-fp/op-common.h: Likewise.
54507         * soft-fp/quad.h: Likewise.
54508         * soft-fp/single.h: Likewise.
54509         * soft-fp/soft-fp.h: Likewise.
54511 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54513         * iconv/iconv_prog.c: Fix typos.
54514         * stdio-common/psiginfo-data.h: Likewise.
54516 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54518         [BZ #15764]
54519         * locale/setlocale.c: Fix typo.
54521 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #16036]
54524         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54525         signaling NaN arguments.
54526         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54527         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54529         [BZ #14910]
54530         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54531         unordered operands.
54532         * soft-fp/gesf2.c (__gesf2): Likewise.
54533         * soft-fp/getf2.c (__getf2): Likewise.
54534         * soft-fp/ledf2.c (__ledf2): Likewise.
54535         * soft-fp/lesf2.c (__lesf2): Likewise.
54536         * soft-fp/letf2.c (__letf2): Likewise.
54538         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54539         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54540         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54541         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54542         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54543         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54544         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54545         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54546         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54547         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54548         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54549         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54550         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54551         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54552         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54553         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54554         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54555         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54556         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54557         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54558         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54559         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54560         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54561         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54562         * soft-fp/floattidf.c (__floattidf): Likewise.
54563         * soft-fp/floattisf.c (__floattisf): Likewise.
54564         * soft-fp/floattitf.c (__floattitf): Likewise.
54565         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54566         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54567         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54568         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54569         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54570         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54571         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54572         * soft-fp/gesf2.c (__gesf2): Likewise.
54573         * soft-fp/getf2.c (__getf2): Likewise.
54574         * soft-fp/ledf2.c (__ledf2): Likewise.
54575         * soft-fp/lesf2.c (__lesf2): Likewise.
54576         * soft-fp/letf2.c (__letf2): Likewise.
54578         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54579         Undefine and redefine.
54580         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54581         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54582         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54583         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54584         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54585         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54586         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54587         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54588         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54589         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54590         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54591         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54592         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54593         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54594         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54596         [BZ #16032]
54597         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54598         without decrementing exponent if mantissa >= that for the
54599         denominator, not >.
54600         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54601         denominator, not >.  Decrement exponent in < case instead of
54602         incrementing in >= case.
54603         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54604         without decrementing exponent if mantissa >= that for the
54605         denominator, not >.
54607         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54608         computing saturated result for unsigned overflow.
54610 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54611             Jeff Law  <law@redhat.com>
54613         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54614         (atan2Mp): Add systemtap probe marker.
54615         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54616         (__ieee754_log): Add systemtap probe marker.
54617         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54618         (atanMp): Add systemtap probe marker.
54619         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54620         (tanMp): Add systemtap probe marker.
54621         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54622         (__slowexp): Add systemtap probe marker.
54623         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54624         (__slowpow): Add systemtap probe marker.
54625         * manual/probes.texi: Document probes.
54627 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54629         [BZ #15362]
54630         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54631         written.
54632         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54633         written.
54634         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54635         written to buffer but not flushed.
54636         * libio/iofwrite_u.c:  Likewise.
54637         * libio/iopadn.c:  Return bytes returned even if EOF was
54638         encountered.
54639         * libio/iowpadn.c:  Likewise.
54640         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54641         if _IO_padn does not write the whole buffer.
54642         [!COMPILE_WPRINTF] (PAD): Likewise.
54644 2013-10-10  David S. Miller  <davem@davemloft.net>
54646         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54647         directory block.
54649 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54651         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54652         instead of FSF address.
54653         * soft-fp/fixdfti.c: Likewise.
54654         * soft-fp/fixsfti.c: Likewise.
54655         * soft-fp/fixtfti.c: Likewise.
54656         * soft-fp/fixunsdfti.c: Likewise.
54657         * soft-fp/fixunssfti.c: Likewise.
54658         * soft-fp/fixunstfti.c: Likewise.
54659         * soft-fp/floattidf.c: Likewise.
54660         * soft-fp/floattisf.c: Likewise.
54661         * soft-fp/floattitf.c: Likewise.
54662         * soft-fp/floatuntidf.c: Likewise.
54663         * soft-fp/floatuntisf.c: Likewise.
54664         * soft-fp/floatuntitf.c: Likewise.
54665         * soft-fp/trunctfxf2.c: Likewise.
54667         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54668         * soft-fp/fixdfti.c: Likewise.
54669         * soft-fp/fixsfti.c: Likewise.
54670         * soft-fp/fixtfti.c: Likewise.
54671         * soft-fp/fixunsdfti.c: Likewise.
54672         * soft-fp/fixunssfti.c: Likewise.
54673         * soft-fp/fixunstfti.c: Likewise.
54674         * soft-fp/floattidf.c: Likewise.
54675         * soft-fp/floattisf.c: Likewise.
54676         * soft-fp/floattitf.c: Likewise.
54677         * soft-fp/floatuntidf.c: Likewise.
54678         * soft-fp/floatuntisf.c: Likewise.
54679         * soft-fp/floatuntitf.c: Likewise.
54680         * soft-fp/trunctfxf2.c: Likewise.
54682 2013-10-10  David S. Miller  <davem@davemloft.net>
54684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54686 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54688         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54689         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54690         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54691         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54692         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54693         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54694         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54696         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54697         for NaNs before doing comparisons on argument.
54698         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54699         Likewise.
54701 2013-10-10  Will Newton  <will.newton@linaro.org>
54703         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54704         passed to _int_memalign does not overflow.
54706 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54708         * scripts/bench.pl: Add include-sources directive.
54709         * benchtests/README: Update documentation.
54711 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54713         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54714         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54715         instead of FP_INIT_ROUNDMODE.
54716         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54717         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
54719         [BZ #16034]
54720         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
54721         copy class of input value.
54722         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
54723         not handle exceptions.
54724         * soft-fp/negsf2.c (__negsf2): Likewise.
54725         * soft-fp/negtf2.c (__negtf2): Likewise.
54726         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
54728 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
54730         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
54731         semicolon.  From Linux kernel.
54733 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
54735         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
54737 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
54739         [BZ #156]
54740         * manual/socket.texi: Added statement about buffer
54741         for gethostbyname2_r.
54743 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
54745         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
54746         Use .p2align directive instead, throughout.
54747         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54748         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
54749         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
54750         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54752         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
54753         * sysdeps/x86_64/strchr.S: Likewise.
54754         * sysdeps/x86_64/strrchr.S: Likewise.
54756 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54758         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
54760         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
54762         * sysdeps/generic/math_private.h (__mpsin1): Remove
54763         declaration.
54764         (__mpcos1): Likewise.
54765         (__mpsin): New argument __range_reduce.
54766         (__mpcos): Likewise.
54767         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54768         (slow): Use __mpsin and __mpcos.
54769         (slow1): Likewise.
54770         (slow2): Likewise.
54771         (sloww): Likewise.
54772         (sloww1): Likewise.
54773         (sloww2): Likewise.
54774         (bsloww): Likewise.
54775         (bsloww1): Likewise.
54776         (bsloww2): Likewise.
54777         (cslow2): Likewise.
54778         (csloww): Likewise.
54779         (csloww1): Likewise.
54780         (csloww2): Likewise.
54781         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
54782         range_reduce.  Merge in __mpsin1.
54783         (__mpcos): Likewise.
54784         (__mpsin1): Remove.
54785         (__mpcos1): Likewise.
54787 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
54789         * locale/loadlocale.c (_nl_intern_locale_data): Use
54790         LOCFILE_ALIGNED_P.
54791         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
54792         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
54793         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
54794         obstack data is appropriately aligned.
54795         (obstack_int32_grow_fast): Likewise.
54796         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
54797         * locale/programs/locfile.c (add_locale_uint32): Likewise.
54798         (add_locale_uint32_array): Likewise.
54800 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54802         * benchtests/Makefile: Remove ARGLIST and RET variables.
54803         ($(objpfx)bench-%.c): Pass only function name to the script.
54804         * benchtests/README: Update documentation.
54805         * benchtests/acos-inputs: Add new directives.
54806         * benchtests/acosh-inputs: Likewise.
54807         * benchtests/asin-inputs: Likewise.
54808         * benchtests/asinh-inputs: Likewise.
54809         * benchtests/atan-inputs: Likewise.
54810         * benchtests/atanh-inputs: Likewise.
54811         * benchtests/cos-inputs: Likewise.
54812         * benchtests/cosh-inputs: Likewise.
54813         * benchtests/exp-inputs: Likewise.
54814         * benchtests/log-inputs: Likewise.
54815         * benchtests/pow-inputs: Likewise.
54816         * benchtests/rint-inputs: Likewise.
54817         * benchtests/sin-inputs: Likewise.
54818         * benchtests/sinh-inputs: Likewise.
54819         * benchtests/tan-inputs: Likewise.
54820         * benchtests/tanh-inputs: Likewise.
54821         * scripts/bench.pl: Add support for new directives.
54823 2013-10-07  Alan Modra  <amodra@gmail.com>
54825         * README: Fix careless merge.
54827 2013-10-05  Alan Modra  <amodra@gmail.com>
54829         * NEWS: Mention powerpc64le support and bugs fixed.
54830         * README: Both big-endian and little-endian powerpc64 supported.
54832 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54834         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
54835         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
54836         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
54837         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
54839 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
54841         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
54842         match prototype.
54844 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
54846         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
54847         Move -mhard-float appending from
54848         ports/sysdeps/powerpc/powerpc32/Makefile.
54849         [$(with-fp) = yes] (ASFLAGS): Likewise.
54850         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
54851         * sysdeps/powerpc/nofpu: Move directory from
54852         ports/sysdeps/powerpc/nofpu.
54853         * sysdeps/powerpc/soft-fp: Move directory from
54854         ports/sysdeps/powerpc/soft-fp.
54855         * sysdeps/powerpc/powerpc32/405: Move directory from
54856         ports/sysdeps/powerpc/powerpc32/405.
54857         * sysdeps/powerpc/powerpc32/440: Move directory from
54858         ports/sysdeps/powerpc/powerpc32/440.
54859         * sysdeps/powerpc/powerpc32/464: Move directory from
54860         ports/sysdeps/powerpc/powerpc32/464.
54861         * sysdeps/powerpc/powerpc32/476: Move directory from
54862         ports/sysdeps/powerpc/powerpc32/476.
54863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
54864         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
54866         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
54867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
54868         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
54869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
54870         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
54871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
54872         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
54873         * README: Update for powerpc-*-linux-gnu software floating point
54874         support in libc.
54876         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
54877         case to powerpc/powerpc32*.
54878         * sysdeps/unix/sysv/linux/configure: Regenerated.
54880         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
54881         (_FPU_MASK_OM): Define as 0x04.
54882         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
54883         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
54884         0x00c10080.
54885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
54886         0x0000003c.
54887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
54890         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54891         getcontext_e500.
54892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
54893         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
54894         setcontext_e500.
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
54896         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
54897         and setcontext_e500.
54899 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
54901         * locale/iso-3166.def: Update iso-1366.def and related occurrences
54903 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54905         * manual/threads.texi (Default Thread Attributes): Fix typo.
54907 2013-10-04  Will Newton  <will.newton@linaro.org>
54909         * malloc/Makefile: Add tst-memalign.
54910         * malloc/tst-memalign.c: New file.
54912         * malloc/tst-posix_memalign.c: Add comments.
54913         (do_test): Add comments and call free on all potentially
54914         allocated pointers. Add space after cast.
54916         * malloc/tst-pvalloc.c: Add comments.
54917         (do_test): Add comments and call free on all potentially
54918         allocated pointers. Remove duplicate check for NULL pointer.
54919         Add space after cast.
54921         * malloc/tst-valloc.c: Add comments.
54922         (do_test): Add comments and call free on all potentially
54923         allocated pointers. Remove duplicate check for NULL pointer.
54924         Add space after cast.
54926 2013-10-04  Alan Modra  <amodra@gmail.com>
54928         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54929         Use stdint types in rather than __attribute__((mode())).
54930         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54932 2013-10-04  Alan Modra  <amodra@gmail.com>
54934         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54935         Correct handling of unaligned relocs for little-endian.
54936         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54938 2013-10-04  Alan Modra  <amodra@gmail.com>
54940         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
54941         * configure: Regenerate.
54942         * nptl/shlib-versions: Powerpc*le starts at 2.18.
54943         * shlib-versions: Likewise.
54945 2013-10-04  Alan Modra  <amodra@gmail.com>
54947         * string/tester.c (test_memrchr): Increment reported test cycle.
54949 2013-10-04  Alan Modra  <amodra@gmail.com>
54951         * string/test-memcpy.c (do_one_test): When reporting errors, print
54952         string address and don't overrun end of string.
54954 2013-10-04  Alan Modra  <amodra@gmail.com>
54956         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
54957         insrdi.  Make better use of reg selection to speed exit slightly.
54958         Schedule entry path a little better.  Remove useless "are we done"
54959         checks on entry to main loop.  Handle wrapping around zero address.
54960         Correct main loop count.  Handle single left-over word from main
54961         loop inline rather than by using loop_small.  Remove extra word
54962         case in loop_small caused by wrong loop count.  Add little-endian
54963         support.
54964         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54965         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
54966         cache hint.
54967         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54968         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
54969         support.  Avoid rlwimi.
54970         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
54972 2013-10-04  Alan Modra  <amodra@gmail.com>
54974         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
54975         insrdi.  Formatting.
54976         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
54977         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
54978         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
54979         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54980         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
54981         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
54983 2013-10-04  Alan Modra  <amodra@gmail.com>
54985         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
54986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
54988         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
54989         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54990         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54991         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54992         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54993         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
54994         use of regs.  Use power7 mtocrf.  Tidy function tails.
54996 2013-10-04  Alan Modra  <amodra@gmail.com>
54998         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
54999         Formatting.  Consistently use rXXX register defines or rN defines.
55000         Use early exit labels that avoid restoring unused non-volatile regs.
55001         Make cr field use more consistent with rWORDn compares.  Rename
55002         regs used as shift registers for unaligned loop, using rN defines
55003         for short lifetime/multiple use regs.
55004         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55005         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55006         addi 1,1,64 to pop stack frame.  Simplify return value code.
55007         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55009 2013-10-04  Alan Modra  <amodra@gmail.com>
55011         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55012         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55013         rather than rlwimi.
55014         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55015         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55016         little-endian support.  Correct typos.
55017         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55018         rather than rlwimi.
55019         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55020         in loop and entry code to keep "and." results.
55021         (strchr): Add little-endian support.  Comment.  Move cntlzd
55022         earlier in tail.
55023         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55025 2013-10-04  Alan Modra  <amodra@gmail.com>
55027         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55028         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55029         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55030         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55032 2013-10-04  Alan Modra  <amodra@gmail.com>
55034         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55035         (rTMP): Define as r11.
55036         (strcmp): Add little-endian support.  Optimise tail.
55037         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55038         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55039         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55040         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55041         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55042         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55043         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55045 2013-10-04  Alan Modra  <amodra@gmail.com>
55047         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55048         little-endian support.  Remove unnecessary "are we done" tests.
55049         Handle "s" wrapping around zero and extremely large "size".
55050         Correct main loop count.  Handle single left-over word from main
55051         loop inline rather than by using small_loop.  Correct comments.
55052         Delete "zero" tail, use "end_max" instead.
55053         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55055 2013-10-04  Alan Modra  <amodra@gmail.com>
55057         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55058         support.  Don't branch over align.
55059         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55060         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55061         support.  Rearrange tmp reg use to suit.  Comment.
55062         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55064 2013-10-04  Alan Modra  <amodra@gmail.com>
55066         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55068 2013-10-04  Alan Modra  <amodra@gmail.com>
55070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55071         conditional form of branch and link when obtaining pc.
55072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55074 2013-10-04  Alan Modra  <amodra@gmail.com>
55076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55077         HIWORD/LOWORD.
55078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55081 2013-10-04  Alan Modra  <amodra@gmail.com>
55083         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55084         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55085         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55086         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55087         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55088         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55089         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55090         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55091         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55092         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55094 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55095             Alistair Popple <alistair@ozlabs.au.ibm.com>
55096             Alan Modra <amodra@gmail.com>
55098         [BZ #15723]
55099         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55100         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55101         _dl_hwcap access for little-endian.
55102         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55103         destroy vmx regs when saving unaligned.
55104         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55105         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55106         destroy vmx regs when saving unaligned.
55108 2013-10-04  Alan Modra  <amodra@gmail.com>
55110         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55111         Don't use a union to pack hi/low value.
55113 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55115         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55116         for little-endian.
55117         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55119         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55120         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55121         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55123 2013-10-04  Alan Modra  <amodra@gmail.com>
55125         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55126         constants to usual value for .cst8 section, and remove redundant
55127         high address load.
55128         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55129         constant for 0x1p52.  Load little-endian words of double from
55130         correct stack offsets.
55132 2013-10-04  Alan Modra  <amodra@gmail.com>
55134         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55135         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55136         words of double from correct stack offsets.
55137         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55138         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55139         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55140         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55141         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55142         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55143         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55144         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55145         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55146         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55147         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55148         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55149         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55150         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55151         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55152         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55153         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55155 2013-10-04  Alan Modra  <amodra@gmail.com>
55157         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55158         64-bit int/double union.
55159         (_FPU_SETCW): Likewise.
55160         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55161         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55163 2013-10-04  Alan Modra  <amodra@gmail.com>
55165         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55166         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55168 2013-10-04  Alan Modra  <amodra@gmail.com>
55170         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55171         use vector int constants.
55172         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55174 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55176         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55177         array with long long.
55178         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55179         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55180         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55181         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55182         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55183         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55184         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55185         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55186         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55187         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55188         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55189         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55190         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55192 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55194         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55195         (__signbit): Likewise.  Correct for little-endian.
55196         (__signbitl): Call __signbit.
55197         (lrint): Correct for little-endian.
55198         (lrintf): Call lrint.
55200 2013-10-04  Alan Modra  <amodra@gmail.com>
55202         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55203         union 32-bit int array member with 64-bit int array.
55204         (t515, tm256): Double rather than long double.
55205         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55207 2013-10-04  Alan Modra  <amodra@gmail.com>
55209         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55210         Delete.
55211         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55213         version of math_ldbl.h.
55215 2013-10-04  Alan Modra  <amodra@gmail.com>
55217         [BZ #15734], [BZ #15735]
55218         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55219         all uses of ieee875 long double macros and unions.  Simplify test
55220         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55221         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55222         normalize after ldbl_extract_mantissa, and don't add hidden bit
55223         already handled.  Don't treat low word of ieee854 mantissa like
55224         low word of IBM long double and mask off bit when testing for
55225         zero.
55226         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55227         all uses of ieee875 long double macros and unions.  Simplify tests
55228         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55229         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55230         two1022, instead use their values.  Recognise that tests for large
55231         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55232         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55233         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55234         test for 0.0L and nan.  Correct negation.
55235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55236         ieee875 long double macros and unions.  Correct output for large
55237         magnitude x.  Correct absolute value calculation.
55238         (__erfcl): Likewise.
55239         * math/libm-test.inc: Add tests for errors discovered in IBM long
55240         double versions of fmodl, remainderl, erfl and erfcl.
55242 2013-10-04  Alan Modra  <amodra@gmail.com>
55244         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55245         all uses of ieee854 long double macros and unions.  Simplify tests
55246         for long doubles that are fully specified by the high double.
55247         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55248         Likewise.
55249         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55250         Remove dead code too.
55251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55252         (__ieee754_ynl): Likewise.
55253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55254         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55256         Remove dead code too.
55257         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55258         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55259         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55260         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55261         Simplify.
55262         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55263         Simplify.
55264         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55265         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55266         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55267         Comment on variable precision.
55268         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55269         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55270         Likewise.
55271         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55272         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55273         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55274         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55275         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55277 2013-10-04  Alan Modra  <amodra@gmail.com>
55279         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55280         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55281         all uses of ieee854 long double macros and unions.
55282         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55283         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55285         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55286         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55287         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55288         Likewise.
55289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55290         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55291         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55293         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55294         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55295         Simplify sign and nan test too.
55296         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55297         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55298         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55299         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55300         Likewise.
55301         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55302         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55303         Likewise.
55304         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55305         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55306         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55307         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55308         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55309         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55311 2013-10-04  Alan Modra  <amodra@gmail.com>
55313         * stdio-common/printf_size.c (__printf_size): Don't use
55314         union ieee854_long_double in fpnum union.
55315         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55316         signbit macro to retrieve sign from long double.
55317         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55318         retrieve sign from long double.
55319         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55320         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55321         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55322         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55323         * math/test-misc.c (main): Don't use union ieee854_long_double.
55325 2013-10-04  Alan Modra  <amodra@gmail.com>
55327         [BZ #15680]
55328         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55329         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55330         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55331         calculation.  Remove unnecessary test for denormal exponent.
55332         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55333         Correct handling of denormals.  Avoid undefined shift behaviour.
55334         Correct normalisation of low mantissa when low double is denormal.
55335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55336         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55337         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55338         Correct normalisation of low mantissa.  Test for overflow of high
55339         mantissa and normalise.
55340         (ldbl_nearbyint): Use more readable constant for two52.
55341         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55342         (__mpn_construct_long_double): Fix test for overflow of high
55343         mantissa and correct normalisation.  Avoid undefined shift.
55345 2013-10-04  Alan Modra  <amodra@gmail.com>
55347         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55348         (union ibm_extended_long_double): Define as an array of ieee754_double.
55349         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55350         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55351         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55352         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55354         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55355         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55356         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55357         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55358         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55359         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55361 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55363         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55364         page size instead of calling getpagesize.
55366         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55367         (LOCFILE_ALIGN_MASK): Likewise.
55368         (LOCFILE_ALIGN_UP): Likewise.
55369         (LOCFILE_ALIGNED_P): Likewise.
55370         * locale/programs/ld-collate.c (collate_output): Use the new
55371         macros instead of __alignof__ (int32_t).
55372         * locale/weight.h (findidx): Likewise.
55374 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55376         [BZ #431]
55377         * manual/string.texi: Fix strncat and wcsncat.
55379 2013-10-03  Brooks Moses  <bmoses@google.com>
55381         [BZ #15915]
55382         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55383         * Makerules: ...here, and adjust associated comments.
55385 2013-10-02  Will Newton  <will.newton@linaro.org>
55387         * malloc/Makefile: Add tst-pvalloc.
55388         * malloc/tst-pvalloc.c: New file.
55390 2013-10-02  Will Newton  <will.newton@linaro.org>
55392         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55393         improve test coverage.
55395 2013-10-02  Will Newton  <will.newton@linaro.org>
55397         * malloc/Makefile: Add tst-posix_memalign.
55398         * malloc/tst-posix_memalign.c: New file.
55400 2013-10-01  Eric Blake  <eblake@redhat.com>
55402         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55403         Use __THROWNL rather than __THROW on static functions.
55405 2013-09-30  Petr Machata  <pmachata@redhat.com>
55407         * elf/elf.h (R_AARCH64_ABS16): New macro.
55408         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55409         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55410         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55411         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55412         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55413         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55414         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55415         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55416         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55417         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55418         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55419         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55420         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55421         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55422         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55423         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55424         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55425         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55426         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55427         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55428         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55429         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55430         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55431         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55432         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55433         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55434         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55435         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55436         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55437         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55438         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55439         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55440         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55441         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55442         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55443         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55444         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55445         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55446         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55447         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55448         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55449         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55450         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55451         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55452         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55453         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55454         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55455         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55456         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55457         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55458         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55459         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55460         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55461         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55462         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55463         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55464         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55465         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55466         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55467         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55468         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55469         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55470         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55471         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55472         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55473         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55474         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55475         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55476         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55477         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55478         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55479         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55480         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55481         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55482         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55483         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55484         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55485         (R_AARCH64_TLSDESC_LDR): Likewise.
55486         (R_AARCH64_TLSDESC_ADD): Likewise.
55487         (R_AARCH64_TLSDESC_CALL): Likewise.
55489 2013-09-30  Andreas Schwab  <schwab@suse.de>
55491         [BZ #15048]
55492         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55493         the nss database lookup.
55494         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55495         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55497 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55499         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55501 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55503         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55504         ${Bash-specific parameter/pattern/string} parameter expansion.
55505         * sysdeps/unix/make-syscalls.sh: Likewise.
55507 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55509         * sysdeps/sh/stackguard-macros.h: New file.
55511 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55515         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55516         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55517         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55518         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55520 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55522         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55523         Fix thread ID register.
55525 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55527         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55528         [POSIX || UNIX98]: Require rather than permitting all symbols from
55529         <time.h>.
55530         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55531         element of struct sched_param.
55532         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55533         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55534         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55535         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55536         constant.
55538 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55540         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55541         argument calculation.
55543 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55545         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55546         Expect macro.
55547         [POSIX] (pthread_attr_t): Do not require type.
55548         [POSIX] (pthread_cond_t): Likewise.
55549         [POSIX] (pthread_condattr_t): Likewise.
55550         [POSIX] (pthread_key_t): Likewise.
55551         [POSIX] (pthread_mutex_t): Likewise.
55552         [POSIX] (pthread_mutexattr_t): Likewise.
55553         [POSIX] (pthread_once_t): Likewise.
55554         [POSIX] (pthread_t): Likewise.
55555         [POSIX-based standards] (pthread_atfork): Expect function.
55557 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55558             Richard Sandiford  <richard@codesourcery.com>
55560         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55561         (swap_endianness_p): New extern variable.
55562         (set_big_endian): New inline function.
55563         (maybe_swap_uint32): Likewise.
55564         (maybe_swap_uint32_array): Likewise.
55565         (maybe_swap_uint32_obstack): Likewise.
55566         * locale/programs/locfile.c: Include <stdbool.h>.
55567         (swap_endianness_p): New variable.
55568         (add_locale_uint32): Call maybe_swap_uint32.
55569         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55570         (write_locale_data): Call maybe_swap_uint32_array.
55571         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55572         maybe_swap_uint32.
55573         (obstack_int32_grow_fast): Likewise.
55574         (output_weightwc): Call maybe_swap_uint32_obstack.
55575         (collate_output): Likewise.
55576         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55577         (OPT_LITTLE_ENDIAN): Likewise.
55578         (options): Add --little-endian and --big-endian options.
55579         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55580         * locale/programs/locarchive.c: Include "locfile.h".
55581         (GET): New macro.
55582         (SET): Likewise.
55583         (INC): Likewise.
55584         (create_archive): Use the new macros to access fields of
55585         structures directly mapped from or written to locale archives.
55586         (oldlocrecentcmp): Likewise.
55587         (enlarge_archive): Likewise.
55588         (insert_name): Likewise.
55589         (add_alias): Likewise.
55590         (add_locale): Likewise.
55591         (delete_locales_from_archive): Likewise.
55592         (show_archive_content): Likewise.
55593         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55594         locale data.
55596 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55598         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55599         http://www.gnu.org/doc/freemanuals.texi.
55600         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55602 2013-09-24  Will Newton  <will.newton@linaro.org>
55604         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55605         macro.
55607 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55609         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55610         unsigned char.
55612 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55614         * manual/threads.texi (POSIX Threads): Fix a typo.
55616 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55618         [BZ #14547]
55619         * string/tst-strcoll-overflow.c: New test case.
55620         * string/Makefile (xtests): Add tst-strcoll-overflow.
55621         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55622         cache if string sizes may cause integer overflow.
55624         [BZ #14547]
55625         * string/strcoll_l.c (coll_seq): New members rule, idx,
55626         save_idx and back_us.
55627         (get_next_seq_nocache): New function.
55628         (do_compare_nocache): New function.
55629         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55630         when malloc fails.
55632 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55634         [BZ #15754]
55635         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55636         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55637         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55639         [BZ #15754]
55640         * elf/Makefile (tests): Add tst-ptrguard1.
55641         (tests-static): Add tst-ptrguard1-static.
55642         (tst-ptrguard1-ARGS): Define.
55643         (tst-ptrguard1-static-ARGS): Define.
55644         * elf/tst-ptrguard1.c: New file.
55645         * elf/tst-ptrguard1-static.c: New file.
55646         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55647         * sysdeps/i386/stackguard-macros.h: Likewise.
55648         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55649         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55650         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55651         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55652         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55653         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55655 2013-09-23  Hector Marco  <hecmargi@upv.es>
55656             Ismael Ripoll  <iripoll@disca.upv.es>
55657             Carlos O'Donell  <carlos@redhat.com>
55659         [BZ #15754]
55660         * sysdeps/generic/stackguard-macros.h: Define
55661         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55662         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55663         Define __pointer_chk_guard_local.
55664         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55665         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55667 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55669         [BZ #15859]
55670         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55672 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55674         * include/string.h (__ffs): Declare as hidden.
55675         * string/ffs.c (__ffs): Define as hidden.
55676         * sysdeps/i386/ffs.c (__ffs): Likewise.
55677         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55678         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55679         * sysdeps/s390/ffs.c (__ffs): Likewise.
55680         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55682 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55684         * NEWS: Mention malloc probes.
55686         * malloc/arena.c (new_heap): New memory_heap_new probe.
55687         (grow_heap): New memory_heap_more probe.
55688         (shrink_heap): New memory_heap_less probe.
55689         (heap_trim): New memory_heap_free probe.
55690         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55691         (systrim): New memory_sbrk_less probe.
55692         * manual/probes.texi: Document them.
55694         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55695         * manual/probes.texi: Document it.
55697         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55698         (__libc_realloc): Add memory_realloc_retry probe.
55699         (__libc_memalign): Add memory_memalign_retry probe.
55700         (__libc_valloc): Add memory_valloc_retry probe.
55701         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55702         (__libc_calloc): Add memory_calloc_retry probe.
55703         * manual/probes.texi: Document them.
55705         * malloc/arena.c (get_free_list): Add probe
55706         memory_arena_reuse_free_list.
55707         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55708         and memory_arena_reuse.
55709         (arena_get2) [!PER_THREAD]: Likewise.
55710         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55711         memory_arena_reuse_realloc.
55712         * manual/probes.texi: Document them.
55714         * malloc/malloc.c (__libc_free): Add
55715         memory_mallopt_free_dyn_thresholds probe.
55716         (__libc_mallopt): Add multiple memory_mallopt probes.
55717         * manual/probes.texi: Document them.
55719         * malloc/malloc.c: Include stap-probe.h.
55720         (__libc_mallopt): Add memory_mallopt probe.
55721         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
55722         * manual/probes.texi: New.
55723         * manual/Makefile (chapters): Add probes.
55724         * manual/threads.texi: Set next node.
55726 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
55728         [BZ #15963, #13985]
55729         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
55730         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
55731         Add `Chinese' to `nan' entry name.
55733 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55735         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
55736         (POLYNOMIAL): Likewise.
55737         (TAYLOR_SINCOS): Likewise.
55738         (TAYLOR_SLOW): Likewise.
55739         (__sin): Use TAYLOR_SINCOS.
55740         (__cos): Likewise.
55741         (slow): Use TAYLOR_SLOW.
55742         (sloww): Likewise.
55743         (bsloww): Likewise.
55744         (csloww): Likewise.
55746 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55748         * stdlib/strtod_l.c: Fix buffer overrun.
55750 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55752         * benchtests/Makefile (bench): Add sincos.
55753         * benchtests/bench-sincos.c: New file.
55755         * math/libm-test.inc (cos_test_data): New test inputs.
55756         (sin_test_data): Likewise.
55758         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
55759         macro.
55760         (__sin): Use it.
55761         (__cos): Likewise.
55762         (slow1): Likewise.
55763         (slow2): Likewise.
55764         (sloww1): Likewise.
55765         (sloww2): Likewise.
55766         (bsloww1): Likewise.
55767         (bsloww2): Likewise.
55768         (cslow2): Likewise.
55769         (csloww1): Likewise.
55770         (csloww2): Likewise.
55772         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
55773         function.
55774         (__sin): Use it.
55775         (__cos): Likewise.
55777         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
55778         gotos.
55779         (__cos): Likewise.
55781 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
55783         * config.h.in (HAVE_MIPS_NAN2008): New macro.
55784         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
55785         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
55786         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
55787         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
55788         * elf/cache.c (print_entry): Handle the new cache flags.
55790 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55791             Aldy Hernandez  <aldyh@redhat.com>
55793         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
55794         Change condition to [_SOFT_FLOAT].
55795         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
55796         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
55797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
55798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
55799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
55800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
55801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
55802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
55803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
55804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
55805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
55806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
55807         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
55808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
55809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
55810         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
55811         declaration.
55813 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
55815         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
55816         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55817         (__longjmp): Use LOAD_GP to load saved GPRs.
55818         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
55819         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
55820         (__sigsetjmp): Use SAVE_GP to save GPRs.
55822         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
55823         Do not append -msoft-float.
55824         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
55826 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55828         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
55830 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
55832         [BZ #15966]
55833         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
55834         (_FPU_GETCW): Use initial "__" on variable and field names but not
55835         on macro parameter name.
55836         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
55837         parentheses around reference to macro parameter.
55839 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
55841         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
55842         prototype.
55843         (ctype_startup): Use uint32_t in cast and sizeof for
55844         ctype->charnames.
55846 2013-09-11  Jia Liu  <proljc@gmail.com>
55848         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
55849         __daddr_t_defined.
55850         [__FreeBSD__]: Likewise.
55852 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
55854         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
55855         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
55856         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
55857         (strchr): Remove __strchr_sse42 ifunc selection.
55858         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
55859         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
55861 2013-09-11  Will Newton  <will.newton@linaro.org>
55863         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
55864         parameter to RES. Remove hardcoded 1000 value.
55865         * benchtests/bench-skeleton.c (main): Pass RES parameter
55866         to TIMING_INIT and multiply result by 1000.
55868 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55872 2013-09-11  Andreas Schwab  <schwab@suse.de>
55874         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
55875         if not defined.
55876         (O_TMPFILE) [__USE_GNU]: Define.
55877         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
55878         Define.
55880 2013-09-11  Will Newton  <will.newton@linaro.org>
55882         [BZ #15857]
55883         * malloc/malloc.c (__libc_memalign): Check the value of bytes
55884         does not overflow.
55886 2013-09-11  Will Newton  <will.newton@linaro.org>
55888         [BZ #15856]
55889         * malloc/malloc.c (__libc_valloc): Check the value of bytes
55890         does not overflow.
55892 2013-09-11  Will Newton  <will.newton@linaro.org>
55894         [BZ #15855]
55895         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
55896         does not overflow.
55898 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
55900         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
55901         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55906 2013-09-10  Allan McRae  <allan@archlinux.org>
55908         [BZ #15748]
55909         * manual/arith.texi (Parsing of Floats): Clarify
55910         cross-reference.
55912         [BZ #15849]
55913         * manual/install.texi (Running make install): Mention
55914         --enable-pt-chown.
55915         * INSTALL: Regenerated.
55917 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
55919         * csu/init-first.c (_init): Remove the !SHARED condition around
55920         FPU control word initialization.
55921         * elf/dl-support.c (_dl_fpu_control): New variable.
55922         (_dl_aux_init) <AT_FPUCW>: Initialize it.
55923         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
55924         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
55925         * math/test-fpucw-static.c: New file.
55926         * math/test-fpucw-ieee.c: New file.
55927         * math/test-fpucw-ieee-static.c: New file.
55928         * math/Makefile (tests): Add `test-fpucw-ieee' and
55929         `$(tests-static)'.
55930         (tests-static): New variable.
55931         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
55932         dependency to...
55933         [($(build-shared),yes)]
55934         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
55935         ... this.
55936         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
55937         New dependency.
55939 2013-09-09  Allan McRae  <allan@archlinux.org>
55941         [BZ #15939]
55942         * manual/string.texi (Collation Functions): Fix typo in
55943         strcoll example.
55944         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
55946         [BZ #15893]
55947         * stdlib/isomac.c (get_null_defines): Fix memory leak.
55949         [BZ #15892]
55950         * libio/memstream.c (open_memstream): Fix memory leak.
55951         * libio/wmemstream.c (open_wmemstream): Likewise.
55953         [BZ #15895]
55954         * nscd/netgroupcache.c: Fix nesting of ifdefs.
55956 2013-09-09  Will Newton  <will.newton@linaro.org>
55958         * malloc/Makefile: Add tst-realloc to tests.
55959         * malloc/tst-realloc.c: New file.
55961 2013-09-09  Allan McRae  <allan@archlinux.org>
55963         [BZ #15844]
55964         * COPYING: Update from GNU website to fix FSF address.
55965         * COPYING.LIB: Likewise.
55967 2013-09-06  David S. Miller  <davem@davemloft.net>
55969         * po/zh_TW.po: Update Chinese (traditional) translation from
55970         translation project.
55972 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
55973             Joseph Myers  <joseph@codesourcery.com>
55975         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
55976         "localeinfo.h".
55977         (obstack_chunk_alloc): New macro.
55978         (obstack_chunk_free): Likewise.
55979         (record_offset): New function.
55980         (init_locale_data): Likewise.
55981         (align_locale_data): Likewise.
55982         (add_locale_empty): Likewise.
55983         (add_locale_raw_data): Likewise.
55984         (add_locale_raw_obstack): Likewise.
55985         (add_locale_string): Likewise.
55986         (add_locale_wstring): Likewise.
55987         (add_locale_uint32): Likewise.
55988         (add_locale_uint32_array): Likewise.
55989         (add_locale_char): Likewise.
55990         (start_locale_structure): Likewise.
55991         (end_locale_structure): Likewise.
55992         (start_locale_prelude): Likewise.
55993         (end_locale_prelude): Likewise.
55994         (write_locale_data): Take locale_file structure rather than an
55995         iovec.
55996         * locale/programs/locfile.h: Include "obstack.h".
55997         (struct locale_file): Change to store locale file contents instead
55998         of header.
55999         (init_locale_data): New prototype.
56000         (align_locale_data): Likewise.
56001         (add_locale_empty): Likewise.
56002         (add_locale_raw_data): Likewise.
56003         (add_locale_raw_obstack): Likewise.
56004         (add_locale_string): Likewise.
56005         (add_locale_wstring): Likewise.
56006         (add_locale_uint32): Likewise.
56007         (add_locale_uint32_array): Likewise.
56008         (add_locale_char): Likewise.
56009         (start_locale_structure): Likewise.
56010         (end_locale_structure): Likewise.
56011         (start_locale_prelude): Likewise.
56012         (end_locale_prelude): Likewise.
56013         (write_locale_data): Update prototype.
56014         * locale/programs/3level.h (struct TABLE): Remove result field.
56015         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56016         Use new locale_file interface.
56017         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56018         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56019         * locale/programs/ld-address.c (address_output): Use new
56020         locale_file interface.
56021         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56022         NO_ADD_LOCALE.
56023         (collate_finish): Don't call collseq_table_finalize.
56024         (collate_output): Use new locale_file interface.
56025         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56026         in file.
56027         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56028         (TABLE): Move defines earlier in file.
56029         (ELEMENT): Likewise.
56030         (DEFAULT): Likewise.
56031         (wctrans_table_add): Move macro and inline function earlier in
56032         file.
56033         (struct wctype_table): Move type earlier in file.
56034         (add_locale_wctype_table): New static prototype.
56035         (struct locale_ctype_t): Use logical types instead of struct iovec
56036         pointers for members.
56037         (ctype_output): Use new locale_file interface.
56038         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56039         new locale_file interface.
56040         (allocate_arrays): Update for use of new locale_file interface.
56041         * locale/programs/ld-identification.c (identification_output): Use
56042         new locale_file interface.
56043         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56044         * locale/programs/ld-messages.c (messages_output): Likewise.
56045         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56046         * locale/programs/ld-name.c (name_output): Likewise.
56047         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56048         * locale/programs/ld-paper.c (paper_output): Likewise.
56049         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56050         * locale/programs/ld-time.c (time_output): Likewise.
56052 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56054         * benchtests/Makefile: Add memrchr benchmark.
56055         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56056         benchmark as memrchr.
56057         * benchtests/bench-memrchr-ifunc.c: New file.
56058         * benchtests/bench-memrchr.c: New file.
56060 2013-09-06   Will Newton  <will.newton@linaro.org>
56062         * benchtests/Makefile (string-bench): Add memcpy.
56064 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56065             Cong Wang  <amwang@redhat.com>
56067         [BZ #15850]
56068         * sysdeps/unix/sysv/linux/bits/in.h
56069         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56070         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56071         before __USE_KERNEL_IPV6_DEFS uses.
56072         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56073         IPPROTO_BEETPH.
56074         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56075         sockaddr_in6, or ipv6_mreq.
56077 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56079         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56080         memory access for final bytes in some large inputs.
56081         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56083 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56085         * string/test-memrchr.c: New file.
56086         * string/test-memrchr-ifunc.c: New file.
56087         * string/Makefile: Add new memrchr testcase.
56089 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56091         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56092         fanotify_init returns EPERM.
56094 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56096         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56097         errors.
56098         (top level): Treat second token from macro or constant entries for
56099         allowed headers as allowed.
56100         * include/complex.h: Condition internal declarations on
56101         [!_ISOMAC].
56102         * include/fenv.h: Condition include of <stdbool.h> and internal
56103         declarations on [!_ISOMAC].
56105 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56107         [BZ #15923]
56108         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56110 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56112         * configure.in (--enable-versioning): Remove configure option.
56113         (libc_cv_asm_symver_directive): Remove configure test.
56114         (libc_cv_ld_version_script_option): Likewise.
56115         (VERSIONING): Remove variable and AC_SUBST.
56116         (DO_VERSIONING): Remove AC_DEFINE.
56117         * configure: Regenerated.
56118         * config.h.in (DO_VERSIONING): Remove macro.
56119         * Makerules [$(versioning) = yes]: Change conditionals to
56120         [$(build-shared) = yes].
56121         * config.make.in (versioning): Remove variable.
56122         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56123         [$(build-shared) = yes].
56124         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56125         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56126         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56127         [$(build-shared) = yes].
56128         * extra-lib.mk [$(versioning) = yes]: Likewise.
56129         * hurd/Makefile [$(versioning) = yes]: Likewise.
56130         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56131         [SHARED].
56132         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56133         [SHARED].
56134         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56135         [SHARED && !NO_HIDDEN].
56136         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56137         [SHARED].
56138         [SHARED && DO_VERSIONING]: Likewise..
56139         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56140         [$(build-shared) = yes].
56141         * manual/install.texi (--disable-versioning): Remove
56142         documentation.
56143         * INSTALL: Regenerated.
56144         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56145         to [SHARED].
56146         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56147         [$(build-shared) = yes].
56148         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56149         * sysdeps/i386/i686/multiarch/strstr-c.c
56150         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56151         [SHARED && !NO_HIDDEN].
56152         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56153         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56154         * sysdeps/powerpc/powerpc32/dl-machine.c
56155         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56156         * sysdeps/powerpc/powerpc32/sysdep.h
56157         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56158         to [SHARED && PIC && !NO_HIDDEN].
56159         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56160         conditional to [SHARED].
56162 2013-09-04   Will Newton  <will.newton@linaro.org>
56164         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56165         * benchtests/bench-string.h: Include bench-timing.h instead
56166         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56167         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56168         call to HP_TIMING_DIFF_INIT.
56169         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56170         instead of hp-timing.h macros.
56171         * benchtests/bench-memchr.c: Likewise.
56172         * benchtests/bench-memcmp.c: Likewise.
56173         * benchtests/bench-memcpy.c: Likewise.
56174         * benchtests/bench-memmem.c: Likewise.
56175         * benchtests/bench-memmove.c: Likewise.
56176         * benchtests/bench-memset.c: Likewise.
56177         * benchtests/bench-rawmemchr.c: Likewise.
56178         * benchtests/bench-strcasecmp.c: Likewise.
56179         * benchtests/bench-strcasestr.c: Likewise.
56180         * benchtests/bench-strcat.c: Likewise.
56181         * benchtests/bench-strchr.c: Likewise.
56182         * benchtests/bench-strcmp.c: Likewise.
56183         * benchtests/bench-strcpy.c: Likewise.
56184         * benchtests/bench-strcpy_chk.c: Likewise.
56185         * benchtests/bench-strlen.c: Likewise.
56186         * benchtests/bench-strncasecmp.c: Likewise.
56187         * benchtests/bench-strncat.c: Likewise.
56188         * benchtests/bench-strncmp.c: Likewise.
56189         * benchtests/bench-strncpy.c: Likewise.
56190         * benchtests/bench-strnlen.c: Likewise.
56191         * benchtests/bench-strpbrk.c: Likewise.
56192         * benchtests/bench-strrchr.c: Likewise.
56193         * benchtests/bench-strspn.c: Likewise.
56194         * benchtests/bench-strstr.c: Likewise.
56196 2013-09-04  Will Newton  <will.newton@linaro.org>
56198         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56200 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56202         [BZ #15427]
56203         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56204         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56205         * math/libm-test.inc (lgamma_test_data): Add more tests.
56206         * sysdeps/i386/fpu/libm-test-ulps: Update.
56207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56209 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56211         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56213         Add ifunc.
56214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56215         Add strcmp-sse2-unaligned
56216         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56218 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56220         * Versions.def (libc): Add GLIBC_2.19.
56222 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56224         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56225         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56227 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56229         [BZ #14155]
56230         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56231         intermediate calculations in recurrence.
56232         (__ieee754_ynf): Likewise.
56233         * math/libm-test.inc (jn_test_data): Do not allow spurious
56234         underflow exception.  Add more tests.
56235         (yn_test_data): Add more tests.
56236         * sysdeps/i386/fpu/libm-test-ulps: Update.
56237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56239 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56241         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56243 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56245         * csu/init-first.c: Fix then/than typos.
56246         * locale/programs/ld-collate.c: Likewise.
56247         * locale/programs/linereader.h: Likewise.
56248         * manual/charset.texi: Likewise.
56249         * manual/filesys.texi: Likewise.
56250         * manual/stdio.texi: Likewise.
56251         * manual/string.texi: Likewise.
56252         * stdlib/fmtmsg.c: Likewise.
56253         * sysdeps/i386/stpncpy.S: Likewise.
56254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56255         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56256         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56257         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56259 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56261         * elf/dl-open.c: Fix typos.
56262         * iconvdata/gbbig5.c: Likewise.
56263         * iconvdata/iso-2022-jp.c: Likewise.
56264         * iconv/gconv_int.h: Likewise.
56265         * iconv/loop.c: Likewise.
56266         * nis/rpcsvc/nis.h: Likewise.
56267         * resolv/ns_name.c: Likewise.
56268         * stdio-common/vfscanf.c: Likewise.
56269         * streams/stropts.h: Likewise.
56270         * sunrpc/rpc_thread.c: Likewise.
56271         * sysdeps/i386/strpbrk.S: Likewise.
56272         * sysdeps/ieee754/k_standard.c: Likewise.
56273         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56274         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56275         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56276         * sysdeps/mach/hurd/profil.c: Likewise.
56277         * sysdeps/s390/dl-procinfo.h: Likewise.
56278         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56279         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56280         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56281         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56282         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56284 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56286         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56289 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56291         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56292         aix specific files.
56293         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56294         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56295         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56296         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56297         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56298         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56299         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56300         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56302 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56303             Roland McGrath  <roland@hack.frob.com>
56305         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56306         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56308 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56310         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56311         __executable_start symbol instead of _start.
56313 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56315         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56316         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56317         Move macros to...
56318         * sysdeps/gnu/ldsodefs.h: ... this new file.
56320         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56321         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56322         instead of ELFOSABI_LINUX.
56324         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56325         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56326         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56327         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56328         Likewise.
56329         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56330         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56331         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56332         Likewise.
56333         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56334         (ibm_extended_long_double): Add ieee_nan member.
56335         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56336         (do_test): New function.
56338         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56339         TEST_TRUNC.
56340         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56341         functions, renamed from truncdfsf_test, trunctfsf_test,
56342         trunctfdf_test.
56343         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56344         functions.
56345         (do_test): Run all these.
56347 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56349         * argp/argp-help.c: Fix typos.
56350         * argp/argp-parse.c: Likewise.
56351         * debug/backtracesyms.c: Likewise.
56352         * elf/elf.h: Likewise.
56353         * malloc/malloc.c: Likewise.
56354         * nis/nis_print.c: Likewise.
56355         * resolv/res_comp.c: Likewise.
56356         * stdlib/stdlib.h: Likewise.
56357         * sunrpc/clnt_tcp.c: Likewise.
56358         * sunrpc/clnt_udp.c: Likewise.
56359         * sunrpc/clnt_unix.c: Likewise.
56360         * sysdeps/unix/bsd/ptsname.c: Likewise.
56361         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56364         Likewise.
56365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56366         Likewise.
56367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56368         Likewise.
56369         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56371 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56373         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56376 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56378         [BZ #15897]
56379         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56380         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56381         ($(objpfx)bug-dl-leaf): New rule.
56382         ($(objpfx)bug-dl-leaf.so): Likewise.
56383         ($(objpfx)bug-dl-leaf.out): Likewise.
56384         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56385         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56386         * dlfcn/bug-dl-leaf.c: New test.
56387         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56388         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56389         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56390         (dlclose): Likewise.
56391         (dlmopen): Likewise.
56393 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56395         * include/netdb.h [!_ISOMAC]:
56396         Don't include <tls.h>.
56397         (h_errno, __libc_h_errno): Move declaration and macros out of
56398         [_LIBC_REENTRANT].
56400         * include/resolv.h [_RESOLV_H_]:
56401         Don't include <tls.h>.
56402         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56403         * resolv/res_libc.c: Don't include <tls.h>.
56404         (_res): Use __attribute__ ((nocommon)) in place of
56405         __attribute__ ((section (".bss"))).
56407         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56408         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56410         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56412         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56413         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56415         * resolv/res_mkquery.c: Include <sys/time.h>.
56417         * inet/ifreq.c: Moved to ...
56418         * sysdeps/unix/ifreq.c: ... here.
56419         * inet/ifreq.c: New file, true stub version.
56421         * socket/sa_len.c: New file.
56422         * socket/Makefile (aux): Add it.
56423         * sysdeps/unix/sysv/linux/Makefile
56424         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56425         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56426         and #include <socket/sa_len.c>.
56427         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56428         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56430         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56431         * bits/socket.h: ... here.
56433         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56434         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56435         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56437 2013-08-27  Andreas Schwab  <schwab@suse.de>
56439         [BZ #15736]
56440         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56441         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56442         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56443         * string/test-strcasecmp.c (test_main): Run tests in several
56444         locales.
56445         * string/test-strncasecmp.c (test_main): Likewise.
56447         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56448         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56449         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56450         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56451         (__strncasecmp_ssse3) [PIC]: Likewise.
56453 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56455         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56457         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56458         instead of explicitly declaring xdecrypt.
56459         * nis/nss_nis/nis-publickey.c: Likewise.
56461 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56463         [BZ #15890]
56464         * nscd/aicache.c: Include res_hconf.h.
56465         (addhstaiX): Initialize res_hconf.
56467 2013-08-26  Andreas Schwab  <schwab@suse.de>
56469         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56470         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56472 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56474         * nscd/aicache.c (addhstaiX): Fix indentation.
56476 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56478         * configure.ac: Quote $build_pt_chown test.
56479         * configure: Regenerated.
56481 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #15532]
56484         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56485         * math/s_cexpf.c (__cexpf): Likewise.
56486         * math/s_cexpl.c (__cexpl): Likewise.
56487         * math/libm-test.inc (cexp_test_data): Correct expected return
56488         value for NaN + i0.  Add another test.
56490 2013-08-22  David S. Miller  <davem@davemloft.net>
56492         * po/ca.po: Update Catalan translation from translation project.
56493         * po/uk.po: Add Ukrainian translations from translation project.
56495 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56497         [BZ #15797]
56498         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56499         is infinite, not alongside NaN test.
56500         * math/s_fdimf.c (__fdimf): Likewise.
56501         * math/s_fdiml.c (__fdiml): Likewise.
56502         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56503         errno is unchanged.
56505 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56507         * argp/argp-help.c: Fix typos.
56508         * crypt/speeds.c: Likewise.
56509         * csu/check_fds.c: Likewise.
56510         * elf/dl-load.c: Likewise.
56511         * elf/dl-open.c: Likewise.
56512         * elf/reldep3.c: Likewise.
56513         * elf/reldep.c: Likewise.
56514         * elf/sprof.c: Likewise.
56515         * iconv/iconv_charmap.c: Likewise.
56516         * iconv/skeleton.c: Likewise.
56517         * iconv/strtab.c: Likewise.
56518         * io/lockf64.c: Likewise.
56519         * libio/libioP.h: Likewise.
56520         * resolv/gai_notify.c: Likewise.
56521         * resolv/ns_name.c: Likewise.
56522         * resolv/ns_samedomain.c: Likewise.
56523         * resolv/res_send.c: Likewise.
56524         * stdlib/random.c: Likewise.
56525         * sunrpc/rpc/xdr.h: Likewise.
56526         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56527         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56528         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56529         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56530         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56531         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56532         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56533         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56534         * sysdeps/mach/hurd/check_fds.c: Likewise.
56535         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56536         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56537         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56538         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56539         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56540         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56541         * sysdeps/pthread/aio_notify.c: Likewise.
56542         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56543         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56544         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56545         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56546         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56548 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56550         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56551         version if bit_Slow_SSE4_2 is set.
56552         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56553         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56555 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56557         [BZ #15867]
56558         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56559         trampoline stack frame information.
56560         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56561         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56562         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56563         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56564         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56565         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56566         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56567         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56568         sa_flags value.
56569         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56570         interrupting a syscall and set with option SA_SIGINFO.
56572 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56574         [BZ #15531]
56575         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56576         argument is infinite.
56577         * math/s_cprojf.c (__cprojf): Likewise.
56578         * math/s_cprojl.c (__cprojl): Likewise.
56579         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56580         * math/libm-test.inc (cproj_test_data): Add more tests.
56582         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56584         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56585         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56586         size.  Use __ffs to determine corresponding shift.
56588 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56589             Roland McGrath  <roland@hack.frob.com>
56591         * Makefile (INSTALL): Remove trailing blank lines from output of
56592         makeinfo.
56594 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56596         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56597         Align 32 bit compat elf_greg to 8 bytes.
56599 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56601         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56603 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56605         * string/strcoll_l.c (coll_seq): New structure.
56606         (get_next_seq_cached): New function.
56607         (get_next_seq): New function.
56608         (do_compare): New function.
56609         (STRCOLL): Use GNU style definition.  Simplify implementation
56610         by using get_next_seq, get_next_seq_cached and do_compare.
56612 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56614         [BZ #14699]
56615         CVE-2013-4237
56616         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56617         member.
56618         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56619         member.
56620         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56621         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56622         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56623         conditional.
56624         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56625         GETDENTS_64BIT_ALIGNED.
56626         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56627         * manual/filesys.texi (Reading/Closing Directory): Document
56628         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56629         strongly.
56630         * manual/conf.texi (Limits for Files): Add portability note to
56631         NAME_MAX, PATH_MAX.
56632         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56634 2013-08-13  Andreas Schwab  <schwab@suse.de>
56636         [BZ #15749]
56637         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56638         of fabs.
56639         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56640         LDBL_MAX_EXP >= 16384]: Add tests for it.
56642 2013-08-12  David S. Miller  <davem@davemloft.net>
56644         * version.h (RELEASE): Set to "development".
56645         (VERSION): Set to "2.18.90".
56646         * NEWS: Add 2.19 section.
56648 2013-08-03  David S. Miller  <davem@davemloft.net>
56650         * po/ko.po: Update Korean translation from translation project.
56652 2013-08-01  David S. Miller  <davem@davemloft.net>
56654         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56655         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56656         Bilka.
56658 2013-07-30  David S. Miller  <davem@davemloft.net>
56660         * po/fr.po: Update French translation from translation project.
56662 2013-07-28  David S. Miller  <davem@davemloft.net>
56664         * po/cs.po: Update Czech translation from translation project.
56666         * po/sv.po: Update Swedish translation from translation project.
56668 2013-07-27  David S. Miller  <davem@davemloft.net>
56670         * po/eo.po: Update Esperanto translation from translation project.
56672         * po/vi.po: Update Vietnamese translation from translation project.
56674         * po/de.po: Update German translation from translation project.
56676 2013-07-26  David S. Miller  <davem@davemloft.net>
56678         * po/bg.po: Update Bulgarian translation from translation project.
56680         * po/nl.po: Update Dutch translation from translation project.
56681         * po/pl.po: Update Polish translation from translation project.
56682         * po/ru.po: Update Russian translation from translation project.
56684 2013-07-24  David S. Miller  <davem@davemloft.net>
56686         * po/libc.pot: Update.
56688 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56690         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56691         variable page size.
56692         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56693         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56694         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56696 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56698         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56700 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701             Andreas Schwab  <schwab@suse.de>
56702             Roland McGrath  <roland@hack.frob.com>
56703             Joseph Myers  <joseph@codesourcery.com>
56704             Carlos O'Donell  <carlos@redhat.com>
56706         [BZ #15755]
56707         * config.h.in: Define HAVE_PT_CHOWN.
56708         * config.make.in (build-pt-chown): New variable.
56709         * configure.in (--enable-pt_chown): New configure option.
56710         * configure: Regenerate.
56711         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56712         build-pt-chown is enabled.
56713         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56714         pt_chown to fix pty ownership.
56715         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56716         CLOSE_ALL_FDS.
56717         * manual/install.texi (Configuring and compiling): Mention
56718         --enable-pt_chown. Add @findex for grantpt.
56719         * INSTALL: Regenerate.
56721 2013-07-20  David S. Miller  <davem@davemloft.net>
56723         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
56724         difference between 32-bit and 64-bit.
56726 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
56728         [BZ #15711]
56729         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
56730         Avoid system header dependency with -ffreestanding.
56731         ($(objpfx)bits/syscall%d): Likewise.
56733 2013-07-13  David S. Miller  <davem@davemloft.net>
56735         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
56736         underflows from atanl/atan2l due to bug 15319.
56737         (casinh_test_data): Likewise.
56739 2013-07-07  David S. Miller  <davem@davemloft.net>
56741         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
56743 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
56745         * sysdeps/i386/fpu/libm-test-ulps: Update.
56746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56748 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56750         * configure.in (--enable-lock-elision): Fix message text.
56751         * INSTALL: Regenerate.
56752         * configure: Regenerate.
56754 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56758 2013-07-03  Andreas Jaeger  <aj@suse.de>
56760         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
56761         define.
56762         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
56763         (ptrace_peeksiginfo_args): Add.
56764         (__ptrace_peeksiginfo_flags): Add.
56765         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56766         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56767         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56769 2013-07-03  Allan McRae  <allan@archlinux.org>
56771         * sysdeps/i386/fpu/libm-test-ulps: Update.
56773 2013-07-02  David S. Miller  <davem@davemloft.net>
56775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56777 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
56779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56781 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56783         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
56784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56786 2013-07-02  Andi Kleen <ak@linux.intel.com>
56788         * config.h.in (ENABLE_LOCK_ELISION): Add.
56789         * configure.in (--enable-lock-elision): Add option.
56790         * manual/install.texi: Document --enable lock elision.
56791         * configure: Regenerate
56792         * INSTALL: Regenerate.
56794 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
56796         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
56797         SSE4.2 strcasecmp for libc.a.
56798         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
56800 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
56802         [BZ #13304]
56803         * soft-fp/op-common.h (_FP_FMA): New macro.
56804         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
56805         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
56806         (_FP_MUL_MEAT_1_imm): ... here.
56807         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
56808         (_FP_MUL_MEAT_1_wide): ... here.
56809         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
56810         (_FP_MUL_MEAT_1_hard): ... here.
56811         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
56812         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
56813         (_FP_MUL_MEAT_2_wide): ... here.
56814         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
56815         (_FP_MUL_MEAT_2_wide_3mul): ... here.
56816         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
56817         (_FP_MUL_MEAT_2_gmp): ... here.
56818         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
56819         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
56820         (_FP_MUL_MEAT_4_wide): ... here.
56821         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
56822         (_FP_MUL_MEAT_4_gmp): ... here.
56823         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
56824         (_FP_WFRACBITS_DW_S): Likewise.
56825         (_FP_WFRACXBITS_DW_S): Likewise.
56826         (_FP_HIGHBIT_DW_S): Likewise.
56827         (FP_FMA_S): Likewise.
56828         (_FP_FRAC_HIGH_DW_S): Likewise.
56829         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
56830         (_FP_WFRACBITS_DW_D): Likewise.
56831         (_FP_WFRACXBITS_DW_D): Likewise.
56832         (_FP_HIGHBIT_DW_D): Likewise.
56833         (FP_FMA_D): Likewise.
56834         (_FP_FRAC_HIGH_DW_D): Likewise.
56835         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
56836         (_FP_WFRACBITS_DW_E): Likewise.
56837         (_FP_WFRACXBITS_DW_E): Likewise.
56838         (_FP_HIGHBIT_DW_E): Likewise.
56839         (FP_FMA_E): Likewise.
56840         (_FP_FRAC_HIGH_DW_E): Likewise.
56841         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
56842         (_FP_WFRACBITS_DW_Q): Likewise.
56843         (_FP_WFRACXBITS_DW_Q): Likewise.
56844         (_FP_HIGHBIT_DW_Q): Likewise.
56845         (FP_FMA_Q): Likewise.
56846         (_FP_FRAC_HIGH_DW_Q): Likewise.
56847         * soft-fp/fmasf4.c: New file.
56848         * soft-fp/fmadf4.c: Likewise.
56849         * soft-fp/fmatf4.c: Likewise.
56851 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56854         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
56855         Silvermont.
56856         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
56857         macro.
56858         (index_Slow_SSE4_2): Likewise.
56859         (index_Prefer_PMINUB_for_stringop): Likewise.
56860         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
56861         bit_Slow_SSE4_2 is set.
56862         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
56863         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56865 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56867         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
56868         rtld_global._dl_hwcap2.
56869         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
56870         POWER8.
56871         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
56872         POWER8 feature descriptions defined in _dl_hwcap2.
56873         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
56874         string handling for POWER8 feature bits.
56875         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
56876         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
56877         _dl_powerpc_cap_flags.
56878         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
56879         * sysdeps/powerpc/rtld-global-offsets.sym
56880         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
56881         _dl_hwcap2 in the rtld_global_ro structure.
56883 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56885         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
56886         hardware capabilities in support of AT_HWCAP2.
56887         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
56888         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
56889         GLRO(dl_hwcap2).
56890         (_dl_show_auxv): Add support for calling _dl_procinfo to display
56891         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
56892         explicitly the unknown a_type display mechanism is used.
56893         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
56894         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
56895         struct member.
56896         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
56897         to macro prototype for AT_HWCAP2 support.
56898         * sysdeps/i386/dl-procinfo.h: Likewise.
56899         * sysdeps/s390/dl-procinfo.h: Likewise.
56900         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
56901         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
56902         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
56903         return -1 for unknown a_type display fallback.
56904         * sysdeps/sparc/dl-procinfo.h: Likewise.
56905         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
56906         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
56908 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
56910         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
56911         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
56913 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
56915         [BZ #12492]
56916         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
56917         mprotect making __stack_prot writable.
56919 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
56920             Joseph Myers  <joseph@codesourcery.com>
56922         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
56923         as being properly aligned.
56925 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
56927         * dlfcn/modstatic5.c: New file.
56928         * dlfcn/tststatic5.c: New file.
56929         * dlfcn/Makefile (tests): Add tststatic5.
56930         (tests-static): Likewise.
56931         (modules-names): Add modstatic5.
56932         (tststatic5-ENV): New variable.
56933         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
56935         [BZ #15022]
56936         * elf/dl-support.c (_dl_main_map): New variable.
56937         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56938         (_dl_nns, _dl_load_adds): Set to 1.
56939         (_dl_initial_searchlist): Refer to _dl_main_map.
56940         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
56941         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
56942         call to _dl_get_origin.
56943         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
56944         around call_map.
56945         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
56946         * dlfcn/modstatic3.c: New file.
56947         * dlfcn/tststatic3.c: New file.
56948         * dlfcn/tststatic4.c: New file.
56949         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
56950         (tests-static): Likewise.
56951         (modules-names): Add modstatic3.
56952         (tststatic3-ENV, tststatic4-ENV): New variables.
56953         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
56954         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
56956 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
56958         * configure.in (CC): Require GCC version 4.4 or later.
56959         * configure: Regenerated.
56960         * manual/install.texi (Tools for Compilation): Update GCC version
56961         requirement.
56962         * INSTALL: Regenerated.
56964 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56966         [BZ #15674]
56967         * string/test-memcmp.c (check2): New.
56968         (main): Call check2.
56970         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
56972 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56974         [BZ #15022]
56975         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
56976         over to...
56977         (dl_open_worker) [!SHARED]: ... here.
56979 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56981         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
56983 2013-06-25  Richard Henderson  <rth@redhat.com>
56985         * locale/programs/locarchive.c: Include <libc-internal.h>
56987 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
56989         * manual/texinfo.tex: Update to version 2013-06-21.17, with
56990         trailing whitespace removed.
56992 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
56994         [BZ #10283]
56995         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
56996         * locale/programs/locarchive.c: Include libc-mmap.h.
56997         (prepare_address_space): Take two new outputs (the mmap base and len).
56998         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
56999         values.
57000         (create_archive): Declare new mmap base and len values for
57001         prepare_address_space, and store the result in ah.
57002         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57003         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57004         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57005         Declare new mmap base and len values for
57006         prepare_address_space, and store the result in new_ah.
57007         (open_archive): Declare new mmap base and len values for
57008         prepare_address_space, and store the result in ah.
57009         (close_archive): If ah->mmap_base is not NULL, use that and
57010         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57011         * sysdeps/generic/libc-mmap.h: New file.
57013 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57015         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57016         (ALIGN_UP): Likewise.
57017         (PTR_ALIGN_DOWN): Likewise.
57018         (PTR_ALIGN_UP): Likewise.
57020 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57022         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57023         entry mapped to PPC_PLATFORM_POWER8.
57024         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57025         POWER8.
57026         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57027         (_dl_string_platform): Add case for exporting platform position for
57028         POWER8.
57029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57030         search path to sysdeps/powerpc/powerpc32/power8 directory.
57031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57032         search path to sysdeps/powerpc/powerpc64/power8 directory.
57033         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57034         power7 directories.
57035         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57036         power7 directories.
57038 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57040         * INSTALL: Regenerate.
57042         * nscd/connections.c (nscd_init): Fix comment.
57044 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57046         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57048         [BZ #15667]
57049         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57050         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57052 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57054         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57055         DL_DST_REQ_STATIC.
57056         (DL_DST_REQ_STATIC): Remove macro.
57058 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57060         [BZ #7006]
57061         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57062         with a shift of 0 bits.
57064 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57066         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57067         $(tststatic-ENV).
57069 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57071         [BZ #15655]
57072         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57074 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57076         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57077         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57078         accepts -fno-tree-loop-distribute-patterns.
57079         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57080         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57081         recursive call.
57082         * string/memset.c (memset): Likewise.
57083         * string/test-memmove.c (simple_memmove): Disable loop transformation
57084         to library calls.
57085         * string/test-memset.c (simple_memset): Likewise.
57086         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57087         * benchtests/bench-memset.c (simple_memset): Likewise.
57088         * configure: Regenerated.
57090 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57092         * math/test-misc.c (main): Ignore fesetround failure when failures
57093         of subsequent rounding tests would be ignored.
57095         [BZ #15654]
57096         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57097         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57098         * math/fegetenv.c (__fegetenv): Return 0.
57099         * math/fegetexcept.c (fegetexcept): Return 0.
57100         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57101         FE_TONEAREST.
57102         * math/feholdexcpt.c (feholdexcept): Return 0.
57103         * math/fesetenv.c (__fesetenv): Return 0.
57104         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57105         argument FE_TONEAREST.
57106         * math/feupdateenv.c (__feupdateenv): Return 0.
57107         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57109 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57111         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57112         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57113         ($(objpfx)rtld-%.os rules): Use them.
57115 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57117         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57118         fields.
57120 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57122         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57123         length of target pattern, then descending length of dependency pattern.
57124         * configure.in (AWK): Require gawk 3.1.2 or newer.
57125         * manual/install.texi (Tools for Compilation): Say that we do.
57126         * configure: Regenerated.
57128         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57129         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57130         * scripts/sysd-rules.awk: ... this new script.
57131         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57132         than a glob-style pattern.
57134 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57136         * math/test-misc.c (main): Do not treat incorrectly rounded
57137         conversions as failure unless ROUNDING_TESTS passes.
57139 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57141         [BZ #15631]
57142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57143         restore exception state around main square root computation, then
57144         check for inexactness explicitly.
57146         * math/libm-test.inc (fma_test_data): Add another test.
57148 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57150         * manual/threads.texi (Non-POSIX Extensions): New document
57151         node.  Document pthread_getattr_default_np and
57152         pthread_setattr_default_np.
57154         * Versions.def (libpthread): Add GLIBC_2.18.
57155         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57157         Likewise.
57158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57159         Likewise.
57160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57161         Likewise.
57162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57163         Likewise.
57164         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57165         Likewise.
57166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57167         Likewise.
57168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57169         Likewise.
57170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57171         Likewise.
57172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57173         Likewise.
57175 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57178         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57180 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57181             H.J. Lu  <hjl.tools@gmail.com>
57183         [BZ #15627]
57184         * sysdeps/x86_64/rtld-memset.c: Remove file.
57185         * sysdeps/x86_64/rtld-memset.S: New file.
57187 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57189         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57190         (test_in_one_mode): Take arguments for whether the rounding mode
57191         is supported for each floating-point type.
57192         (do_test): Pass new arguments to test_in_one_mode using
57193         ROUNDING_TESTS.
57195 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57197         * posix/tst-waitid.c (do_test): Distinguish different instances of
57198         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57199         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57200         before entering the kernel for waitpid.
57202 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57204         * NEWS: Fix note on clock function precision.  Text by Roland
57205         McGrath.
57207 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57209         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57210         it into place only when and if the sanity check passes.
57212 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57214         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57215         output for whether conversion result is exact.  Take argument
57216         indicating whether type is IBM long double.
57217         (round_for_all): Change need_exact field to ibm_ld.
57218         * stdlib/tst-strtod-round.c (struct exactness): New type.
57219         (struct test): Change bool ld_ok field to struct exactness exact.
57220         (TEST): Update all definitions for change to field.
57221         (tests): Regenerate array contents.
57222         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57223         field value.  Check for IBM long double here.
57224         (do_test): Update calls to test_in_one_mode.
57226 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57228         [BZ #12515]
57229         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57230         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57232 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57234         [BZ #15605]
57235         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57236         generated by the compiler on loop optimizations.
57237         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57238         general definitions.
57240 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57242         * math/bug-nextafter.c: Include <math-tests.h>.
57243         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57244         the relevant type.
57245         * math/bug-nexttoward.c: Include <math-tests.h>.
57246         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57247         the relevant type.
57248         * math/test-misc.c: Include <math-tests.h>.
57249         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57250         the relevant type.
57252 2013-06-12  Andreas Jaeger  <aj@suse.de>
57254         * po/ia.po: Update Interlingua translation from translation
57255         project.
57257 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57259         * include/fenv.h: Include stdbool.h.
57260         (struct rm_ctx): New structure.
57261         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57262         Define macro.
57263         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57264         (SET_RESTORE_ROUNDF): Likewise.
57265         (SET_RESTORE_ROUNDL): Likewise.
57266         (SET_RESTORE_ROUND_NOEX): Likewise.
57267         (SET_RESTORE_ROUND_NOEXF): Likewise.
57268         (SET_RESTORE_ROUND_NOEXL): Likewise.
57269         (SET_RESTORE_ROUND_53BIT): Likewise.
57270         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57271         (libc_feresetround_noexf_ctx): Likewise.
57272         (libc_feresetround_noexl_ctx): Likewise.
57273         (libc_feholdsetround_53bit_ctx): Likewise.
57274         (libc_feresetround_53bit_ctx): Likewise.
57275         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57276         (libc_feholdexcept_setround_sse_ctx): New function.
57277         (libc_fesetenv_sse_ctx): Likewise.
57278         (libc_feupdateenv_sse_ctx): Likewise.
57279         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57280         (libc_feholdexcept_setround_387_ctx): Likewise.
57281         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57282         (libc_feholdsetround_387_prec_ctx): Likewise.
57283         (libc_feholdsetround_387_ctx): Likewise.
57284         (libc_feholdsetround_387_53bit_ctx): Likewise.
57285         (libc_feholdsetround_sse_ctx): Likewise.
57286         (libc_feresetround_sse_ctx): Likewise.
57287         (libc_feresetround_387_ctx): Likewise.
57288         (libc_feupdateenv_387_ctx): Likewise.
57289         (libc_feholdexcept_setroundf_ctx): Define macro.
57290         (libc_fesetenvf_ctx): Likewise.
57291         (libc_feupdateenvf_ctx): Likewise.
57292         (libc_feholdsetroundf_ctx): Likewise.
57293         (libc_feresetroundf_ctx): Likewise.
57294         (libc_feholdexcept_setround_ctx): Likewise.
57295         (libc_fesetenv_ctx): Likewise.
57296         (libc_feupdateenv_ctx): Likewise.
57297         (libc_feholdsetround_ctx): Likewise.
57298         (libc_feresetround_ctx): Likewise.
57299         (libc_feholdexcept_setroundl_ctx): Likewise.
57300         (libc_feupdateenvl_ctx): Likewise.
57301         (libc_feholdsetroundl_ctx): Likewise.
57302         (libc_feresetroundl_ctx): Likewise.
57303         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57304         (libc_feresetround_53bit_ctx): Likewise.
57306 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57308         * locale/iso-639.def: Convert to UTF-8.
57310 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57312         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57313         (EXCEPTION_TESTS_double): Likewise.
57314         (EXCEPTION_TESTS_long_double): Likewise.
57315         (EXCEPTION_TESTS): Likewise.
57316         * math/libm-test.inc (test_exceptions): Only test exceptions if
57317         EXCEPTION_TESTS (FLOAT).
57319 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57321         * benchtests/Makefile (string-bench): Add strcpy_chk and
57322         stpcpy_chk.
57323         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57324         * benchtests/bench-stpcpy_chk.c: New file.
57325         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57326         * benchtests/bench-strcpy_chk.c: New file.
57327         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57328         code.
57329         (do_test): Likewise.
57331 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57333         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57334         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57335         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57336         with tabs where appropriate.
57337         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57338         dl-procinfo.h.
57339         [PPC_PLATFORM_PPC440]: Likewise.
57340         [PPC_PLATFORM_PPC464]: Likewise.
57341         [PPC_PLATFORM_PPC476]: Likewise.
57342         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57343         ppc464, and ppc476 platform strings merging from ports/
57344         dl-procinfo.h.
57346 2013-06-11  Andreas Schwab  <schwab@suse.de>
57348         [BZ #14991]
57349         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57350         (from_ucs4_idx): Regenerate.
57351         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57352         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57353         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57354         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57355         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57356         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57357         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57358         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57359         from FROM_LOOP and TO_LOOP specific macros.
57360         (BODY): Handle combining characters.
57361         * iconvdata/BIG5HKSCS.irreversible: Update.
57362         * iconvdata/BIG5HKSCS.precomposed: New file.
57363         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57364         characters.
57365         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57367 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57369         * include/sys/time.h: Fix indentation and add copyright header.
57371         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57372         (do_test): Likewise.
57373         * string/test-memchr.c (do_one_test): Likewise.
57374         (do_test): Likewise.
57375         * string/test-memcmp.c (do_one_test): Likewise.
57376         (do_test): Likewise.
57377         * string/test-memcpy.c (do_one_test): Likewise.
57378         (do_test): Likewise.
57379         * string/test-memmem.c (do_one_test): Likewise.
57380         (do_test): Likewise.
57381         (do_random_tests): Likewise.
57382         * string/test-memmove.c (do_one_test): Likewise.
57383         (do_test): Likewise.
57384         * string/test-memset.c (do_one_test): Likewise.
57385         (do_test): Likewise.
57386         * string/test-rawmemchr.c (do_one_test): Likewise.
57387         (do_test): Likewise.
57388         * string/test-strcasecmp.c (do_one_test): Likewise.
57389         (do_test): Likewise.
57390         * string/test-strcasestr.c (do_one_test): Likewise.
57391         (do_test): Likewise.
57392         * string/test-strcat.c (do_one_test): Likewise.
57393         (do_test): Likewise.
57394         * string/test-strchr.c (do_one_test): Likewise.
57395         (do_test): Likewise.
57396         * string/test-strcmp.c (do_one_test): Likewise.
57397         (do_test): Likewise.
57398         * string/test-strcpy.c (do_one_test): Likewise.
57399         (do_test): Likewise.
57400         * string/test-string.h: Likewise.
57401         (test_init): Likewise.
57402         * string/test-strlen.c (do_one_test): Likewise.
57403         (do_test): Likewise.
57404         * string/test-strncasecmp.c (do_one_test): Likewise.
57405         (do_test): Likewise.
57406         * string/test-strncat.c (do_one_test): Likewise.
57407         (do_test): Likewise.
57408         * string/test-strncmp.c (do_one_test): Likewise.
57409         (do_test_limit): Likewise.
57410         (do_test): Likewise.
57411         * string/test-strncpy.c (do_one_test): Likewise.
57412         (do_test): Likewise.
57413         * string/test-strnlen.c (do_one_test): Likewise.
57414         (do_test): Likewise.
57415         * string/test-strpbrk.c (do_one_test): Likewise.
57416         (do_test): Likewise.
57417         * string/test-strrchr.c (do_one_test): Likewise.
57418         (do_test): Likewise.
57419         * string/test-strspn.c (do_one_test): Likewise.
57420         (do_test): Likewise.
57421         * string/test-strstr.c (do_one_test): Likewise.
57422         (do_test): Likewise.
57424         * benchtests/Makefile (string-bench): Add string benchmarks.
57425         * benchtests/bench-bcopy-ifunc.c: New file.
57426         * benchtests/bench-bcopy.c: New file.
57427         * benchtests/bench-bzero-ifunc.c: New file.
57428         * benchtests/bench-bzero.c: New file.
57429         * benchtests/bench-memccpy-ifunc.c: New file.
57430         * benchtests/bench-memccpy.c: New file.
57431         * benchtests/bench-memchr-ifunc.c: New file.
57432         * benchtests/bench-memchr.c: New file.
57433         * benchtests/bench-memcmp-ifunc.c: New file.
57434         * benchtests/bench-memcmp.c: New file.
57435         * benchtests/bench-memmem-ifunc.c: New file.
57436         * benchtests/bench-memmem.c: New file.
57437         * benchtests/bench-memmove-ifunc.c: New file.
57438         * benchtests/bench-memmove.c: New file.
57439         * benchtests/bench-mempcpy-ifunc.c: New file.
57440         * benchtests/bench-mempcpy.c: New file.
57441         * benchtests/bench-memset-ifunc.c: New file.
57442         * benchtests/bench-memset.c: New file.
57443         * benchtests/bench-rawmemchr-ifunc.c: New file.
57444         * benchtests/bench-rawmemchr.c: New file.
57445         * benchtests/bench-stpcpy-ifunc.c: New file.
57446         * benchtests/bench-stpcpy.c: New file.
57447         * benchtests/bench-stpncpy-ifunc.c: New file.
57448         * benchtests/bench-stpncpy.c: New file.
57449         * benchtests/bench-strcasecmp-ifunc.c: New file.
57450         * benchtests/bench-strcasecmp.c: New file.
57451         * benchtests/bench-strcasestr-ifunc.c: New file.
57452         * benchtests/bench-strcasestr.c: New file.
57453         * benchtests/bench-strcat-ifunc.c: New file.
57454         * benchtests/bench-strcat.c: New file.
57455         * benchtests/bench-strchr-ifunc.c: New file.
57456         * benchtests/bench-strchr.c: New file.
57457         * benchtests/bench-strchrnul-ifunc.c: New file.
57458         * benchtests/bench-strchrnul.c: New file.
57459         * benchtests/bench-strcmp-ifunc.c: New file.
57460         * benchtests/bench-strcmp.c: New file.
57461         * benchtests/bench-strcpy-ifunc.c: New file.
57462         * benchtests/bench-strcpy.c: New file.
57463         * benchtests/bench-strcspn-ifunc.c: New file.
57464         * benchtests/bench-strcspn.c: New file.
57465         * benchtests/bench-strlen-ifunc.c: New file.
57466         * benchtests/bench-strlen.c: New file.
57467         * benchtests/bench-strncasecmp-ifunc.c: New file.
57468         * benchtests/bench-strncasecmp.c: New file.
57469         * benchtests/bench-strncat-ifunc.c: New file.
57470         * benchtests/bench-strncat.c: New file.
57471         * benchtests/bench-strncmp-ifunc.c: New file.
57472         * benchtests/bench-strncmp.c: New file.
57473         * benchtests/bench-strncpy-ifunc.c: New file.
57474         * benchtests/bench-strncpy.c: New file.
57475         * benchtests/bench-strnlen-ifunc.c: New file.
57476         * benchtests/bench-strnlen.c: New file.
57477         * benchtests/bench-strpbrk-ifunc.c: New file.
57478         * benchtests/bench-strpbrk.c: New file.
57479         * benchtests/bench-strrchr-ifunc.c: New file.
57480         * benchtests/bench-strrchr.c: New file.
57481         * benchtests/bench-strspn-ifunc.c: New file.
57482         * benchtests/bench-strspn.c: New file.
57483         * benchtests/bench-strstr-ifunc.c: New file.
57484         * benchtests/bench-strstr.c: New file.
57486         * benchtests/Makefile: Disable parallel execution of targets.
57487         (string-bench): Add memcpy.
57488         (benchset): New variable to store a list of benchmark sets.
57489         (bench-func): Renamed from bench.
57490         (bench-set): New target.
57491         (bench): Depend on bench-func and bench-set.
57492         * benchtests/README: Add section on benchmark sets.
57493         * benchtests/bench-memcpy-ifunc.c: New file.
57494         * benchtests/bench-memcpy.c: New file.
57495         * benchtests/bench-string.h: New file.
57497 2013-06-11  Andreas Schwab  <schwab@suse.de>
57499         [BZ #15577]
57500         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57501         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57502         values in the triple.
57503         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57504         terminator in the group key.
57506 2013-06-11  Andreas Jaeger  <aj@suse.de>
57508         * po/zh_TW.po: Update Chinese (traditional) translation from
57509         translation project.
57511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57513         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57514         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57515         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57517         (clock_getcpuclockid): Likewise.
57518         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57519         Add weak_alias and libc_hidden_def.
57520         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57521         * rt/clock_gettime.c (clock_gettime): Rename to
57522         __clock_gettime.  Add weak_alias and libc_hidden_def.
57523         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57524         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57525         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57526         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57527         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57528         Likewise.
57529         * rt/clock_settime.c (clock_settime): Rename to
57530         __clock_settime.  Add weak_alias and libc_hidden_def.
57531         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57533 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57535         * mach/err_boot.sub: Remove trailing whitespace.
57536         * mach/err_ipc.sub: Likewise.
57537         * mach/err_mach.sub: Likewise.
57539         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57540         (ROUNDING_TESTS_double): Likewise.
57541         (ROUNDING_TESTS_long_double): Likewise.
57542         (ROUNDING_TESTS): Likewise.
57543         * math/libm-test.inc: Include <math-tests.h>.
57544         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57545         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57546         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57547         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57549 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57551         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57552         of assigning.
57554 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57556         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57557         otherwise empty TRANS lines.
57558         * sysdeps/gnu/errlist.c: Regenerated.
57560         * catgets/gencat.c (error_print): Use (void) in function
57561         definition.
57562         * crypt/crypt_util.c (__init_des): Likewise.
57563         * crypt/speeds.c (Stop): Likewise.
57564         (main): Likewise.
57565         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57566         * inet/ruserpass.c (token): Likewise.
57567         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57568         * intl/localealias.c (extend_alias_table): Likewise.
57569         * intl/plural-exp.c (init_germanic_plural): Likewise.
57570         * libio/fcloseall.c (__fcloseall): Likewise.
57571         * libio/genops.c (_IO_flush_all): Likewise.
57572         (_IO_flush_all_linebuffered): Likewise.
57573         (_IO_cleanup): Likewise.
57574         (_IO_iter_begin): Likewise.
57575         (_IO_iter_end): Likewise.
57576         (_IO_list_lock): Likewise.
57577         (_IO_list_unlock): Likewise.
57578         (_IO_list_resetlock): Likewise.
57579         * libio/getchar.c (getchar): Likewise.
57580         * libio/getchar_u.c (getchar_unlocked): Likewise.
57581         * libio/getwchar.c (getwchar): Likewise.
57582         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57583         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57584         * login/getpt.c (__getpt): Likewise.
57585         * login/tst-utmp.c (main): Likewise.
57586         * malloc/hooks.c (__malloc_check_init): Likewise.
57587         * malloc/malloc.c (__malloc_stats): Likewise.
57588         * malloc/mtrace.c (tr_break): Likewise.
57589         (mtrace): Likewise.
57590         (muntrace): Likewise.
57591         * misc/fstab.c (endfsent): Likewise.
57592         * misc/getclktck.c (__getclktck): Likewise.
57593         * misc/getdtsz.c (__getdtablesize): Likewise.
57594         * misc/gethostid.c (gethostid): Likewise.
57595         * misc/getpagesize.c (__getpagesize): Likewise.
57596         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57597         (__get_nprocs): Likewise.
57598         (__get_phys_pages): Likewise.
57599         (__get_avphys_pages): Likewise.
57600         * misc/getttyent.c (getttyent): Likewise.
57601         (setttyent): Likewise.
57602         (endttyent): Likewise.
57603         * misc/getusershell.c (getusershell): Likewise.
57604         (endusershell): Likewise.
57605         (setusershell): Likewise.
57606         (initshells): Likewise.
57607         * misc/hsearch.c (__hdestroy): Likewise.
57608         * misc/sync.c (sync): Likewise.
57609         * misc/syslog.c (closelog_internal): Likewise.
57610         (closelog): Likewise.
57611         * misc/ttyslot.c (ttyslot): Likewise.
57612         * misc/vhangup.c (vhangup): Likewise.
57613         * posix/fork.c (__fork): Likewise.
57614         * posix/getegid.c (__getegid): Likewise.
57615         * posix/geteuid.c (__geteuid): Likewise.
57616         * posix/getgid.c (__getgid): Likewise.
57617         * posix/getpid.c (__getpid): Likewise.
57618         * posix/getppid.c (__getppid): Likewise.
57619         * posix/getuid.c (__getuid): Likewise.
57620         * posix/pause.c (pause): Likewise.
57621         * posix/setpgrp.c (setpgrp): Likewise.
57622         * posix/setsid.c (__setsid): Likewise.
57623         * posix/test-vfork.c (noop): Likewise.
57624         * resolv/gethnamaddr.c (_endhtent): Likewise.
57625         (_gethtent): Likewise.
57626         (ht_endhostent): Likewise.
57627         (gethostent): Likewise.
57628         (dns_service): Likewise.
57629         * stdlib/drand48.c (drand48): Likewise.
57630         * stdlib/lrand48.c (lrand48): Likewise.
57631         * stdlib/mrand48.c (mrand48): Likewise.
57632         * stdlib/rand.c (rand): Likewise.
57633         * stdlib/random.c (__random): Likewise.
57634         * stdlib/setenv.c (clearenv): Likewise.
57635         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57636         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57637         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57638         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57639         (__get_nprocs): Likewise.
57640         (__get_phys_pages): Likewise.
57641         (__get_avphys_pages): Likewise.
57642         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57643         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57644         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57645         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57646         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57647         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57648         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57649         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57650         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57651         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57652         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57653         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57654         * sysdeps/posix/clock.c (clock): Likewise.
57655         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57656         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57657         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57658         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57659         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57661         (__get_nprocs_conf): Likewise.
57662         (__get_phys_pages): Likewise.
57663         (__get_avphys_pages): Likewise.
57664         * time/clock.c (clock): Likewise.
57665         * time/tzset.c (__tzname_max): Likewise.
57667 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57669         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57670         (__bswap_32): Do not use "register".
57671         * crypt/crypt.c (_ufc_doit_r): Likewise.
57672         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57673         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57674         * gmon/gmon.c (__monstartup): Likewise.
57675         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57676         * hurd/hurdmalloc.c (more_memory): Likewise.
57677         (malloc): Likewise.
57678         (free): Likewise.
57679         (realloc): Likewise.
57680         (malloc_fork_prepare): Likewise.
57681         (malloc_fork_parent): Likewise.
57682         (malloc_fork_child): Likewise.
57683         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57684         (_svcauth_des): Likewise.
57685         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57686         * inet/inet_net.c (inet_network): Likewise.
57687         * inet/inet_netof.c (inet_netof): Likewise.
57688         * inet/rcmd.c (__validuser2_sa): Likewise.
57689         * io/fts.c (fts_open): Likewise.
57690         (fts_load): Likewise.
57691         (fts_close): Likewise.
57692         (fts_read): Likewise.
57693         (fts_children): Likewise.
57694         (fts_build): Likewise.
57695         (fts_stat): Likewise.
57696         (fts_sort): Likewise.
57697         (fts_alloc): Likewise.
57698         (fts_lfree): Likewise.
57699         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57700         (_IO_file_xsgetn): Likewise.
57701         (_IO_file_xsgetn_mmap): Likewise.
57702         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57703         (_IO_cookie_write): Likewise.
57704         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57705         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57706         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57707         * malloc/obstack.c (_obstack_begin): Likewise.
57708         (_obstack_begin_1): Likewise.
57709         (_obstack_newchunk): Likewise.
57710         (_obstack_allocated_p): Likewise.
57711         (obstack_free): Likewise.
57712         (_obstack_memory_used): Likewise.
57713         * misc/getttyent.c (getttynam): Likewise.
57714         (getttyent): Likewise.
57715         (skip): Likewise.
57716         (value): Likewise.
57717         * misc/getusershell.c (initshells): Likewise.
57718         * misc/syslog.c (__vsyslog_chk): Likewise.
57719         * misc/ttyslot.c (ttyslot): Likewise.
57720         * nis/nis_hash.c (__nis_hash): Likewise.
57721         * posix/fnmatch_loop.c (FCT): Likewise.
57722         * posix/getconf.c (print_all): Likewise.
57723         (main): Likewise.
57724         * posix/getopt.c (exchange): Likewise.
57725         * posix/glob.c (globfree): Likewise.
57726         (prefix_array): Likewise.
57727         (__glob_pattern_type): Likewise.
57728         * resolv/arpa/nameser.h (NS_GET16): Likewise.
57729         (NS_GET32): Likewise.
57730         (NS_PUT16): Likewise.
57731         (NS_PUT32): Likewise.
57732         * resolv/gethnamaddr.c (getanswer): Likewise.
57733         (gethostbyname2): Likewise.
57734         (gethostbyaddr): Likewise.
57735         (_gethtent): Likewise.
57736         (_gethtbyname2): Likewise.
57737         (_gethtbyaddr): Likewise.
57738         * resolv/ns_print.c (dst_s_get_int16): Likewise.
57739         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
57740         * resolv/res_init.c (__res_vinit): Likewise.
57741         (net_mask): Likewise.
57742         * resolv/res_mkquery.c (outchar): Likewise.
57743         (PRINT): Likewise.
57744         * stdio-common/printf_fp.c (outchar): Likewise.
57745         (PRINT): Likewise.
57746         * stdio-common/printf_fphex.c (outchar): Likewise.
57747         (PRINT): Likewise.
57748         * stdio-common/printf_size.c (outchar): Likewise.
57749         (PRINT): Likewise.
57750         * stdio-common/test_rdwr.c (main): Likewise.
57751         * stdio-common/tfformat.c (matches): Likewise.
57752         * stdio-common/vfprintf.c (outchar): Likewise.
57753         (printf_unknown): Likewise.
57754         (buffered_vfprintf): Likewise.
57755         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57756         * stdio-common/xbug.c (AppendToBuffer): Likewise.
57757         (ReadFile): Likewise.
57758         * stdlib/qsort.c (SWAP): Likewise.
57759         (_quicksort): Likewise.
57760         * stdlib/setenv.c (__add_to_environ): Likewise.
57761         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57762         * stdlib/strtol_l.c (__strtol_l): Likewise.
57763         * stdlib/tst-strtod.c (main): Likewise.
57764         * stdlib/tst-strtol.c (main): Likewise.
57765         * stdlib/tst-strtoll.c (main): Likewise.
57766         * string/bits/string2.h (__strcmp_cc): Likewise.
57767         (__strcmp_cg): Likewise.
57768         (__strcspn_c1): Likewise.
57769         (__strcspn_c2): Likewise.
57770         (__strcspn_c3): Likewise.
57771         (__strspn_c1): Likewise.
57772         (__strspn_c2): Likewise.
57773         (__strspn_c3): Likewise.
57774         (__strsep_1c): Likewise.
57775         (__strsep_2c): Likewise.
57776         (__strsep_3c): Likewise.
57777         * string/memccpy.c (__memccpy): Likewise.
57778         * string/stpcpy.c (__stpcpy): Likewise.
57779         * string/strcmp.c (strcmp): Likewise.
57780         * string/strrchr.c (strrchr): Likewise.
57781         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
57782         Likewise.
57783         * sysdeps/mach/hurd/getcwd.c
57784         (_hurd_canonicalize_directory_name_internal): Likewise.
57785         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
57786         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
57787         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
57788         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
57789         Likewise, in both definitions.
57790         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
57791         definitions.
57792         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
57793         64] (__bswap_64): Likewise.
57794         * time/test_time.c (main): Likewise.
57795         * time/tzfile.c (__tzfile_read): Likewise.
57796         (__tzfile_compute): Likewise.
57797         * time/tzset.c (__tzset_parse_tz): Likewise.
57798         (tzset_internal): Likewise.
57799         (compute_change): Likewise.
57800         * wcsmbs/wcscat.c (__wcscat): Likewise.
57801         * wcsmbs/wcschr.c (wcschr): Likewise.
57802         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
57803         * wcsmbs/wcscspn.c (wcscspn): Likewise.
57804         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
57805         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
57806         * wcsmbs/wcsspn.c (wcsspn): Likewise.
57807         * wcsmbs/wcsstr.c (wcsstr): Likewise.
57808         * wcsmbs/wmemchr.c (wmemchr): Likewise.
57809         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
57810         * wcsmbs/wmemset.c (wmemset): Likewise.
57812 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
57814         * scripts/config.guess: Update to version 2013-05-16.
57815         * scripts/config.sub: Update to version 2013-04-24.
57816         * scripts/install-sh: Update to version 2011-11-20.07.
57817         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
57818         * scripts/move-if-change: Update to version 2012-01-06 07:23.
57820 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
57822         * debug/fgetws_u_chk.c: Fix leading whitespaces.
57823         * elf/sln.c: Likewise.
57824         * hurd/hurd/ioctl.h: Likewise.
57825         * hurd/hurdmalloc.c: Likewise.
57826         * hurd/xattr.c: Likewise.
57827         * include/shlib-compat.h: Likewise.
57828         * inet/ruserpass.c: Likewise.
57829         * libio/iofgets_u.c: Likewise.
57830         * libio/iofgetws_u.c: Likewise.
57831         * locale/programs/ld-identification.c: Likewise.
57832         * locale/programs/ld-time.c: Likewise.
57833         * mach/msg-destroy.c: Likewise.
57834         * nss/nss_files/files-netgrp.c: Likewise.
57835         * resolv/res_data.c: Likewise.
57836         * soft-fp/op-1.h: Likewise.
57837         * soft-fp/op-2.h: Likewise.
57838         * soft-fp/op-4.h: Likewise.
57839         * soft-fp/op-common.h: Likewise.
57840         * stdio-common/printf_fphex.c: Likewise.
57841         * stdlib/strtod_l.c: Likewise.
57842         * sunrpc/rpc/clnt.h: Likewise.
57843         * sysdeps/generic/framestate.c: Likewise.
57844         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57845         * sysdeps/i386/bsd-setjmp.S: Likewise.
57846         * sysdeps/i386/__longjmp.S: Likewise.
57847         * sysdeps/i386/setjmp.S: Likewise.
57848         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57849         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57850         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57851         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57852         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57853         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57854         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57855         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57856         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57857         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57858         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57859         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57860         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57861         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57862         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57863         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57864         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57865         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
57866         * sysdeps/ieee754/support.c: Likewise.
57867         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57868         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
57869         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
57870         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
57871         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
57872         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
57873         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
57874         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
57875         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
57876         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
57877         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
57878         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
57879         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
57880         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
57881         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
57882         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
57883         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
57886 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
57888         * posix/transbug.c: Remove executable mode.
57890 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
57892         * crypt/speeds.c: Remove trailing whitespace.
57893         * dlfcn/default.c: Likewise.
57894         * elf/ifuncdep2.c: Likewise.
57895         * elf/ifuncmain1.c: Likewise.
57896         * elf/ifuncmain1vis.c: Likewise.
57897         * elf/testobj.h: Likewise.
57898         * elf/tst-stackguard1.c: Likewise.
57899         * gmon/sys/gmon.h: Likewise.
57900         * hurd/hurdmsg.c: Likewise.
57901         * hurd/new-fd.c: Likewise.
57902         * hurd/ports-get.c: Likewise.
57903         * iconvdata/ibm1008_420.c: Likewise.
57904         * inet/tst-getni1.c: Likewise.
57905         * inet/tst-getni2.c: Likewise.
57906         * libio/ioungetc.c: Likewise.
57907         * libio/wfiledoalloc.c: Likewise.
57908         * manual/libm-err-tab.pl: Likewise.
57909         * math/w_dremf.c: Likewise.
57910         * misc/ftruncate.c: Likewise.
57911         * posix/bug-glob2.c: Likewise.
57912         * posix/tst-pcre.c: Likewise.
57913         * posix/wait4.c: Likewise.
57914         * resolv/README: Likewise.
57915         * resolv/res_debug.h: Likewise.
57916         * resolv/tst-inet_ntop.c: Likewise.
57917         * setjmp/bug269-setjmp.c: Likewise.
57918         * soft-fp/extended.h: Likewise.
57919         * soft-fp/op-1.h: Likewise.
57920         * soft-fp/op-2.h: Likewise.
57921         * soft-fp/op-4.h: Likewise.
57922         * soft-fp/op-8.h: Likewise.
57923         * soft-fp/testit.c: Likewise.
57924         * stdio-common/bug16.c: Likewise.
57925         * stdlib/random.c: Likewise.
57926         * sunrpc/rpcsvc/rquota.x: Likewise.
57927         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
57928         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57930         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57931         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57932         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57933         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57934         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57935         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57936         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57937         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57938         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57939         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57940         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57941         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57942         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57943         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57944         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57945         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57946         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57947         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57948         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57949         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
57950         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57951         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57952         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57953         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57954         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57955         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57956         * sysdeps/ieee754/s_lib_version.c: Likewise.
57957         * sysdeps/mach/hurd/check_fds.c: Likewise.
57958         * sysdeps/mach/hurd/getsockname.c: Likewise.
57959         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
57960         * sysdeps/mach/hurd/recvfrom.c: Likewise.
57961         * sysdeps/powerpc/bits/link.h: Likewise.
57962         * sysdeps/powerpc/dl-procinfo.c: Likewise.
57963         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
57964         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
57965         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
57966         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57967         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57968         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
57969         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57970         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
57971         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57972         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
57973         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57974         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
57975         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57976         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57977         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57978         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57979         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57980         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57981         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57982         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57983         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
57984         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57985         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57986         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
57987         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57988         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57989         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57990         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57991         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57992         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57993         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57994         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57995         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
57996         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
57997         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57998         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
57999         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58000         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58001         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58002         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58003         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58004         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58005         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58006         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58007         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58008         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58009         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58010         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58011         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58013         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58015         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58016         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58017         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58018         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58019         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58020         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58021         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58022         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58023         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58024         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58025         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58026         * sysdeps/powerpc/sysdep.h: Likewise.
58027         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58028         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58029         * sysdeps/sh/dl-trampoline.S: Likewise.
58030         * sysdeps/sh/memset.S: Likewise.
58031         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58032         * sysdeps/sh/strlen.S: Likewise.
58033         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58034         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58035         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58036         * sysdeps/sparc/sparc32/rem.S: Likewise.
58037         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58038         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58039         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58040         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58041         * sysdeps/sparc/sparc32/urem.S: Likewise.
58042         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58043         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58044         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58045         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58046         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58047         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58048         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58049         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58050         * sysdeps/unix/bsd/times.c: Likewise.
58051         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58052         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58056         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58057         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58058         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58059         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58060         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58061         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58062         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58063         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58064         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58065         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58066         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58067         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58068         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58069         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58070         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58071         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58072         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58073         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58074         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58075         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58076         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58077         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58078         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58079         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58080         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58081         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58082         * sysdeps/x86_64/strcspn.S: Likewise.
58084 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58086         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58087         generated file.  Regenerate properly from gen-translit.pl.
58088         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58089         locale/C-translit.h.
58091 2013-06-05  Andreas Schwab  <schwab@suse.de>
58093         [BZ #15100]
58094         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58095         week as 6 instead of -1.
58096         * time/tst-strptime.c (day_tests): Add test case.
58098 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58100         * sysdeps/generic/math_private.h
58101         (libc_feholdexcept_setround_53bit): Replace with
58102         libc_feholdsetround_53bit.
58103         (libc_feupdateenv_53bit): Replace with
58104         libc_feresetround_53bit.
58105         (SET_RESTORE_ROUND_53BIT): Adjust.
58107 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58109         * string/test-strchrnul.c: Add copyright header.
58111         * posix/tst-getaddrinfo4.c: Increase test timeout.
58113 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58115         [BZ #15536]
58116         * math/libm-test.inc (MAX_EXP): Remove
58117         (MIN_EXP): Define.
58118         (ulp): Use MIN_EXP - MANT_DIG.
58119         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58121 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58123         * po/be.po: Revert last change.
58124         * po/zh_CN.po: Likewise.
58125         * po/header.pot: Likewise.
58127 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58129         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58130         link-libc-deps to empty as target-specific variable.
58131         * Makerules (link-libc-args): New variable.
58132         (libc-for-link): Likewise.
58133         (link-libc-deps): Likewise.
58134         (lib%.so): Depend on $(link-libc-deps).  Link with
58135         $(link-libc-args).
58136         (build-module): Link with $(link-libc-args).
58137         (build-module-asneeded): Likewise.
58138         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58139         list of objects.
58140         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58141         target-specific variable.
58142         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58143         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58144         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58145         libc.
58146         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58147         libc and ld.so.
58148         ($(objpfx)libpcprofile.so): Likewise.
58149         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58150         libc_nonshared.a.
58151         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58152         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58153         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58154         $(link-libc-deps).
58155         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58156         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58157         * login/Makefile ($(objpfx)libutil.so): Likewise.
58158         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58159         * math/Makefile ($(objpfx)libm.so): Likewise.
58160         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58161         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58162         variable instead of depending directly on libc.
58163         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58164         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58165         $(link-libc-deps).
58166         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58167         libc.
58168         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58169         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58170         ($(objpfx)libanl.so): Likewise.
58171         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58172         ld.so.
58173         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58174         $(link-libc-deps).
58175         * sysdeps/i386/fpu/Makefile: Remove file.
58176         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58177         ($(objpfx)libm.so): Remove dependency on ld.so.
58179 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58181         [BZ # 15553]
58182         * nis/yp_xdr.c (XDRMAXNAME): Define.
58183         (XDRMAXRECORD): Define.
58184         (xdr_domainname): Use XDRMAXNAME.
58185         (xdr_mapname): Likewise.
58186         (xdr_peername): Likewise.
58187         (xdr_keydat): Use XDRMAXRECORD.
58188         (xdr_valdat): Likewise.
58190 2013-05-30  Jeff Law  <law@redhat.com>
58192         [BZ #14256]
58193         * manual/errno.texi (ESTALE): Update to account for more than
58194         just NFS file systems.
58195         * sysdeps/gnu/errlist.c: Regenerated.
58197 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58199         [BZ #15465]
58200         * elf/Makefile (tests): Add tst-null-argv.
58201         (modules-names):  Add tst-null-argv-lib.
58202         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58203         (tst-null-argv-ENV): Set environment for tst-null-argv.
58204         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58205         (RTLD_PROGNAME): New macro.
58206         * elf/tst-null-argv.c: New test case.
58207         * elf/tst-null-argv-lib.c: Library for test case.
58208         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58209         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58210         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58211         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58212         * elf/dl-init.c (call_init): Likewise.
58213         (_dl_init): Likewise.
58214         * elf/dl-load.c (print_search_path): Likewise.
58215         (_dl_map_object): Likewise.
58216         * elf/dl-lookup.c (do_lookup_x): Likewise.
58217         (add_dependency): Likewise.
58218         (_dl_lookup_symbol_x): Likewise.
58219         (_dl_debug_bindings): Likewise.
58220         * elf/dl-open.c (_dl_show_scope): Likewise.
58221         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58222         * elf/dl-version.c (match_symbol): Likewise.
58223         (_dl_check_map_versions): Likewise.
58224         * elf/rtld.c (dl_main): Likewise.
58225         (print_unresolved): Use RTLD_PROGNAME.
58226         (print_missing_version): Likewise.
58227         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58228         (elf_machine_rela): Likewise.
58229         * sysdeps/powerpc/powerpc32/dl-machine.c
58230         (__process_machine_rela): Likewise.
58231         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58232         Likewise.
58233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58234         Likewise.
58235         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58236         Likewise.
58237         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58238         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58239         Likewise.
58240         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58241         Likewise.
58242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58244 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58246         * po/be.po: Add descriptive title.
58247         * po/zh_CN.po: Likewise.
58248         * po/header.pot: Likewise.
58250 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58252         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58253         error message.
58254         (enlarge_archive): Likewise.
58256 2013-05-28  Ben North  <ben@redfrontdoor.org>
58258         * manual/arith.texi (frexp): It is the magnitude of the return
58259         value which lies in [0.5, 1), not the return value itself.
58261 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58265 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58267         * stdio-common/bug26.c (main): Correct fscanf template.
58269         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58270         declare _dl_skip_args.
58272         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58273         Don't declare.
58275         * manual/platform.texi: Add missing @end deftypefun.
58277 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58279         [BZ #15529]
58280         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58281         bit of mantissa of 2^16382.
58282         * math/libm-test.inc (hypot_test_data): Add more tests.
58284         * math/libm-test.inc: Add drem and pow10 to list of tested
58285         functions.
58286         (pow10_test): New function.
58287         (drem_test): Likewise.
58288         (drem_test_tonearest): Likewise.
58289         (drem_test_towardzero): Likewise.
58290         (drem_test_downward): Likewise.
58291         (drem_test_upward): Likewise.
58292         (main): Call the new functions.
58294         * math/libm-test.inc (finite_test_data): Remove.
58295         (finite_test): Run tests from isfinite_test_data.
58296         (gamma_test_data): Remove.
58297         (gamma_test): Run tests from lgamma_test_data.
58298         * sysdeps/i386/fpu/libm-test-ulps: Update.
58299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58301 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58303         * manual/platform.texi: Add PowerPC PPR function set documentation.
58304         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58305         implementation.
58307 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58309         * math/libm-test.inc (MAX_EXP): Define.
58310         (ULPDIFF): Define.
58311         (ulp): New function.
58312         (check_float_internal): Use ULPDIFF.
58313         (cpow_test): Disable failing test.
58314         (check_ulp): Test ulp() implementation.
58315         (main): Call check_ulp before starting tests.
58317 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58319         * math/gen-libm-test.pl (generate_testfile): Do not handle
58320         START_DATA and END_DATA.
58321         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58322         END_DATA.
58323         (acos_tonearest_test_data): Likewise.
58324         (acos_towardzero_test_data): Likewise.
58325         (acos_downward_test_data): Likewise.
58326         (acos_upward_test_data): Likewise.
58327         (acosh_test_data): Likewise.
58328         (asin_test_data): Likewise.
58329         (asin_tonearest_test_data): Likewise.
58330         (asin_towardzero_test_data): Likewise.
58331         (asin_downward_test_data): Likewise.
58332         (asin_upward_test_data): Likewise.
58333         (asinh_test_data): Likewise.
58334         (atan_test_data): Likewise.
58335         (atanh_test_data): Likewise.
58336         (atan2_test_data): Likewise.
58337         (cabs_test_data): Likewise.
58338         (cacos_test_data): Likewise.
58339         (cacosh_test_data): Likewise.
58340         (carg_test_data): Likewise.
58341         (casin_test_data): Likewise.
58342         (casinh_test_data): Likewise.
58343         (catan_test_data): Likewise.
58344         (catanh_test_data): Likewise.
58345         (cbrt_test_data): Likewise.
58346         (ccos_test_data): Likewise.
58347         (ccosh_test_data): Likewise.
58348         (ceil_test_data): Likewise.
58349         (cexp_test_data): Likewise.
58350         (cimag_test_data): Likewise.
58351         (clog_test_data): Likewise.
58352         (clog10_test_data): Likewise.
58353         (conj_test_data): Likewise.
58354         (copysign_test_data): Likewise.
58355         (cos_test_data): Likewise.
58356         (cos_tonearest_test_data): Likewise.
58357         (cos_towardzero_test_data): Likewise.
58358         (cos_downward_test_data): Likewise.
58359         (cos_upward_test_data): Likewise.
58360         (cosh_test_data): Likewise.
58361         (cosh_tonearest_test_data): Likewise.
58362         (cosh_towardzero_test_data): Likewise.
58363         (cosh_downward_test_data): Likewise.
58364         (cosh_upward_test_data): Likewise.
58365         (cpow_test_data): Likewise.
58366         (cproj_test_data): Likewise.
58367         (creal_test_data): Likewise.
58368         (csin_test_data): Likewise.
58369         (csinh_test_data): Likewise.
58370         (csqrt_test_data): Likewise.
58371         (ctan_test_data): Likewise.
58372         (ctan_tonearest_test_data): Likewise.
58373         (ctan_towardzero_test_data): Likewise.
58374         (ctan_downward_test_data): Likewise.
58375         (ctan_upward_test_data): Likewise.
58376         (ctanh_test_data): Likewise.
58377         (ctanh_tonearest_test_data): Likewise.
58378         (ctanh_towardzero_test_data): Likewise.
58379         (ctanh_downward_test_data): Likewise.
58380         (ctanh_upward_test_data): Likewise.
58381         (erf_test_data): Likewise.
58382         (erfc_test_data): Likewise.
58383         (exp_test_data): Likewise.
58384         (exp_tonearest_test_data): Likewise.
58385         (exp_towardzero_test_data): Likewise.
58386         (exp_downward_test_data): Likewise.
58387         (exp_upward_test_data): Likewise.
58388         (exp10_test_data): Likewise.
58389         (exp2_test_data): Likewise.
58390         (expm1_test_data): Likewise.
58391         (fabs_test_data): Likewise.
58392         (fdim_test_data): Likewise.
58393         (finite_test_data): Likewise.
58394         (floor_test_data): Likewise.
58395         (fma_test_data): Likewise.
58396         (fma_towardzero_test_data): Likewise.
58397         (fma_downward_test_data): Likewise.
58398         (fma_upward_test_data): Likewise.
58399         (fmax_test_data): Likewise.
58400         (fmin_test_data): Likewise.
58401         (fmod_test_data): Likewise.
58402         (fpclassify_test_data): Likewise.
58403         (frexp_test_data): Likewise.
58404         (gamma_test_data): Likewise.
58405         (hypot_test_data): Likewise.
58406         (ilogb_test_data): Likewise.
58407         (isfinite_test_data): Likewise.
58408         (isgreater_test_data): Likewise.
58409         (isgreaterequal_test_data): Likewise.
58410         (isinf_test_data): Likewise.
58411         (isless_test_data): Likewise.
58412         (islessequal_test_data): Likewise.
58413         (islessgreater_test_data): Likewise.
58414         (isnan_test_data): Likewise.
58415         (isnormal_test_data): Likewise.
58416         (issignaling_test_data): Likewise.
58417         (isunordered_test_data): Likewise.
58418         (j0_test_data): Likewise.
58419         (j1_test_data): Likewise.
58420         (jn_test_data): Likewise.
58421         (ldexp_test_data): Likewise.
58422         (lgamma_test_data): Likewise.
58423         (lrint_test_data): Likewise.
58424         (lrint_tonearest_test_data): Likewise.
58425         (lrint_towardzero_test_data): Likewise.
58426         (lrint_downward_test_data): Likewise.
58427         (lrint_upward_test_data): Likewise.
58428         (llrint_test_data): Likewise.
58429         (llrint_tonearest_test_data): Likewise.
58430         (llrint_towardzero_test_data): Likewise.
58431         (llrint_downward_test_data): Likewise.
58432         (llrint_upward_test_data): Likewise.
58433         (log_test_data): Likewise.
58434         (log10_test_data): Likewise.
58435         (log1p_test_data): Likewise.
58436         (log2_test_data): Likewise.
58437         (logb_test_data): Likewise.
58438         (logb_downward_test_data): Likewise.
58439         (lround_test_data): Likewise.
58440         (llround_test_data): Likewise.
58441         (modf_test_data): Likewise.
58442         (nearbyint_test_data): Likewise.
58443         (nextafter_test_data): Likewise.
58444         (nexttoward_test_data): Likewise.
58445         (pow_test_data): Likewise.
58446         (pow_tonearest_test_data): Likewise.
58447         (pow_towardzero_test_data): Likewise.
58448         (pow_downward_test_data): Likewise.
58449         (pow_upward_test_data): Likewise.
58450         (remainder_test_data): Likewise.
58451         (remainder_tonearest_test_data): Likewise.
58452         (remainder_towardzero_test_data): Likewise.
58453         (remainder_downward_test_data): Likewise.
58454         (remainder_upward_test_data): Likewise.
58455         (remquo_test_data): Likewise.
58456         (rint_test_data): Likewise.
58457         (rint_tonearest_test_data): Likewise.
58458         (rint_towardzero_test_data): Likewise.
58459         (rint_downward_test_data): Likewise.
58460         (rint_upward_test_data): Likewise.
58461         (round_test_data): Likewise.
58462         (scalb_test_data): Likewise.
58463         (scalbn_test_data): Likewise.
58464         (scalbln_test_data): Likewise.
58465         (signbit_test_data): Likewise.
58466         (sin_test_data): Likewise.
58467         (sin_tonearest_test_data): Likewise.
58468         (sin_towardzero_test_data): Likewise.
58469         (sin_downward_test_data): Likewise.
58470         (sin_upward_test_data): Likewise.
58471         (sincos_test_data): Likewise.
58472         (sinh_test_data): Likewise.
58473         (sinh_tonearest_test_data): Likewise.
58474         (sinh_towardzero_test_data): Likewise.
58475         (sinh_downward_test_data): Likewise.
58476         (sinh_upward_test_data): Likewise.
58477         (sqrt_test_data): Likewise.
58478         (tan_test_data): Likewise.
58479         (tan_tonearest_test_data): Likewise.
58480         (tan_towardzero_test_data): Likewise.
58481         (tan_downward_test_data): Likewise.
58482         (tan_upward_test_data): Likewise.
58483         (tanh_test_data): Likewise.
58484         (tgamma_test_data): Likewise.
58485         (trunc_test_data): Likewise.
58486         (y0_test_data): Likewise.
58487         (y1_test_data): Likewise.
58488         (yn_test_data): Likewise.
58489         (significand_test_data): Likewise.
58491         * math/gen-libm-test.pl (@functions): Remove variable.
58492         (generate_testfile): Don't handle START and END lines.
58493         * math/libm-test.inc (START): New macro.
58494         (END): Likewise.
58495         (END_COMPLEX): Likewise.
58496         (acos_test): Use END macro without arguments.
58497         (acos_test_tonearest): Likewise.
58498         (acos_test_towardzero): Likewise.
58499         (acos_test_downward): Likewise.
58500         (acos_test_upward): Likewise.
58501         (acosh_test): Likewise.
58502         (asin_test): Likewise.
58503         (asin_test_tonearest): Likewise.
58504         (asin_test_towardzero): Likewise.
58505         (asin_test_downward): Likewise.
58506         (asin_test_upward): Likewise.
58507         (asinh_test): Likewise.
58508         (atan_test): Likewise.
58509         (atanh_test): Likewise.
58510         (atan2_test): Likewise.
58511         (cabs_test): Likewise.
58512         (cacos_test): Use END_COMPLEX macro without arguments.
58513         (cacosh_test): Likewise.
58514         (carg_test): Use END macro without arguments.
58515         (casin_test): Use END_COMPLEX macro without arguments.
58516         (casinh_test): Likewise.
58517         (catan_test): Likewise.
58518         (catanh_test): Likewise.
58519         (cbrt_test): Use END macro without arguments.
58520         (ccos_test): Use END_COMPLEX macro without arguments.
58521         (ccosh_test): Likewise.
58522         (ceil_test): Use END macro without arguments.
58523         (cexp_test): Use END_COMPLEX macro without arguments.
58524         (cimag_test): Use END macro without arguments.
58525         (clog_test): Use END_COMPLEX macro without arguments.
58526         (clog10_test): Likewise.
58527         (conj_test): Likewise.
58528         (copysign_test): Use END macro without arguments.
58529         (cos_test): Likewise.
58530         (cos_test_tonearest): Likewise.
58531         (cos_test_towardzero): Likewise.
58532         (cos_test_downward): Likewise.
58533         (cos_test_upward): Likewise.
58534         (cosh_test): Likewise.
58535         (cosh_test_tonearest): Likewise.
58536         (cosh_test_towardzero): Likewise.
58537         (cosh_test_downward): Likewise.
58538         (cosh_test_upward): Likewise.
58539         (cpow_test): Use END_COMPLEX macro without arguments.
58540         (cproj_test): Likewise.
58541         (creal_test): Use END macro without arguments.
58542         (csin_test): Use END_COMPLEX macro without arguments.
58543         (csinh_test): Likewise.
58544         (csqrt_test): Likewise.
58545         (ctan_test): Likewise.
58546         (ctan_test_tonearest): Likewise.
58547         (ctan_test_towardzero): Likewise.
58548         (ctan_test_downward): Likewise.
58549         (ctan_test_upward): Likewise.
58550         (ctanh_test): Likewise.
58551         (ctanh_test_tonearest): Likewise.
58552         (ctanh_test_towardzero): Likewise.
58553         (ctanh_test_downward): Likewise.
58554         (ctanh_test_upward): Likewise.
58555         (erf_test): Use END macro without arguments.
58556         (erfc_test): Likewise.
58557         (exp_test): Likewise.
58558         (exp_test_tonearest): Likewise.
58559         (exp_test_towardzero): Likewise.
58560         (exp_test_downward): Likewise.
58561         (exp_test_upward): Likewise.
58562         (exp10_test): Likewise.
58563         (exp2_test): Likewise.
58564         (expm1_test): Likewise.
58565         (fabs_test): Likewise.
58566         (fdim_test): Likewise.
58567         (finite_test): Likewise.
58568         (floor_test): Likewise.
58569         (fma_test): Likewise.
58570         (fma_test_towardzero): Likewise.
58571         (fma_test_downward): Likewise.
58572         (fma_test_upward): Likewise.
58573         (fmax_test): Likewise.
58574         (fmin_test): Likewise.
58575         (fmod_test): Likewise.
58576         (fpclassify_test): Likewise.
58577         (frexp_test): Likewise.
58578         (gamma_test): Likewise.
58579         (hypot_test): Likewise.
58580         (ilogb_test): Likewise.
58581         (isfinite_test): Likewise.
58582         (isgreater_test): Likewise.
58583         (isgreaterequal_test): Likewise.
58584         (isinf_test): Likewise.
58585         (isless_test): Likewise.
58586         (islessequal_test): Likewise.
58587         (islessgreater_test): Likewise.
58588         (isnan_test): Likewise.
58589         (isnormal_test): Likewise.
58590         (issignaling_test): Likewise.
58591         (isunordered_test): Likewise.
58592         (j0_test): Likewise.
58593         (j1_test): Likewise.
58594         (jn_test): Likewise.
58595         (ldexp_test): Likewise.
58596         (lgamma_test): Likewise.
58597         (lrint_test): Likewise.
58598         (lrint_test_tonearest): Likewise.
58599         (lrint_test_towardzero): Likewise.
58600         (lrint_test_downward): Likewise.
58601         (lrint_test_upward): Likewise.
58602         (llrint_test): Likewise.
58603         (llrint_test_tonearest): Likewise.
58604         (llrint_test_towardzero): Likewise.
58605         (llrint_test_downward): Likewise.
58606         (llrint_test_upward): Likewise.
58607         (log_test): Likewise.
58608         (log10_test): Likewise.
58609         (log1p_test): Likewise.
58610         (log2_test): Likewise.
58611         (logb_test): Likewise.
58612         (logb_test_downward): Likewise.
58613         (lround_test): Likewise.
58614         (llround_test): Likewise.
58615         (modf_test): Likewise.
58616         (nearbyint_test): Likewise.
58617         (nextafter_test): Likewise.
58618         (nexttoward_test): Likewise.
58619         (pow_test): Likewise.
58620         (pow_test_tonearest): Likewise.
58621         (pow_test_towardzero): Likewise.
58622         (pow_test_downward): Likewise.
58623         (pow_test_upward): Likewise.
58624         (remainder_test): Likewise.
58625         (remainder_test_tonearest): Likewise.
58626         (remainder_test_towardzero): Likewise.
58627         (remainder_test_downward): Likewise.
58628         (remainder_test_upward): Likewise.
58629         (remquo_test): Likewise.
58630         (rint_test): Likewise.
58631         (rint_test_tonearest): Likewise.
58632         (rint_test_towardzero): Likewise.
58633         (rint_test_downward): Likewise.
58634         (rint_test_upward): Likewise.
58635         (round_test): Likewise.
58636         (scalb_test): Likewise.
58637         (scalbn_test): Likewise.
58638         (scalbln_test): Likewise.
58639         (signbit_test): Likewise.
58640         (sin_test): Likewise.
58641         (sin_test_tonearest): Likewise.
58642         (sin_test_towardzero): Likewise.
58643         (sin_test_downward): Likewise.
58644         (sin_test_upward): Likewise.
58645         (sincos_test): Likewise.
58646         (sinh_test): Likewise.
58647         (sinh_test_tonearest): Likewise.
58648         (sinh_test_towardzero): Likewise.
58649         (sinh_test_downward): Likewise.
58650         (sinh_test_upward): Likewise.
58651         (sqrt_test): Likewise.
58652         (tan_test): Likewise.
58653         (tan_test_tonearest): Likewise.
58654         (tan_test_towardzero): Likewise.
58655         (tan_test_downward): Likewise.
58656         (tan_test_upward): Likewise.
58657         (tanh_test): Likewise.
58658         (tgamma_test): Likewise.
58659         (trunc_test): Likewise.
58660         (y0_test): Likewise.
58661         (y1_test): Likewise.
58662         (yn_test): Likewise.
58663         (significand_test): Likewise.
58665 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58667         [BZ #15381]
58668         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58670 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58672         [BZ #14894]
58673         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58674         __ppc_mdoio and __ppc_mdoom.
58675         * manual/platform.texi: Document new functions __ppc_yield,
58676         __ppc_mdoio and __ppc_mdoom.
58678 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58680         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58681         (main): Mention "tls" pseudo-hwcap is legacy.
58682         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58684 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58686         * math/gen-libm-test.pl (parse_args): Output only string of
58687         arguments as text for test name, not full call or descriptions of
58688         tests for extra outputs.
58689         (generate_testfile): Do not pass function name to parse_args.
58690         Generate this_func variable from START.
58691         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58692         field to arg_str.
58693         (struct test_ff_f_data): Likewise.
58694         (test_ff_f_data_nexttoward): Likewise.
58695         (struct test_fi_f_data): Likewise.
58696         (struct test_fl_f_data): Likewise.
58697         (struct test_if_f_data): Likewise.
58698         (struct test_fff_f_data): Likewise.
58699         (struct test_c_f_data): Likewise.
58700         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58701         (struct test_fF_f1_data): Likewise.
58702         (struct test_ffI_f1_data): Likewise.
58703         (struct test_c_c_data): Rename test_name field to arg_str.
58704         (struct test_cc_c_data): Likewise.
58705         (struct test_f_i_data): Likewise.
58706         (struct test_ff_i_data): Likewise.
58707         (struct test_f_l_data): Likewise.
58708         (struct test_f_L_data): Likewise.
58709         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58710         and extra2_name.
58711         (COMMON_TEST_SETUP): New macro.
58712         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58713         (COMMON_TEST_CLEANUP): Likewise.
58714         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58715         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58716         macros.
58717         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58718         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
58719         macros.
58720         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
58721         (RUN_TEST_fff_f): Take argument string.  Call new setup and
58722         cleanup macros.
58723         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
58724         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
58725         macros.
58726         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
58727         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
58728         macros.
58729         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
58730         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
58731         cleanup macros.
58732         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
58733         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
58734         cleanup macros.
58735         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
58736         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
58737         cleanup macros.
58738         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
58739         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
58740         macros.
58741         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
58742         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
58743         macros.
58744         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
58745         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
58746         macros.
58747         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
58748         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
58749         cleanup macros.
58750         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
58751         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
58752         cleanup macros.
58753         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
58754         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
58755         macros.
58756         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
58757         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
58758         cleanup macros.
58759         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
58760         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
58761         macros.
58762         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
58763         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
58764         macros.
58765         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
58766         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
58767         cleanup macros.
58768         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
58770 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
58772         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
58773         to _sifields.sigfault.
58774         (si_addr_lsb): Define new macro.
58775         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
58776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58777         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
58779 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
58781         [BZ #15441]
58782         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
58783         returns -1.
58784         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
58785         null return -1.
58786         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
58787         loading the domain.
58789 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58791         * math/gen-libm-test.pl (parse_args): Do not include expected
58792         result in test name.
58793         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
58794         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58795         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58796         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58797         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58800 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58802         * benchtests/Makefile: Sort function entries.
58804         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
58805         tanh, asinh, acosh, atanh.
58806         * benchtests/acos-inputs: New file.
58807         * benchtests/acosh-inputs: New file.
58808         * benchtests/asin-inputs: New file.
58809         * benchtests/asinh-inputs: New file.
58810         * benchtests/atanh-inputs: New file.
58811         * benchtests/cosh-inputs: New file.
58812         * benchtests/log-inputs: New file.
58813         * benchtests/sinh-inputs: New file.
58814         * benchtests/tanh-inputs: New file.
58816 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
58818         [BZ #15339]
58819         * posix/tst-getaddrinfo4.c: New test.
58820         * posix/Makefile (tests): Add it.
58822 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58824         [BZ #15339]
58825         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
58826         when no services were used.
58827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
58828         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
58830 2013-05-21  Andreas Schwab  <schwab@suse.de>
58832         [BZ #15014]
58833         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
58834         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
58835         successful.
58836         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
58837         redundant variable declarations and reallocation of buffer when
58838         parsing as IPv6 address.  Always set NSS status when called from
58839         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
58840         buffer too small.  Correct computation of needed size.
58841         * nss/Makefile (tests): Add test-digits-dots.
58842         * nss/test-digits-dots.c: New test.
58844 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58846         * benchtests/Makefile: Remove instructions for adding
58847         benchmark tests.
58848         * benchtests/README: New file to explain how to execute and
58849         enhance the benchmark tests.
58851 2013-05-21  Andreas Schwab  <schwab@suse.de>
58853         [BZ #15493]
58854         * setjmp/Makefile (tests): Add tst-sigsetjmp.
58855         * setjmp/tst-sigsetjmp.c: New test.
58857 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58859         * sysdeps/x86_64/memset.S (memset): New implementation.
58860         (__bzero): Likewise.
58861         (__memset_tail): New function.
58863 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
58865         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
58866         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
58867         __memcpy_sse2_unaligned ifunc selection.
58868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58869         Add memcpy-sse2-unaligned.S.
58870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58871         Add: __memcpy_sse2_unaligned.
58873 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
58875         [BZ #15490]
58876         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58877         math_force_eval before restoring floating-point envrionment.
58878         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
58879         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
58880         Likewise.
58881         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
58882         <math_private.h>.
58883         (__nearbyintl): Use math_force_eval before restoring
58884         floating-point environment.
58885         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
58887         * math/gen-libm-test.pl (special_functions): Remove.
58888         (parse_args): Don't handle TEST_extra.  Handle functions with no
58889         return value.
58890         * math/libm-test.inc (struct test_sincos_data): Replace with
58891         struct test_fFF_11_data.
58892         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
58893         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
58894         (sincos_test_data): Change element type to struct
58895         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
58896         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
58897         RUN_TEST_LOOP_sincos.
58898         * math/README.libm-test: Don't mention special handling of
58899         individual functions.
58900         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
58901         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58902         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58903         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58904         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58907         * math/gen-libm-test.pl (get_variable): Remove function.
58908         (parse_args): Don't show pointer parameters to call in test
58909         names.  Use "extra output N" in test names for extra outputs
58910         rather than naming variables.
58912 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
58914         [BZ #15488]
58915         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
58916         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
58917         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
58918         double tests.
58919         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
58920         disable.
58921         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
58922         check_long_double.
58924         * math/gen-libm-test.pl (@tests): Remove variable.
58925         ($count): Likewise.
58926         (new_test): Remove function.
58927         (show_exceptions): New function.
58928         (special_functions): Use show_exceptions instead of new_test.
58929         (parse_args): Likewise.
58930         (generate_testfile): Pass only function name in generated call to
58931         print_max_error or print_complex_max_error.
58932         (get_ulps): Do not handle complex tests specially.
58933         (output_test): Rename to ...
58934         (get_all_ulps_for_test): ... this.  Return a string rather than
58935         printing to a file.  Require ulps to be present.
58936         (output_ulps): Generate arrays rather than #defines.
58937         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
58938         (struct ulp_data): New type.
58939         (BUILD_COMPLEX_ULP): Remove macro.
58940         (compare_ulp_data): New function.
58941         (find_ulps): Likewise.
58942         (find_test_ulps): Likewise.
58943         (find_function_ulps): Likewise.
58944         (find_complex_function_ulps): Likewise.
58945         (print_max_error): Determine allowed ulps using
58946         find_function_ulps.
58947         (print_complex_max_error): Determine allowed ulps using
58948         find_complex_function_ulps.
58949         (check_float_internal): Determine max ulps using find_test_ulps.
58950         (check_float): Do not take max_ulp parameter.  Update call to
58951         check_float_internal.
58952         (check_complex): Likewise.
58953         (check_int): Do not take max_ulp parameter.
58954         (check_long): Likewise.
58955         (check_bool): Likewise.
58956         (check_longlong): Likewise.
58957         (struct test_f_f_data): Remove max_ulp field.
58958         (struct test_ff_f_data): Likewise.
58959         (struct test_ff_f_data_nexttoward): Likewise.
58960         (struct test_fi_f_data): Likewise.
58961         (struct test_fl_f_data): Likewise.
58962         (struct test_if_f_data): Likewise.
58963         (struct test_fff_f_data): Likewise.
58964         (struct test_c_f_data): Likewise.
58965         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
58966         (struct test_fF_f1_data): Likewise.
58967         (struct test_ffI_f1_data): Likewise.
58968         (struct test_c_c_data): Remove max_ulp field.
58969         (struct test_cc_c_data): Likewise.
58970         (struct test_f_i_data): Likewise.
58971         (struct test_ff_i_data): Likewise.
58972         (struct test_f_l_data): Likewise.
58973         (struct test_f_L_data): Likewise.
58974         (struct test_sincos_data): Likewise.
58975         (RUN_TEST_f_f): Do not handle ulps.
58976         (RUN_TEST_LOOP_f_f): Likewise.
58977         (RUN_TEST_2_f): Likewise.
58978         (RUN_TEST_LOOP_2_f): Likewise.
58979         (RUN_TEST_fff_f): Likewise.
58980         (RUN_TEST_LOOP_fff_f): Likewise.
58981         (RUN_TEST_c_f): Likewise.
58982         (RUN_TEST_LOOP_c_f): Likewise.
58983         (RUN_TEST_f_f1): Likewise.
58984         (RUN_TEST_LOOP_f_f1): Likewise.
58985         (RUN_TEST_fF_f1): Likewise.
58986         (RUN_TEST_LOOP_fF_f1): Likewise.
58987         (RUN_TEST_fI_f1): Likewise.
58988         (RUN_TEST_LOOP_fI_f1): Likewise.
58989         (RUN_TEST_ffI_f1): Likewise.
58990         (RUN_TEST_LOOP_ffI_f1): Likewise.
58991         (RUN_TEST_c_c): Likewise.
58992         (RUN_TEST_LOOP_c_c): Likewise.
58993         (RUN_TEST_cc_c): Likewise.
58994         (RUN_TEST_LOOP_cc_c): Likewise.
58995         (RUN_TEST_f_i): Likewise.
58996         (RUN_TEST_LOOP_f_i): Likewise.
58997         (RUN_TEST_f_i_tg): Likewise.
58998         (RUN_TEST_LOOP_f_i_tg): Likewise.
58999         (RUN_TEST_ff_i_tg): Likewise.
59000         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59001         (RUN_TEST_f_b): Likewise.
59002         (RUN_TEST_LOOP_f_b): Likewise.
59003         (RUN_TEST_f_b_tg): Likewise.
59004         (RUN_TEST_LOOP_f_b_tg): Likewise.
59005         (RUN_TEST_f_l): Likewise.
59006         (RUN_TEST_LOOP_f_l): Likewise.
59007         (RUN_TEST_f_L): Likewise.
59008         (RUN_TEST_LOOP_f_L): Likewise.
59009         (RUN_TEST_sincos): Likewise.
59010         (RUN_TEST_LOOP_sincos): Likewise.
59012 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59014         [BZ #15480]
59015         [BZ #15485]
59016         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59017         main case of finite arguments, set rounding mode to FE_TONEAREST
59018         and discard exceptions.
59019         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59020         exceptions.
59021         (remainder_tonearest_test_data): New variable.
59022         (remainder_test_tonearest): New function.
59023         (remainder_towardzero_test_data): New variable.
59024         (remainder_test_towardzero): New function.
59025         (remainder_downward_test_data): New variable.
59026         (remainder_test_downward): New function.
59027         (remainder_upward_test_data): New variable.
59028         (remainder_test_upward): New function.
59029         (main): Call the new test functions.
59031         * math/libm-test.inc (struct test_f_f1_data): Remove field
59032         extra_init.
59033         (struct test_fF_f1_data): Likewise.
59034         (struct test_ffI_f1_data): Likewise.
59035         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59036         based on value of EXTRA_EXPECTED.
59037         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59038         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59039         EXTRA_VAR based on value of EXTRA_EXPECTED.
59040         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59041         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59042         EXTRA_VAR based on value of EXTRA_EXPECTED.
59043         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59044         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59045         EXTRA_VAR based on value of EXTRA_EXPECTED.
59046         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59047         * math/gen-libm-test.pl (parse_args): Don't output initializers
59048         for extra output values.
59050         * math/libm-test.inc (check_int): Expect result to be exactly
59051         equal to expected value and do not handle ulps.
59052         (check_long): Likewise.
59053         (check_longlong): Likewise.
59055         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59056         exceptions.
59057         (cimag_test_data): Likewise.
59058         (conj_test_data): Likewise.
59059         (copysign_test_data): Likewise.
59060         (cproj_test_data): Likewise.
59061         (creal_test_data): Likewise.
59062         (fabs_test_data): Likewise.
59063         (fdim_test_data): Likewise.
59064         (finite_test_data): Likewise.
59065         (floor_test_data): Likewise.
59066         (fmax_test_data): Likewise.
59067         (fmin_test_data): Likewise.
59068         (fmod_test_data): Likewise.
59069         (fpclassify_test_data): Likewise.
59070         (frexp_test_data): Likewise.
59071         (ilogb_test_data): Likewise.
59072         (isfinite_test_data): Likewise.
59073         (isgreater_test_data): Likewise.
59074         (isgreaterequal_test_data): Likewise.
59075         (isinf_test_data): Likewise.
59076         (isless_test_data): Likewise.
59077         (islessequal_test_data): Likewise.
59078         (islessgreater_test_data): Likewise.
59079         (isnan_test_data): Likewise.
59080         (isnormal_test_data): Likewise.
59081         (issignaling_test_data): Likewise.
59082         (isunordered_test_data): Likewise.
59083         (ldexp_test_data): Likewise.
59084         (lrint_test_data): Likewise.
59085         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59086         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59087         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59088         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59089         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59090         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59091         test input.
59092         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59093         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59094         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59095         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59096         that test input.
59097         (lrint_downward_test_data): Test for "inexact" exceptions.
59098         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59099         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59100         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59101         test input.
59102         (lrint_upward_test_data): Test for "inexact" exceptions.
59103         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59104         test input.
59105         (llrint_test_data): Test for "inexact" exceptions.
59106         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59107         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59108         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59109         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59110         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59111         (llrint_downward_test_data): Test for "inexact" exceptions.
59112         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59113         (llrint_upward_test_data): Test for "inexact" exceptions.
59114         (logb_test_data): Likewise.
59115         (logb_downward_test_data): Likewise.
59116         (nextafter_test_data): Likewise.
59117         (nexttoward_test_data): Likewise.
59118         (remainder_test_data): Likewise.
59119         (remquo_test_data): Likewise.
59120         (scalbn_test_data): Likewise.
59121         (scalbln_test_data): Likewise.
59122         (signbit_test_data): Likewise.
59123         (sqrt_test_data): Likewise.
59124         (significand_test_data): Likewise.
59126 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59128         [BZ #15424]
59129         * benchtests/bench-modf.c (struct args): Mark arg0 as
59130         volatile.
59131         * scripts/bench.pl: Mark members of struct args as volatile.
59133 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59135         [BZ # 15497]
59136         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59137         negative infinity on POWER6 or lower.
59138         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59140 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59142         [BZ #15442]
59143         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59144         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59145         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59146         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59147         (_FP_SETQNAN): New macro.
59148         (_FP_SETQNAN_SEMIRAW): Likewise.
59149         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59150         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59151         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59152         (FP_EXTEND): Use _FP_FRAC_SNANP.
59153         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59154         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59155         into account.
59156         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59157         New macro.
59158         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59159         Likewise.
59161 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59163         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59164         with DIVIDE_BY_ZERO_EXCEPTION.
59165         (gamma_test_data): Likewise.
59166         (lgamma_test_data): Likewise.
59167         (log_test_data): Likewise.
59168         (log10_test_data): Likewise.
59169         (log2_test_data): Likewise.
59170         (tgamma_test_data): Likewise.
59172         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59173         (acos_test_tonearest): Likewise.
59174         (acos_test_towardzero): Likewise.
59175         (acos_test_downward): Likewise.
59176         (acos_test_upward): Likewise.
59177         (acosh_test): Likewise.
59178         (asin_test): Likewise.
59179         (asin_test_tonearest): Likewise.
59180         (asin_test_towardzero): Likewise.
59181         (asin_test_downward): Likewise.
59182         (asin_test_upward): Likewise.
59183         (asinh_test): Likewise.
59184         (atan_test): Likewise.
59185         (atanh_test): Likewise.
59186         (atan2_test): Likewise.
59187         (cabs_test): Likewise.
59188         (cacos_test): Likewise.
59189         (cacosh_test): Likewise.
59190         (casin_test): Likewise.
59191         (casinh_test): Likewise.
59192         (catan_test): Likewise.
59193         (catanh_test): Likewise.
59194         (cbrt_test): Likewise.
59195         (ccos_test): Likewise.
59196         (ccosh_test): Likewise.
59197         (cexp_test): Likewise.
59198         (clog_test): Likewise.
59199         (clog10_test): Likewise.
59200         (cos_test): Likewise.
59201         (cos_test_tonearest): Likewise.
59202         (cos_test_towardzero): Likewise.
59203         (cos_test_downward): Likewise.
59204         (cos_test_upward): Likewise.
59205         (cosh_test): Likewise.
59206         (cosh_test_tonearest): Likewise.
59207         (cosh_test_towardzero): Likewise.
59208         (cosh_test_downward): Likewise.
59209         (cosh_test_upward): Likewise.
59210         (cpow_test): Likewise.
59211         (csin_test): Likewise.
59212         (csinh_test): Likewise.
59213         (csqrt_test): Likewise.
59214         (ctan_test): Likewise.
59215         (ctan_test_tonearest): Likewise.
59216         (ctan_test_towardzero): Likewise.
59217         (ctan_test_downward): Likewise.
59218         (ctan_test_upward): Likewise.
59219         (ctanh_test): Likewise.
59220         (ctanh_test_tonearest): Likewise.
59221         (ctanh_test_towardzero): Likewise.
59222         (ctanh_test_downward): Likewise.
59223         (ctanh_test_upward): Likewise.
59224         (erf_test): Likewise.
59225         (erfc_test): Likewise.
59226         (exp_test): Likewise.
59227         (exp_test_tonearest): Likewise.
59228         (exp_test_towardzero): Likewise.
59229         (exp_test_downward): Likewise.
59230         (exp_test_upward): Likewise.
59231         (exp10_test): Likewise.
59232         (exp2_test): Likewise.
59233         (expm1_test): Likewise.
59234         (fmod_test): Likewise.
59235         (gamma_test): Likewise.
59236         (hypot_test): Likewise.
59237         (j0_test): Likewise.
59238         (j1_test): Likewise.
59239         (jn_test): Likewise.
59240         (lgamma_test): Likewise.
59241         (log_test): Likewise.
59242         (log10_test): Likewise.
59243         (log1p_test): Likewise.
59244         (log2_test): Likewise.
59245         (logb_test_downward): Likewise.
59246         (pow_test): Likewise.
59247         (pow_test_tonearest): Likewise.
59248         (pow_test_towardzero): Likewise.
59249         (pow_test_downward): Likewise.
59250         (pow_test_upward): Likewise.
59251         (remainder_test): Likewise.
59252         (remquo_test): Likewise.
59253         (sin_test): Likewise.
59254         (sin_test_tonearest): Likewise.
59255         (sin_test_towardzero): Likewise.
59256         (sin_test_downward): Likewise.
59257         (sin_test_upward): Likewise.
59258         (sincos_test): Likewise.
59259         (sinh_test): Likewise.
59260         (sinh_test_tonearest): Likewise.
59261         (sinh_test_towardzero): Likewise.
59262         (sinh_test_downward): Likewise.
59263         (sinh_test_upward): Likewise.
59264         (sqrt_test): Likewise.
59265         (tan_test): Likewise.
59266         (tan_test_tonearest): Likewise.
59267         (tan_test_towardzero): Likewise.
59268         (tan_test_downward): Likewise.
59269         (tan_test_upward): Likewise.
59270         (tanh_test): Likewise.
59271         (tgamma_test): Likewise.
59272         (y0_test): Likewise.
59273         (y1_test): Likewise.
59274         (yn_test): Likewise.
59276         * math/gen-libm-test.pl (adjust_arg): Remove function.
59277         (special_function): Remove argument $in_func.  Only handle
59278         generating output for tables of tests, not inside functions.
59279         (parse_args): Likewise.
59280         (generate_testfile): Remove variable $in_func.  Update call to
59281         parse_args.
59282         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59283         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59284         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59285         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59286         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59287         (MAX_VALUE_INIT): Rename macro to max_value.
59288         (MIN_VALUE_INIT): Rename macro to min_value.
59289         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59290         (plus_zero): Remove variable.
59291         (minus_zero): Likewise.
59292         (plus_infty): Likewise.
59293         (minus_infty): Likewise.
59294         (qnan_value): Likewise.
59295         (max_value): Likewise.
59296         (min_value): Likewise.
59297         (min_subnorm_value): Likewise.
59299 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59301         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59302         uint64_t or uint32_t usage.
59303         * crypt/sha256-block.c: Likewise.
59304         * crypt/sha256-crypt.c: Likewise.
59305         * crypt/sha256.c: Likewise.
59306         * crypt/sha512-block.c: Likewise.
59307         * crypt/sha512-crypt.c: Likewise.
59308         * crypt/sha512.c: Likewise.
59309         * debug/backtrace-tst.c: Likewise.
59310         * debug/pcprofiledump.c: Likewise.
59311         * elf/cache.c: Likewise.
59312         * elf/dl-cache.c: Likewise.
59313         * elf/dl-misc.c: Likewise.
59314         * elf/dl-profile.c: Likewise.
59315         * elf/dl-support.c: Likewise.
59316         * elf/ldconfig.c: Likewise.
59317         * elf/sprof.c: Likewise.
59318         * iconv/dummy-repertoire.c: Likewise.
59319         * iconv/iconv_charmap.c: Likewise.
59320         * iconv/skeleton.c: Likewise.
59321         * iconvdata/8bit-generic.c: Likewise.
59322         * iconvdata/cp737.h: Likewise.
59323         * iconvdata/cp775.h: Likewise.
59324         * iconvdata/ibm1008.h: Likewise.
59325         * iconvdata/ibm1025.h: Likewise.
59326         * iconvdata/ibm1046.h: Likewise.
59327         * iconvdata/ibm1097.h: Likewise.
59328         * iconvdata/ibm1112.h: Likewise.
59329         * iconvdata/ibm1122.h: Likewise.
59330         * iconvdata/ibm1123.h: Likewise.
59331         * iconvdata/ibm1124.h: Likewise.
59332         * iconvdata/ibm1129.h: Likewise.
59333         * iconvdata/ibm1130.h: Likewise.
59334         * iconvdata/ibm1132.h: Likewise.
59335         * iconvdata/ibm1133.h: Likewise.
59336         * iconvdata/ibm1137.h: Likewise.
59337         * iconvdata/ibm1140.h: Likewise.
59338         * iconvdata/ibm1141.h: Likewise.
59339         * iconvdata/ibm1142.h: Likewise.
59340         * iconvdata/ibm1143.h: Likewise.
59341         * iconvdata/ibm1144.h: Likewise.
59342         * iconvdata/ibm1145.h: Likewise.
59343         * iconvdata/ibm1146.h: Likewise.
59344         * iconvdata/ibm1147.h: Likewise.
59345         * iconvdata/ibm1148.h: Likewise.
59346         * iconvdata/ibm1149.h: Likewise.
59347         * iconvdata/ibm1153.h: Likewise.
59348         * iconvdata/ibm1154.h: Likewise.
59349         * iconvdata/ibm1155.h: Likewise.
59350         * iconvdata/ibm1156.h: Likewise.
59351         * iconvdata/ibm1157.h: Likewise.
59352         * iconvdata/ibm1158.h: Likewise.
59353         * iconvdata/ibm1160.h: Likewise.
59354         * iconvdata/ibm1161.h: Likewise.
59355         * iconvdata/ibm1162.h: Likewise.
59356         * iconvdata/ibm1163.h: Likewise.
59357         * iconvdata/ibm1164.h: Likewise.
59358         * iconvdata/ibm1166.h: Likewise.
59359         * iconvdata/ibm1167.h: Likewise.
59360         * iconvdata/ibm12712.h: Likewise.
59361         * iconvdata/ibm1390.h: Likewise.
59362         * iconvdata/ibm1399.h: Likewise.
59363         * iconvdata/ibm16804.h: Likewise.
59364         * iconvdata/ibm4517.h: Likewise.
59365         * iconvdata/ibm4899.h: Likewise.
59366         * iconvdata/ibm4909.h: Likewise.
59367         * iconvdata/ibm4971.h: Likewise.
59368         * iconvdata/ibm5347.h: Likewise.
59369         * iconvdata/ibm803.h: Likewise.
59370         * iconvdata/ibm856.h: Likewise.
59371         * iconvdata/ibm901.h: Likewise.
59372         * iconvdata/ibm902.h: Likewise.
59373         * iconvdata/ibm9030.h: Likewise.
59374         * iconvdata/ibm9066.h: Likewise.
59375         * iconvdata/ibm921.h: Likewise.
59376         * iconvdata/ibm922.h: Likewise.
59377         * iconvdata/ibm9448.h: Likewise.
59378         * iconvdata/isiri-3342.h: Likewise.
59379         * iconvdata/jis0201.h: Likewise.
59380         * include/link.h: Likewise.
59381         * include/netdb.h: Likewise.
59382         * inet/check_native.c: Likewise.
59383         * inet/check_pf.c: Likewise.
59384         * inet/getipv4sourcefilter.c: Likewise.
59385         * inet/getnameinfo.c: Likewise.
59386         * inet/getsourcefilter.c: Likewise.
59387         * inet/htonl.c: Likewise.
59388         * inet/setipv4sourcefilter.c: Likewise.
59389         * inet/setsourcefilter.c: Likewise.
59390         * inet/test-inet6_opt.c: Likewise.
59391         * inet/tst-network.c: Likewise.
59392         * locale/C-collate.c: Likewise.
59393         * locale/C-ctype.c: Likewise.
59394         * locale/C-time.c: Likewise.
59395         * locale/C-translit.h: Likewise.
59396         * locale/loadarchive.c: Likewise.
59397         * locale/programs/3level.h: Likewise.
59398         * locale/programs/charmap.c: Likewise.
59399         * locale/programs/charmap.h: Likewise.
59400         * locale/programs/ld-address.c: Likewise.
59401         * locale/programs/ld-collate.c: Likewise.
59402         * locale/programs/ld-ctype.c: Likewise.
59403         * locale/programs/ld-identification.c: Likewise.
59404         * locale/programs/ld-measurement.c: Likewise.
59405         * locale/programs/ld-messages.c: Likewise.
59406         * locale/programs/ld-monetary.c: Likewise.
59407         * locale/programs/ld-name.c: Likewise.
59408         * locale/programs/ld-numeric.c: Likewise.
59409         * locale/programs/ld-paper.c: Likewise.
59410         * locale/programs/ld-telephone.c: Likewise.
59411         * locale/programs/ld-time.c: Likewise.
59412         * locale/programs/linereader.c: Likewise.
59413         * locale/programs/locale.c: Likewise.
59414         * locale/programs/locarchive.c: Likewise.
59415         * locale/programs/locfile.h: Likewise.
59416         * locale/programs/repertoire.c: Likewise.
59417         * locale/programs/simple-hash.c: Likewise.
59418         * locale/programs/simple-hash.h: Likewise.
59419         * malloc/memusage.c: Likewise.
59420         * malloc/memusagestat.c: Likewise.
59421         * nis/nis_defaults.c: Likewise.
59422         * nis/nis_hash.c: Likewise.
59423         * nis/nis_print.c: Likewise.
59424         * nis/nis_xdr.c: Likewise.
59425         * nscd/connections.c: Likewise.
59426         * nscd/hstcache.c: Likewise.
59427         * nscd/nscd_gethst_r.c: Likewise.
59428         * nscd/nscd_getserv_r.c: Likewise.
59429         * nscd/nscd_helper.c: Likewise.
59430         * nscd/servicescache.c: Likewise.
59431         * nss/makedb.c: Likewise.
59432         * nss/nss_db/db-XXX.c: Likewise.
59433         * nss/nss_db/db-initgroups.c: Likewise.
59434         * nss/nss_db/db-netgrp.c: Likewise.
59435         * nss/nss_files/files-network.c: Likewise.
59436         * nss/nss_files/files-parse.c: Likewise.
59437         * posix/bug-regex5.c: Likewise.
59438         * posix/fnmatch_loop.c: Likewise.
59439         * posix/regcomp.c: Likewise.
59440         * posix/regexec.c: Likewise.
59441         * posix/tst-rfc3484-2.c: Likewise.
59442         * posix/tst-rfc3484-3.c: Likewise.
59443         * posix/tst-rfc3484.c: Likewise.
59444         * resolv/nss_dns/dns-canon.c: Likewise.
59445         * resolv/nss_dns/dns-network.c: Likewise.
59446         * resolv/res_init.c: Likewise.
59447         * resolv/res_mkquery.c: Likewise.
59448         * resolv/tst-aton.c: Likewise.
59449         * stdlib/cxa_atexit.c: Likewise.
59450         * stdlib/cxa_finalize.c: Likewise.
59451         * stdlib/gen-fpioconst.c: Likewise.
59452         * stdlib/strtol_l.c: Likewise.
59453         * string/tst-endian.c: Likewise.
59454         * sunrpc/auth_des.c: Likewise.
59455         * sunrpc/clnt_udp.c: Likewise.
59456         * sunrpc/rtime.c: Likewise.
59457         * sunrpc/svcauth_des.c: Likewise.
59458         * sunrpc/xdr.c: Likewise.
59459         * sunrpc/xdr_intXX_t.c: Likewise.
59460         * sunrpc/xdr_rec.c: Likewise.
59461         * sysdeps/generic/ldconfig.h: Likewise.
59462         * sysdeps/generic/ldsodefs.h: Likewise.
59463         * sysdeps/generic/memusage.h: Likewise.
59464         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59465         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59466         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59467         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59468         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59469         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59470         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59471         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59474         * sysdeps/posix/getaddrinfo.c: Likewise.
59475         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59476         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59477         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59478         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59479         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59480         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59481         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59482         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59483         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59484         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59485         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59486         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59487         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59488         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59489         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59490         * sysdeps/x86_64/dl-tls.h: Likewise.
59491         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59492         * time/alt_digit.c: Likewise.
59493         * time/era.c: Likewise.
59494         * wcsmbs/tst-c16c32-1.c: Likewise.
59496 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59498         * math/libm-test.inc (struct test_sincos_data): New type.
59499         (RUN_TEST_LOOP_sincos): New macro.
59500         (sincos_test_data): New variable.
59501         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59503 2013-05-16  Richard Henderson  <rth@redhat.com>
59505         * math/atest-exp2.c (LIMB64): New macro.
59506         (CONSTSZ): New macro.
59507         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59508         (hexdig): Move ...
59509         (print_mpn_fp): ... to function scope.
59510         (read_mpn_hex): Remove.
59511         (get_log2): Remove.
59512         (exp2_mpn): Use mp_log2.
59513         (main): Use mp_exp1.
59515 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59517         * math/libm-test.inc: Remove comment about not testing "inexact"
59518         exceptions.
59519         (INEXACT_EXCEPTION): New macro.
59520         (NO_INEXACT_EXCEPTION): Likewise.
59521         (INVALID_EXCEPTION_OK): Update value.
59522         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59523         (OVERFLOW_EXCEPTION_OK): Likewise.
59524         (UNDERFLOW_EXCEPTION_OK): Likewise.
59525         (IGNORE_ZERO_INF_SIGN): Likewise.
59526         (ERRNO_UNCHANGED): Likewise.
59527         (ERRNO_EDOM): Likewise.
59528         (ERRNO_ERANGE): Likewise.
59529         (test_exceptions): Handle testing "inexact" exceptions.
59530         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59531         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59532         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59533         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59534         INEXACT_EXCEPTION.
59535         (rint_towardzero_test_data): Likewise.
59536         (rint_downward_test_data): Likewise.
59537         (rint_upward_test_data): Likewise.
59539         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59540         with OVERFLOW_EXCEPTION.
59541         (exp10_test_data): Likewise.
59542         (exp2_test_data): Likewise.
59543         (expm1_test_data): Likewise.
59544         (lgamma_test_data): Likewise.
59545         (pow_test_data): Likewise.
59546         (tgamma_test_data): Likewise.
59547         (yn_test_data): Remove duplicate test of overflow.
59549         * math/libm-test.inc (struct test_cc_c_data): New type.
59550         (RUN_TEST_LOOP_cc_c): New macro.
59551         (cpow_test_data): New variable.
59552         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59554         * math/libm-test.inc (struct test_f_L_data): New type.
59555         (RUN_TEST_LOOP_f_L): New macro.
59556         (llrint_test_data): New variable.
59557         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59558         (llrint_tonearest_test_data): New variable.
59559         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59560         (llrint_towardzero_test_data): New variable.
59561         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59562         (llrint_downward_test_data): New variable.
59563         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59564         (llrint_upward_test_data): New variable.
59565         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59566         (llround_test_data): New variable.
59567         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59569 2013-05-13  Peter Collingbourne  <pcc@google.com>
59571         * math/atest-exp2.c (get_log2): Remove const attribute.
59573 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59575         * math/libm-test.inc (struct test_f_l_data): New type.
59576         (RUN_TEST_LOOP_f_l): New macro.
59577         (lrint_test_data): New variable.
59578         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59579         (lrint_tonearest_test_data): New variable.
59580         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59581         (lrint_towardzero_test_data): New variable.
59582         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59583         (lrint_downward_test_data): New variable.
59584         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59585         (lrint_upward_test_data): New variable.
59586         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59587         (lround_test_data): New variable.
59588         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59590 2013-05-15  Peter Collingbourne  <pcc@google.com>
59592         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59593         (EXTRACT_WORDS64) Use where appropriate.
59594         (INSERT_WORDS64) Likewise.
59596         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59597         constraints with x constraints.
59598         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59600         * malloc/obstack.c (_obstack_compat): Add initializer.
59602 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59604         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59605         si_trapno and add si_addr_lsb to _sifields.sigfault.
59606         (si_trapno): Remove macro.
59607         (si_addr_lsb): Define new macro.
59608         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59610 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59612         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59613         instead of TEST_f_l.
59614         (llrint_test_tonearest): Likewise.
59615         (llrint_test_towardzero): Likewise.
59616         (llrint_test_downward): Likewise.
59617         (llrint_test_upward): Likewise.
59618         (llround_test): Likewise.
59620         * math/libm-test.inc (struct test_f_i_data): Add comment.
59621         (RUN_TEST_LOOP_f_b): New macro.
59622         (RUN_TEST_LOOP_f_b_tg): Likewise.
59623         (finite_test_data): New variable.
59624         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59625         (isfinite_test_data): New variable.
59626         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59627         (isinf_test_data): New variable.
59628         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59629         (isnan_test_data): New variable.
59630         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59631         (isnormal_test_data): New variable.
59632         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59633         (issignaling_test_data): New variable.
59634         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59635         (signbit_test_data): New variable.
59636         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59638         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59639         with INVALID_EXCEPTION.
59640         (acosh_test_data): Likewise.
59641         (asin_test_data): Likewise.
59642         (atanh_test_data): Likewise.
59643         (fmod_test_data): Likewise.
59644         (log_test_data): Likewise.
59645         (log10_test_data): Likewise.
59646         (log2_test_data): Likewise.
59647         (pow_test_data): Likewise.
59648         (sqrt_test_data): Likewise.
59649         (y0_test_data): Likewise.
59650         (y1_test_data): Likewise.
59651         (yn_test_data): Likewise.
59653         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59654         function contents.
59656         * math/libm-test.inc (struct test_ff_i_data): New type.
59657         (RUN_TEST_LOOP_ff_i_tg): New macro.
59658         (isgreater_test_data): New variable.
59659         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59660         (isgreaterequal_test_data): New variable.
59661         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59662         (isless_test_data): New variable.
59663         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59664         (islessequal_test_data): New variable.
59665         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59666         (islessgreater_test_data): New variable.
59667         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59668         (isunordered_test_data): New variable.
59669         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59671 2013-05-14  David S. Miller  <davem@davemloft.net>
59673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59675 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59677         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59679         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59680         extra_test to int.
59681         (struct test_f_i_data): Change type of max_ulp to int.
59683         * math/libm-test.inc (test_ffI_f1_data): New type.
59684         (RUN_TEST_LOOP_ffI_f1): New macro.
59685         (remquo_test_data): New variable.
59686         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59688         * setjmp/tst-setjmp-fp.c: New file.
59689         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59690         (link-libm): New variable.
59691         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59693         * math/libm-test.inc (struct test_f_i_data): New type.
59694         (RUN_TEST_LOOP_f_i): New macro.
59695         (RUN_TEST_LOOP_f_i_tg): Likewise.
59696         (fpclassify_test_data): New variable.
59697         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59698         (ilogb_test_data): New variable.
59699         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59701         * math/libm-test.inc (scalbln_test): Correct function name in END
59702         call.
59704         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59705         (RUN_TEST_LOOP_fI_f1): New macro.
59706         (frexp_test_data): New variable.
59707         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59709         * math/libm-test.inc (struct test_fF_f1_data): New type.
59710         (RUN_TEST_LOOP_fF_f1): New macro.
59711         (modf_test_data): New variable.
59712         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59714         * math/libm-test.inc (struct test_f_f1_data): New type.
59715         (RUN_TEST_LOOP_f_f1): New macro.
59716         (gamma_test_data): New variable.
59717         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59718         (lgamma_test_data): New variable.
59719         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59721 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
59723         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
59724         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
59725         (main): Comment "tls" pseudo-hwcap.
59727 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
59729         * math/libm-test.inc (struct test_fl_f_data): New type.
59730         (RUN_TEST_LOOP_fl_f): New variable.
59731         (scalbln_test_data): New variable.
59732         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
59734         * math/libm-test.inc (struct test_fi_f_data): New type.
59735         (RUN_TEST_LOOP_fi_f): New macro.
59736         (ldexp_test_data): New variable.
59737         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
59738         (scalbn_test_data): New variable.
59739         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
59741         * math/libm-test.inc (struct test_c_f_data): New type.
59742         (RUN_TEST_LOOP_c_f): New macro.
59743         (cabs_test_data): New variable.
59744         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
59745         (carg_test_data): New variable.
59746         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
59747         (cimag_test_data): New variable.
59748         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
59749         (creal_test_data): New variable.
59750         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
59752         * math/libm-test.inc (struct test_if_f_data): New type.
59753         (RUN_TEST_LOOP_if_f): New macro.
59754         (jn_test_data): New variable.
59755         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
59756         (yn_test_data): New variable.
59757         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
59759         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
59761 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59763         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
59764         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59766 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59768         * benchtests/Makefile (CPPFLAGS-nonlib): Add
59769         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59770         (bench-deps): Add bench-timing.h.
59771         * benchtests-bench-skeleton.c: Include bench-timing.h.
59772         (main): Use TIMING_* macros instead of clock_gettime.
59773         * benchtests/bench-timing.h: New file.
59775         [BZ #14582]
59776         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
59777         Renamed from _LIB_VERSION.
59778         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
59780 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
59782         * math/libm-test.inc (struct test_fff_f_data): New type.
59783         (RUN_TEST_LOOP_fff_f): New macro.
59784         (fma_test_data): New variable.
59785         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
59786         (fma_towardzero_test_data): New variable.
59787         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
59788         (fma_downward_test_data): New variable.
59789         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59790         (fma_upward_test_data): New variable.
59791         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
59793         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
59794         (struct test_c_c_data): New type.
59795         (RUN_TEST_LOOP_c_c): New macro.
59796         (cacos_test_data): New variable.
59797         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
59798         (cacosh_test_data): New variable.
59799         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
59800         (casin_test_data): New variable.
59801         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
59802         (casinh_test_data): New variable.
59803         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
59804         (catan_test_data): New variable.
59805         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
59806         (catanh_test_data): New variable.
59807         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
59808         (ccos_test_data): New variable.
59809         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
59810         (ccosh_test_data): New variable.
59811         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
59812         (cexp_test_data): New variable.
59813         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
59814         (clog_test_data): New variable.
59815         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
59816         (clog10_test_data): New variable.
59817         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
59818         (conj_test_data): New variable.
59819         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
59820         (cproj_test_data): New variable.
59821         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
59822         (csin_test_data): New variable.
59823         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
59824         (csinh_test_data): New variable.
59825         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
59826         (csqrt_test_data): New variable.
59827         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
59828         (ctan_test_data): New variable.
59829         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
59830         (ctan_tonearest_test_data): New variable.
59831         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59832         (ctan_towardzero_test_data): New variable.
59833         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59834         (ctan_downward_test_data): New variable.
59835         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59836         (ctan_upward_test_data): New variable.
59837         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59838         (ctanh_test_data): New variable.
59839         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
59840         (ctanh_tonearest_test_data): New variable.
59841         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
59842         (ctanh_towardzero_test_data): New variable.
59843         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
59844         (ctanh_downward_test_data): New variable.
59845         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
59846         (ctanh_upward_test_data): New variable.
59847         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
59848         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
59849         of BUILD_COMPLEX.
59851         * math/libm-test.inc (struct test_ff_f_data): New type.
59852         (struct test_ff_f_data_nexttoward): Likewise.
59853         (RUN_TEST_LOOP_2_f): New macro.
59854         (RUN_TEST_LOOP_ff_f): Likewise.
59855         (atan2_test_data): New variable.
59856         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
59857         (copysign_test_data): New variable.
59858         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
59859         (fdim_test_data): New variable.
59860         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
59861         (fmax_test_data): New variable.
59862         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
59863         (fmin_test_data): New variable.
59864         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
59865         (fmod_test_data): New variable.
59866         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
59867         (hypot_test_data): New variable.
59868         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
59869         (nextafter_test_data): New variable.
59870         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
59871         (nexttoward_test_data): New variable.
59872         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
59873         (pow_test_data): New variable.
59874         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
59875         (pow_tonearest_test_data): New variable.
59876         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
59877         (pow_towardzero_test_data): New variable.
59878         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
59879         (pow_downward_test_data): New variable.
59880         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
59881         (pow_upward_test_data): New variable.
59882         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
59883         (remainder_test_data): New variable.
59884         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
59885         (scalb_test_data): New variable.
59886         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
59887         * sysdeps/i386/fpu/libm-test-ulps: Update.
59889 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
59891         * math/libm-test.inc (fma_test): Use max_value instead of local
59892         variable fltmax.
59893         (nextafter_test): Likewise.
59895         * math/libm-test.inc (acos_towardzero_test_data): New variable.
59896         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59897         (acos_downward_test_data): New variable.
59898         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59899         (acos_upward_test_data): New variable.
59900         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59901         (acosh_test_data): New variable.
59902         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
59903         (asin_test_data): New variable.
59904         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
59905         (asin_tonearest_test_data): New variable.
59906         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59907         (asin_towardzero_test_data): New variable.
59908         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59909         (asin_downward_test_data): New variable.
59910         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59911         (asin_upward_test_data): New variable.
59912         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59913         (asinh_test_data): New variable.
59914         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
59915         (atan_test_data): New variable.
59916         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
59917         (atanh_test_data): New variable.
59918         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
59919         (cbrt_test_data): New variable.
59920         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
59921         (ceil_test_data): New variable.
59922         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
59923         (cos_test_data): New variable.
59924         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
59925         (cos_tonearest_test_data): New variable.
59926         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59927         (cos_towardzero_test_data): New variable.
59928         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59929         (cos_downward_test_data): New variable.
59930         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59931         (cos_upward_test_data): New variable.
59932         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59933         (cosh_test_data): New variable.
59934         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
59935         (cosh_tonearest_test_data): New variable.
59936         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59937         (cosh_towardzero_test_data): New variable.
59938         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59939         (cosh_downward_test_data): New variable.
59940         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59941         (cosh_upward_test_data): New variable.
59942         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59943         (erf_test_data): New variable.
59944         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
59945         (erfc_test_data): New variable.
59946         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59947         (exp_test_data): New variable.
59948         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
59949         (exp_tonearest_test_data): New variable.
59950         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59951         (exp_towardzero_test_data): New variable.
59952         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59953         (exp_downward_test_data): New variable.
59954         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59955         (exp_upward_test_data): New variable.
59956         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59957         (exp10_test_data): New variable.
59958         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
59959         (exp2_test_data): New variable.
59960         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
59961         (expm1_test_data): New variable.
59962         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
59963         (fabs_test_data): New variable.
59964         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
59965         (floor_test_data): New variable.
59966         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
59967         (j0_test_data): New variable.
59968         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
59969         (j1_test_data): New variable.
59970         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
59971         (log_test_data): New variable.
59972         (log_test): Run tests with RUN_TEST_LOOP_f_f.
59973         (log10_test_data): New variable.
59974         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
59975         (log1p_test_data): New variable.
59976         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
59977         (log2_test_data): New variable.
59978         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
59979         (logb_test_data): New variable.
59980         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
59981         (logb_downward_test_data): New variable.
59982         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59983         (nearbyint_test_data): New variable.
59984         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
59985         (rint_test_data): New variable.
59986         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
59987         (rint_tonearest_test_data): New variable.
59988         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
59989         (rint_towardzero_test_data): New variable.
59990         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
59991         (rint_downward_test_data): New variable.
59992         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
59993         (rint_upward_test_data): New variable.
59994         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
59995         (round_test_data): New variable.
59996         (round_test): Run tests with RUN_TEST_LOOP_f_f.
59997         (sin_test_data): New variable.
59998         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
59999         (sin_tonearest_test_data): New variable.
60000         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60001         (sin_towardzero_test_data): New variable.
60002         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60003         (sin_downward_test_data): New variable.
60004         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60005         (sin_upward_test_data): New variable.
60006         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60007         (sinh_test_data): New variable.
60008         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60009         (sinh_tonearest_test_data): New variable.
60010         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60011         (sinh_towardzero_test_data): New variable.
60012         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60013         (sinh_downward_test_data): New variable.
60014         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60015         (sinh_upward_test_data): New variable.
60016         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60017         (sqrt_test_data): New variable.
60018         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60019         (tan_test_data): New variable.
60020         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60021         (tan_tonearest_test_data): New variable.
60022         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60023         (tan_towardzero_test_data): New variable.
60024         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60025         (tan_downward_test_data): New variable.
60026         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60027         (tan_upward_test_data): New variable.
60028         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60029         (tanh_test_data): New variable.
60030         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60031         (tgamma_test_data): New variable.
60032         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60033         (trunc_test_data): New variable.
60034         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60035         (y0_test_data): New variable.
60036         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60037         (y1_test_data): New variable.
60038         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60039         (significand_test_data): New variable.
60040         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60042 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60044         [BZ #12387]
60045         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60047 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60049         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60051 2013-05-10  Andreas Jaeger  <aj@suse.de>
60053         [BZ #15448]
60054         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60055         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60057 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60059         * math/gen-libm-test.pl (adjust_arg): New function.
60060         (special_functions): Handle generating output in both functions
60061         and arrays.
60062         (parse_args): Likewise.
60063         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60064         $in_func argument to parse_args.
60065         * math/libm-test.inc (struct test_f_f_data): New type.
60066         (IF_ROUND_INIT_): New macro.
60067         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60068         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60069         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60070         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60071         (ROUND_RESTORE_): Likewise.
60072         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60073         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60074         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60075         (ROUND_RESTORE_FE_UPWARD): Likewise.
60076         (RUN_TEST_LOOP_f_f): New macro.
60077         (acos_test_data): New variable.
60078         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60079         (acos_tonearest_test_data): New variable.
60080         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60082 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60084         * benchtests/bench-skeleton.c (startup): Fix coding style.
60086 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60088         [BZ #6809]
60089         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60090         negative infinity argument.
60091         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60092         negative infinity argument.
60093         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60094         negative infinity argument.
60095         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60096         domain errors.
60098 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60100         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60101         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60102         * iconv/iconv_prog.c (main): Likewise.
60103         * locale/programs/charmap-dir.c (charmap_readdir)
60104         (fopen_uncompressed): Likewise.
60105         * locale/programs/locfile.c (siblings_uncached)
60106         (write_locale_data): Use lstat64 instead of lstat.
60107         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60108         stat.
60110 2013-05-10  Andreas Jaeger  <aj@suse.de>
60112         [BZ #15395]
60113         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60114         localization.
60115         Include <locale.h>.
60117 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60119         * elf/dl-close.c (_dl_close_worker): Add comments.
60121 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60123         [BZ #15359]
60124         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60125         high part of pi/2.
60126         (__ieee754_rem_pio2l): Update comments.
60128         [BZ #15429]
60129         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60130         high part of pi/2.
60131         (__ieee754_rem_pio2l): Update comments.
60133         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60134         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60136         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60137         M_PI_4l.
60139         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60140         (M_PI_34_LOG10El): Likewise.
60141         (M_PI2_LOG10El): Likewise.
60142         (M_PI4_LOG10El): Likewise.
60143         (M_PI_LOG10El): Likewise.
60145 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60149 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60151         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60152         (MINUS_ZERO_INIT): Likewise.
60153         (PLUS_INFTY_INIT): Likewise.
60154         (MINUS_INFTY_INIT): Likewise.
60155         (QNAN_VALUE_INIT): Likewise.
60156         (MAX_VALUE_INIT): Likewise.
60157         (MIN_VALUE_INIT): Likewise.
60158         (MIN_SUBNORM_VALUE_INIT): Likewise.
60159         (plus_zero): Initialize with PLUS_ZERO_INIT.
60160         (minus_zero): Initialize with MINUS_ZERO_INIT.
60161         (plus_infty): Initialize with PLUS_INFTY_INIT.
60162         (minus_infty): Initialize with MINUS_INFTY_INIT.
60163         (qnan_value): Initialize with QNAN_VALUE_INIT.
60164         (max_value): Initialize with MAX_VALUE_INIT.
60165         (min_value): Initialize with MIN_VALUE_INIT.
60166         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60168         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60169         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60170         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60171         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60173         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60174         (RUN_TEST_2_f): Likewise.
60175         (RUN_TEST_ff_f): Likewise.
60176         (RUN_TEST_fi_f): Likewise.
60177         (RUN_TEST_fl_f): Likewise.
60178         (RUN_TEST_fff_f): Likewise.
60179         (RUN_TEST_c_f): Likewise.
60180         (RUN_TEST_f_f1): Likewise.
60181         (RUN_TEST_fF_f1): Likewise.
60182         (RUN_TEST_fI_f1): Likewise.
60183         (RUN_TEST_ffI_f1): Likewise.
60184         (RUN_TEST_c_c): Likewise.
60185         (RUN_TEST_cc_c): Likewise.
60186         (RUN_TEST_f_i): Likewise.
60187         (RUN_TEST_f_i_tg): Likewise.
60188         (RUN_TEST_ff_i_tg): Likewise.
60189         (RUN_TEST_f_b): Likewise.
60190         (RUN_TEST_f_b_tg): Likewise.
60191         (RUN_TEST_f_l): Likewise.
60192         (RUN_TEST_f_L): Likewise.
60193         (RUN_TEST_sincos): Likewise.
60194         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60195         whether to show exceptions.  Do not include ");\n" in return
60196         value.
60197         (special_functions): Output call to RUN_TEST_sincos instead of
60198         check_float calls.  Update calls to new_test.
60199         (parse_args): Output call to single RUN_TEST_* macro instead of
60200         check_* calls and other assignments.  Update calls to new_test.
60202         [BZ #2546]
60203         [BZ #2560]
60204         [BZ #5159]
60205         [BZ #15426]
60206         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60207         input to result for tgamma overflow.
60208         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60209         (gamma_coeff): New variable.
60210         (NCOEFF): New macro.
60211         (gamma_positive): New function.
60212         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60213         underflow here.  Use gamma_positive instead of exp (lgamma) for
60214         other arguments.
60215         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60216         (gamma_coeff): New variable.
60217         (NCOEFF): New macro.
60218         (gammaf_positive): New function.
60219         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60220         underflow here.  Use gamma_positive instead of exp (lgamma) for
60221         other arguments.
60222         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60223         (gamma_coeff): New variable.
60224         (NCOEFF): New macro.
60225         (gammal_positive): New function.
60226         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60227         underflow here.  Use gamma_positive instead of exp (lgamma) for
60228         other arguments.
60229         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60230         (gamma_coeff): New variable.
60231         (NCOEFF): New macro.
60232         (gammal_positive): New function.
60233         (__ieee754_gammal_r): Handle positive infinity, overflow and
60234         underflow here.  Handle NaN the same as positive infinity.  Remove
60235         check x < 0xffffffff for negative integers.  Use gamma_positive
60236         instead of exp (lgamma) for other arguments.
60237         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60238         (gamma_coeff): New variable.
60239         (NCOEFF): New macro.
60240         (gammal_positive): New function.
60241         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60242         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60243         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60244         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60245         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60246         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60247         * sysdeps/generic/math_private.h (__gamma_productf): New
60248         prototype.
60249         (__gamma_product): Likewise.
60250         (__gamma_productl): Likewise.
60251         * math/Makefile (libm-calls): Add gamma_product.
60252         * math/libm-test.inc (tgamma_test): Add more tests.
60253         * sysdeps/i386/fpu/libm-test-ulps: Update.
60254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60256 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60258         * benchtests/bench-skeleton.c (main): Preheat CPU.
60260 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60262         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60264 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60266         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60267         and _dl_skip_args_internal.
60269 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60271         * manual/message.texi (Message Translation): Talk about users.
60272         Message to key mapping impacts design.
60274 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60276         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60278         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60280         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60281         * sysdeps/wordsize-64/glob64.c: ... here.
60283         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60284         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60285         New macros.
60287         * debug/getlogin_r_chk.c: Moved to ...
60288         * login/getlogin_r_chk.c: ... here.
60289         * debug/Makefile (routines): Move getlogin_r_chk to ...
60290         * login/Makefile (routines): ... here.
60291         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60292         * login/Versions (libc: GLIBC_2.4): ... here.
60294         * io/poll.c (__poll): Renamed from poll.
60295         Add libc_hidden_def.
60296         (poll): Define as weak alias.
60298         * debug/ptsname_r_chk.c: Moved to ...
60299         * login/ptsname_r_chk.c: ... here.
60300         * debug/Makefile (routines): Move ptsname_r_chk to ...
60301         * login/Makefile (routines): ... here.
60302         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60303         * login/Versions (libc: GLIBC_2.4): ... here.
60305         * posix/getlogin.c: Moved to ...
60306         * login/getlogin.c: ... here.
60307         * posix/getlogin_r.c: Moved to ...
60308         * login/getlogin_r.c: ... here.
60309         * posix/getlogin_r.c: Moved to ...
60310         * login/getlogin_r.c: ... here.
60311         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60312         * login/Makefile (routines): ... here.
60313         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60314         * login/Versions (libc: GLIBC_2.0): ... here.
60316         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60317         (setrlimit): Define as weak alias.
60319         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60320         Call __ names for open, ftruncate, and close.
60321         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60322         (truncate): Define as weak alias.
60324 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60326         * math/gen-libm-test.pl (parse_args): Initialize x before each
60327         test of frexp, modf and remquo.
60329         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60330         test signgam value.
60332 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60334         [BZ #15418]
60335         [BZ #15419]
60336         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60337         internal tests.
60338         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60340 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60342         * elf/dl-writev.h: New file.
60343         * elf/dl-misc.c: Include it.
60344         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60345         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60347 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60349         * math/libm-test.inc (noXFails): Remove variable.
60350         (noXPasses): Likewise.
60351         (BUILD_COMPLEX_INT): Remove macro.
60352         (print_screen): Remove xfail argument.
60353         (print_screen_max_error): Likewise.
60354         (update_stats): Likewise.
60355         (print_max_error): Likewise.  Update calls to other affected
60356         functions.
60357         (print_complex_max_error): Likewise.
60358         (test_single_exception): Update calls to print_screen.
60359         (test_single_errno): Likewise.
60360         (check_float_internal): Remove xfail argument.  Update calls to
60361         other affected functions.
60362         (check_float): Likewise.
60363         (check_complex): Likewise.
60364         (check_int): Likewise.
60365         (check_long): Likewise.
60366         (check_bool): Likewise.
60367         (check_longlong): Likewise.
60368         (main): Don't print noXFails and noXPasses.
60369         * math/gen-libm-test.pl (top level): Don't mention expected
60370         failure handling in comment.
60371         (new_test): Don't handle expected failures.
60372         (parse_args): Don't mention expected failure handling in comment.
60373         (generate_testfile): Don't handle expected failures.
60374         (parse_ulps): Likewise.
60375         (print_ulps_file): Likewise.
60376         (get_failure): Remove function.
60377         (output_test): Don't handle expected failures.
60378         * make/README.libm-test: Don't mention expected failure handling.
60380         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60381         (minus_zero): Likewise.
60382         (plus_infty): Likewise.
60383         (minus_infty): Likewise.
60384         (qnan_value): Likewise.
60385         (max_value): Likewise.
60386         (min_value): Likewise.
60387         (min_subnorm_value): Likewise.
60388         (initialize): Do not initialize those variables dynamically.
60390 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60392         * io/open.c (__open_2): Moved to ...
60393         * io/open_2.c: ... this new file.
60394         * io/open64.c (__open64_2): Moved to ...
60395         * io/open64_2.c: ... this new file.
60396         * io/openat.c (__openat_2): Moved to ...
60397         * io/openat_2.c: ... this new file.
60398         * io/openat64.c (__openat64_2): Moved to ...
60399         * io/openat64_2.c: ... this new file.
60400         * io/Makefile (routines): Add them.
60401         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60402         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60403         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60404         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60405         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60406         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60407         (__openat64): Add hidden_ver.
60408         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60409         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60411         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60412         Separately conditionalize setting of GLRO(dl_sysinfo) so
60413         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60414         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60416 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60418         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60419         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60420         definition.
60421         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60422         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60423         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60424         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60425         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60427 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60429         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60430         test signgam value.
60432         * math/libm-test.inc (hypot_test): Do not use
60433         IGNORE_ZERO_INF_SIGN.
60435 2013-05-03  Andreas Jaeger  <aj@suse.de>
60437         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60438         Linux 3.9.
60439         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60440         (PF_MAX): Adjust for VSOCK change.
60442 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60446 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60448         [BZ #15264]
60449         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60450         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60451         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60453 2013-05-02  David S. Miller  <davem@davemloft.net>
60455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60457 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60459         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60461 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60463         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60465 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60467         [BZ #14952]
60468         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60469         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60470         Use __attribute__ ((__gnu_inline__)).
60471         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60472         Don't use __attribute__ ((__gnu_inline__)).
60474 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60476         [BZ #15423]
60477         * math/s_catan.c (__catan): Handle small real or imaginary part of
60478         input specially to avoid spurious underflow.
60479         * math/s_catanf.c (__catanf): Likewise.
60480         * math/s_catanh.c (__catanh): Likewise.
60481         * math/s_catanhf.c (__catanhf): Likewise.
60482         * math/s_catanhl.c (__catanhl): Likewise.
60483         * math/s_catanl.c (__catanl): Likewise.
60484         * math/libm-test.inc (catan_test): Add more tests.
60485         (catanh_test): Likewise.
60486         * sysdeps/i386/fpu/libm-test-ulps: Update.
60487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60489 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60493 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60495         [BZ #15416]
60496         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60497         accurately for denominator in atan2.
60498         * math/s_catanf.c (__catanf): Likewise.
60499         * math/s_catanh.c (__catanh): Likewise.
60500         * math/s_catanhf.c (__catanhf): Likewise.
60501         * math/s_catanhl.c (__catanhl): Likewise.
60502         * math/s_catanl.c (__catanl): Likewise.
60503         * math/libm-test.inc (catan_test): Add more tests.
60504         (catanh_test): Likewise.
60505         * sysdeps/i386/fpu/libm-test-ulps: Update.
60506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60508 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60510         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60512         * benchtests/Makefile (bench): Remove slow benchmarks.
60513         * benchtests/atan-inputs: Add slow benchmark inputs.
60514         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60515         (BENCH_FUNC): Accept variant offset.
60516         (VARIANT): Define.
60517         * benchtests/bench-skeleton.c (main): Run benchmark for each
60518         variant.
60519         * benchtests/cos-inputs: Add slow benchmark inputs.
60520         * benchtests/exp-inputs: Likewise.
60521         * benchtests/pow-inputs: Likewise.
60522         * benchtests/sin-inputs: Likewise.
60523         * benchtests/slowatan-inputs: Remove.
60524         * benchtests/slowatan.c: Remove.
60525         * benchtests/slowcos-inputs: Remove.
60526         * benchtests/slowcos.c: Remove.
60527         * benchtests/slowexp-inputs: Remove.
60528         * benchtests/slowexp.c: Remove.
60529         * benchtests/slowpow-inputs: Remove.
60530         * benchtests/slowpow.c: Remove.
60531         * benchtests/slowsin-inputs: Remove.
60532         * benchtests/slowsin.c: Remove.
60533         * benchtests/slowtan-inputs: Remove.
60534         * benchtests/slowtan.c: Remove.
60535         * benchtests/tan-inputs: Add slow benchmark inputs.
60536         * scripts/bench.pl: Parse comments and directives.
60538         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60539         in CPPFLAGS.
60540         ($(objpfx)bench-%.c): Remove *-ITER.
60541         * benchtests/bench-modf.c: Remove definition of ITER.
60542         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60543         (main): Loop for DURATION seconds instead of fixed number of
60544         iterations.
60545         * scripts/bench.pl: Don't expect iterations in parameters.
60547 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60549         * io/fchdir.c (__fchdir): Renamed from fchdir.
60550         (fchdir): Define as weak alias.
60552 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60554         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60555         (ERRNO_EDOM): Likewise.
60556         (ERRNO_ERANGE): Likewise.
60557         (noErrnoTests): New variable.
60558         (init_max_error): Set errno to 0.
60559         (test_single_errno): New function.
60560         (test_errno): Likewise.
60561         (check_float_internal): Call test_errno.  Set errno to 0.
60562         (check_complex): Refer to errno tests in comment.
60563         (check_int): Call test_errno.  Set errno to 0.
60564         (check_long): Likewise.
60565         (check_bool): Likewise.
60566         (check_longlong): Likewise.
60567         (cos_test): Use ERRNO_* flags for errno tests instead of
60568         check_int.
60569         (expm1_test): Likewise.
60570         (fmod_test): Likewise.
60571         (ilogb_test): Likewise.
60572         (lgamma_test): Likewise.
60573         (pow_test): Likewise.
60574         (remainder_test): Likewise.
60575         (sin_test): Likewise.
60576         (tan_test): Likewise.
60577         (yn_test): Likewise.
60578         (initialize): Set errno to 0.
60579         (main): Print number of errno tests.
60580         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60582 2013-04-29  Andreas Jaeger  <aj@suse.de>
60584         [BZ #15084]
60585         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60586         and RES_USEVC.
60588         [BZ #15085]
60589         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60590         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60591         unimplemented.
60593         [BZ #15380]
60594         * stdlib/random.c (__initstate): Return NULL if
60595         __initstate fails.
60597         [BZ #15086]
60598         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60599         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60600         RES_SNGLKUPREOP.
60602 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60606 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60608         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60609         of individual tests.
60610         (casin_test): Likewise.
60611         (casinh_test): Likewise.
60613 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60615         [BZ #15409]
60616         * math/s_catan.c (__catan): Handle arguments with large real or
60617         imaginary part separately without squaring.
60618         * math/s_catanf.c (__catanf): Likewise.
60619         * math/s_catanh.c (__catanh): Likewise.
60620         * math/s_catanhf.c (__catanhf): Likewise.
60621         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60622         and redefine.
60623         (__catanhl): Handle arguments with large real or imaginary part
60624         separately without squaring.
60625         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60626         and redefine.
60627         (__catanl): Handle arguments with large real or imaginary part
60628         separately without squaring.
60629         * math/libm-test.inc (catan_test): Add more tests.
60630         (catanh_test): Likewise.
60631         * sysdeps/i386/fpu/libm-test-ulps: Update.
60632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60634 2013-04-27  Andreas Jaeger  <aj@suse.de>
60636         [BZ #15007]
60637         * stdlib/stdlib.h: Update guards for qecvt.
60638         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60639         <stdlib.h>.
60641 2013-04-27  Allan McRae  <allan@archlinux.org>
60643         * sysdeps/i386/fpu/libm-test-ulps: Update.
60645 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60647         [BZ #15406]
60648         * math/s_catan.c: Include <float.h>.
60649         (__catan): Ensure underflow exception occurs for underflowed
60650         result.
60651         * math/s_catanf.c: Include <float.h>.
60652         (__catanf): Ensure underflow exception occurs for underflowed
60653         result.
60654         * math/s_catanh.c: Include <float.h>.
60655         (__catanh): Ensure underflow exception occurs for underflowed
60656         result.
60657         * math/s_catanhf.c: Include <float.h>.
60658         (__catanhf): Ensure underflow exception occurs for underflowed
60659         result.
60660         * math/s_catanhl.c: Include <float.h>.
60661         (__catanhl): Ensure underflow exception occurs for underflowed
60662         result.
60663         * math/s_catanl.c: Include <float.h>.
60664         (__catanl): Ensure underflow exception occurs for underflowed
60665         result.
60666         * math/libm-test.inc (catan_test): Add more tests.
60667         (catanh_test): Likewise.
60669         [BZ #15405]
60670         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60671         underflowed result.
60672         * math/s_ccoshf.c (__ccoshf): Likewise.
60673         * math/s_ccoshl.c (__ccoshl): Likewise.
60674         * math/s_csin.c (__csin): Likewise.
60675         * math/s_csinf.c (__csinf): Likewise.
60676         * math/s_csinh.c (__csinh): Likewise.
60677         * math/s_csinhf.c (__csinhf): Likewise.
60678         * math/s_csinhl.c (__csinhl): Likewise.
60679         * math/s_csinl.c (__csinl): Likewise.
60680         * math/libm-test.inc (ccos_test): Add more tests.
60681         (ccosh_test): Likewise.
60682         (csin_test): Likewise.
60683         (csinh_test): Likewise.
60685 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60687         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60688         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60689         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60690         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60691         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60692         powerpc/power5+/fpu folders.
60693         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60696 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60700 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60702         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60703         additions to variable.
60704         [$(config-machine) = x86_64] (modules-names): Likewise.
60705         ($(objpfx)tst-audit3): Remove dependency.
60706         ($(objpfx)tst-audit3.out): Likewise.
60707         ($(objpfx)tst-audit4): Likewise.
60708         ($(objpfx)tst-audit4.out): Likewise.
60709         ($(objpfx)tst-audit5): Likewise.
60710         ($(objpfx)tst-audit5.out): Likewise.
60711         ($(objpfx)tst-audit6): Likewise.
60712         ($(objpfx)tst-audit6.out): Likewise.
60713         ($(objpfx)tst-audit7): Likewise.
60714         ($(objpfx)tst-audit7.out): Likewise.
60715         (tst-audit3-ENV): Remove variable.
60716         (tst-audit4-ENV): Likewise.
60717         (tst-audit5-ENV): Likewise.
60718         (tst-audit6-ENV): Likewise.
60719         (tst-audit7-ENV): Likewise.
60720         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
60721         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
60722         addition to variable.
60723         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
60724         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
60725         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
60726         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
60727         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
60728         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
60729         tst-audit3, tst-audit4 and tst-audit5.
60730         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
60731         tst-audit6 and tst-audit7.
60732         [$(subdir) = elf] (modules-names): Add audit modules for those
60733         tests.
60734         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
60735         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
60736         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
60737         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
60738         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
60739         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
60740         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
60741         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
60742         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
60743         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
60744         [$(subdir) = elf] (tst-audit3-ENV): New variable.
60745         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
60746         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
60747         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
60748         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
60749         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
60750         Likewise.
60751         [$(subdir) = elf && $(config-cflags-avx) = yes]
60752         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
60753         [$(subdir) = elf && $(config-cflags-avx) = yes]
60754         (CFLAGS-tst-auditmod4a.c): Likewise.
60755         [$(subdir) = elf && $(config-cflags-avx) = yes]
60756         (CFLAGS-tst-auditmod4b.c): Likewise.
60757         [$(subdir) = elf && $(config-cflags-avx) = yes]
60758         (CFLAGS-tst-auditmod6b.c): Likewise.
60759         [$(subdir) = elf && $(config-cflags-avx) = yes]
60760         (CFLAGS-tst-auditmod6c.c): Likewise.
60761         [$(subdir) = elf && $(config-cflags-avx) = yes]
60762         (CFLAGS-tst-auditmod7b.c): Likewise.
60763         * elf/tst-audit3.c: Move to ...
60764         * sysdeps/x86_64/tst-audit3.c: ... here.
60765         * elf/tst-audit4.c: Move to ...
60766         * sysdeps/x86_64/tst-audit4.c: ... here.
60767         * elf/tst-audit5.c: Move to ...
60768         * sysdeps/x86_64/tst-audit5.c: ... here.
60769         * elf/tst-audit6.c: Move to ...
60770         * sysdeps/x86_64/tst-audit6.c: ... here.
60771         * elf/tst-audit7.c: Move to ...
60772         * sysdeps/x86_64/tst-audit7.c: ... here.
60773         * elf/tst-auditmod3a.c: Move to ...
60774         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
60775         * elf/tst-auditmod3b.c: Move to ...
60776         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
60777         * elf/tst-auditmod4a.c: Move to ...
60778         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
60779         * elf/tst-auditmod4b.c: Move to ...
60780         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
60781         * elf/tst-auditmod5a.c: Move to ...
60782         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
60783         * elf/tst-auditmod5b.c: Move to ...
60784         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
60785         * elf/tst-auditmod6a.c: Move to ...
60786         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
60787         * elf/tst-auditmod6b.c: Move to ...
60788         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
60789         * elf/tst-auditmod6c.c: Move to ...
60790         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
60791         * elf/tst-auditmod7a.c: Move to ...
60792         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
60793         * elf/tst-auditmod7b.c: Move to ...
60794         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
60796 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
60798         [BZ #15366]
60799         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
60800         define unconditionally.
60801         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
60802         define unconditionally.
60803         (INT8_C, INT16_C, etc.): Likewise.
60805 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
60807         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
60808         __ehdr_start with hidden visibility.
60810         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
60812 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
60814         * math/libm-test.inc (cos_test): Use accurate hex constants.
60815         (sincost_test): Likewise.
60817 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
60819         * math/libm-test.inc (catan_test): Add more tests.
60820         (catanh_test): Likewise.
60822         * math/s_catanf.c (__catanf): Use suffixed floating-point
60823         constants.
60824         * math/s_catanhf.c (__catanhf): Likewise.
60825         * math/s_catanhl.c (__catanhl): Likewise.
60826         * math/s_catanl.c (__catanl): Likewise.
60828         [BZ #15394]
60829         * math/s_catan.c (__catan): Calculate imaginary part of result
60830         with log1p not log unless computing log of number close to 0.
60831         * math/s_catanf.c (__catanf): Likewise.
60832         * math/s_catanl.c (__catanl): Likewise.
60833         * math/s_catanh.c (__catanh): Calculate real part of result with
60834         log1p not log unless computing log of number close to 0.
60835         * math/s_catanhf.c (__catanhf): Likewise.
60836         * math/s_catanhl.c (__catanhl): Likewise.
60837         * math/libm-test.inc (catan_test): Add more tests.
60838         (catanh_test): Likewise.
60839         * sysdeps/i386/fpu/libm-test-ulps: Update.
60840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60842 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
60844         * benchtests/Makefile: Mention files in which fast and slow
60845         paths of math functions are implemented.
60847 2013-04-23  Roland McGrath  <roland@hack.frob.com>
60849         * sysdeps/posix/timespec_get.c: New file.
60851 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60853         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
60854         POWER.
60855         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
60856         for POWER.
60857         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
60858         powerpc/power5/fpu folders.
60859         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
60860         * benchtests/Makefile: Add modf testcase.
60861         * benchtests/bench-modf.c: New file: Benchmark test for mo
60863 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         [BZ #14888]
60866         * time/Makefile (tests): Add tst-strptime-whitespace.
60867         * time/strptime_l.c (get_number): Use ISSPACE.
60868         (__strptime_internal): Likewise.
60869         * time/tst-strptime-whitespace.c: New test case.
60871 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
60873         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
60874         member.
60875         (_nss_files_init): Set it here.
60877 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
60879         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
60880         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
60881         unsigned.
60883 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
60885         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
60887 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60889         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
60890         size just once.
60892 2013-04-21  David S. Miller  <davem@davemloft.net>
60894         * po/ru.po: Update Russion translation from translation project.
60896 2013-04-17  Adam Conrad  <adconrad@0c3.net>
60898         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
60899         and setfsgid.
60901 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
60903         * configure.in: Remove i386 configure warning. Remove i386 case.
60904         * configure: Regenerate.
60905         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
60906         Add example to error message.
60907         * sysdeps/i386/configure: Regenerate.
60909 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60911         * benchtests/Makefile (bench): Add cos, tan, slowcos and
60912         slowtan.
60913         * benchtests/cos-inputs: New file.
60914         * benchtests/slowcos-inputs: New file.
60915         * benchtests/slowcos.c: New file.
60916         * benchtests/slowtan-inputs: New file.
60917         * benchtests/slowtan.c: New file.
60918         * benchtests/tan-inputs: New file.
60920 2013-04-16  Roland McGrath  <roland@hack.frob.com>
60922         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
60923         considered kosher.
60925 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60927         * benchtests/Makefile: Include cppflags-iterator.mk to add
60928         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
60930         * Makefile.in (bench-clean): New target.
60931         * benchtests/Makefile (bench-clean): Likewise.
60933 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
60935         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
60937 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
60939         * stdio-common/tstdiomisc.c: Fix coding-style violation.
60941 2013-04-15  Andreas Schwab  <schwab@suse.de>
60943         * nscd/grpcache.c (cache_addgr): Properly check for short write.
60944         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60945         * nscd/pwdcache.c (cache_addpw): Likewise.
60946         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
60947         more than recsize.
60949 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60951         * benchtests/Makefile (bench): Write all output to
60952         bench-out.tmp together.
60954 2013-04-15  Andreas Schwab  <schwab@suse.de>
60956         * nscd/nscd.c (main): Don't fork again after closing files.
60958 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60960         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
60962         * benchtests/Rules (bench-deps): Collect dependencies into a
60963         single variable.  Add Makefile to dependencies.
60964         ($(objpfx)bench-%.c): Depend on bench-deps.
60966 2013-04-12  Roland McGrath  <roland@hack.frob.com>
60967             Xavier Roche  <roche+kml2@exalead.com>
60969         [BZ #15361]
60970         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
60971         just that it's a file descriptor.
60972         * manual/llio.texi (Synchronizing AIO Operations): Update description
60973         for EBADF error from aio_fsync.
60975 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
60977         * Rules (bench): Move target definition...
60978         * benchtests/Makefile: ... here.
60980 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
60982         * math/libm-test.inc (cos_test): Fix PI/2 test.
60983         (sincos_test): Likewise.
60984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
60985         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
60987 2013-04-11  Andreas Schwab  <schwab@suse.de>
60989         [BZ #13988]
60990         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
60991         accept exponent character only when digits were seen.
60992         * stdio-common/Makefile (tests): Add bug26.
60993         * stdio-common/bug26.c: New file.
60995         [BZ #14293]
60996         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
60997         non-freeable.
60999 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61001         * Makeconfig (rtld-prefix): Define built linker prefix.
61002         * Rules (run-bench): Use it.
61003         * math/Makefile (run-regen-ulps): Likewise.
61005         * Rules (bench): Remove eval.
61007 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61008             Roland McGrath  <roland@hack.frob.com>
61009             Ondrej Bilka  <neleai@seznam.cz>
61011         [BZ #15346]
61012         * time/getdate.c: Include ctype.h and alloca.h.
61013         (__getdate_r): Trim leading and trailing spaces of input.
61014         * time/tst-getdate.c (tests): Add tests with leading and
61015         trailing spaces.
61017 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61019         [BZ #14280]
61020         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61021         when computing value.
61023 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61025         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61026         Use testrun.sh to run libm tests.
61028         [BZ #15309]
61029         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61031 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61033         [BZ #15264]
61034         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61036 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61038         * Makefile.in (regen-ulps): New target.
61039         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61040         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61041         [ifneq (no,$(PERL)] (regen-ulps): New target.
61042         [ifeq (no,$(PERL)] (regen-ulps): New target.
61043         * math/libm-test.inc (ulps_file_name): Define.
61044         (output_dir): New variable.
61045         (options): Add "output-dir" option.
61046         (parse_opt): Handle 'o' case.
61047         (main): If output_dir is non-NULL use it as a prefix
61048         otherwise use "".
61049         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61051 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61053         [BZ #10060, #10062]
61054         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61055         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61056         fail configure if __sync_val_compare_and_swap is not inlined.
61057         * sysdeps/i386/configure: Regenerate.
61058         * configure.in: Build for i686 when configured for i386.
61059         * configure: Regenerate.
61060         * README: Remove i386 reference.
61062 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61064         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61065         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61067 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61069         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61070         (lmsnanval): New variables.
61071         (F): Add conversion tests.
61072         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61073         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61075         * stdio-common/tstdiomisc.c (F): Properly collect individual
61076         tests' results.
61078         [BZ #14686, #15336]
61079         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61080         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61081         Instead, use input NaN values or generate a qNaN by arithmetic
61082         operation.  Also fix bugs to comply with the standard.
61083         * math/libm-test.inc (remainder_test): Add more tests.
61085         [BZ #15335, #15342]
61086         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61087         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61088         input NaN values or generate a qNaN by arithmetic operation.
61090         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61091         unreachable code.
61093         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61094         definitions.
61096 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61098         [BZ #14478]
61099         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61100         underflowed result.
61101         * math/s_cexpf.c (__cexpf): Likewise.
61102         * math/s_cexpl.c (__cexpl): Likewise.
61103         * math/libm-test.inc (cexp_test): Add more tests.
61105 2013-04-03  Andreas Schwab  <schwab@suse.de>
61107         [BZ #15330]
61108         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61109         order arrays from heap if bigger than alloca cutoff.
61111 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61113         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61114         (SNAN_TESTS_double): Refer to GCC PR56831.
61115         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61116         GCC PR56828.
61118 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61120         * Rules (bench): Move bench.out after the run is complete.
61122         * Rules (bench): Echo currently running benchmark.
61124         * benchtests/Makefile (bench): Add atan and slowatan.
61125         * benchtests/atan-inputs: New file.
61126         * benchtests/slowatan-inputs: New file.
61127         * benchtests/slowatan.c: New file.
61129         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61130         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61131         its value.
61133         [BZ #15305]
61134         * sysdeps/unix/sysv/linux/kernel-features.h
61135         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61136         __ASSUME_XFS_RESTRICTED_CHOWN.
61137         * sysdeps/unix/sysv/linux/pathconf.c
61138         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61139         Save and restore errno.
61141 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61143         [BZ #15327]
61144         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61145         arguments using __kernel_casinh.
61146         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61147         arguments using __kernel_casinhf.
61148         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61149         arguments using __kernel_casinhl.
61150         * math/libm-test.inc (cacosh_test): Add more tests.
61151         * sysdeps/i386/fpu/libm-test-ulps: Update.
61152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61154 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61156         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61159         * bench/Makefile (bench): Add sin and slowsin.
61160         * benchtests/sin-inputs: New file.
61161         * benchtests/slowsin-inputs: New file.
61162         * benchtests/slowsin.c: New file.
61164         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61165         (bench): Add slowexp and slowpow.
61166         (exp-ITER): Increase iterations.
61167         (pow-ITER): Likewise.
61168         * benchtests/exp-inputs: Change input.
61169         * benchtests/pow-inputs: Likewise.
61170         * benchtests/slowexp-inputs: New file.
61171         * benchtests/slowexp.c: New file.
61172         * benchtests/slowpow-inputs: New file.
61173         * benchtests/slowpow.c: New file.
61175 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61177         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61178         instructions.
61179         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61180         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61181         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61182         * benchtests/Makefile: Add rint benchtest.
61183         * benchtests/rint-inputs: Input for rint benchtest.
61185 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61187         * Versions.def (libm): Add GLIBC_2.18.
61188         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61189         hidden libm prototypes.
61190         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61191         * math/Makefile (libm-calls): Add s_issignaling.
61192         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61193         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61194         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61195         declaration.
61196         * math/math.h [__USE_GNU] (issignaling): New macro.
61197         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61198         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61199         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61200         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61201         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61202         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61203         * manual/arith.texi (issignaling): New section.
61204         * manual/libm-err-tab.pl (@all_functions): Update comment.
61205         * math/gen-libm-test.pl (parse_args): Apply special handling for
61206         issignaling.
61207         * math/libm-test.inc (print_float, issignaling_test): New
61208         functions.
61209         (check_float_internal): Add issignaling checks.
61210         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61211         default definition.
61212         * sysdeps/powerpc/math-tests.h: New file.
61213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61214         tests.
61215         * math/test-snan.c (TEST_FUNC): Likewise.
61217 2013-03-30  David S. Miller  <davem@davemloft.net>
61219         * po/de.po: Update from translation team.
61221 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61223         [BZ #10357]
61224         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61225         imaginary part less than 1.0 and real part less than 0.5
61226         specially.
61227         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61228         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61229         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61230         (cacos_test): Add more tests.
61231         (casin_test): Likewise.
61232         (casinh_test): Likewise.
61233         * sysdeps/i386/fpu/libm-test-ulps: Update.
61234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61236 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61238         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61239         ONE with its value.
61241         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61242         (__pow_mp): Replace ONE and MONE with their values.
61243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61244         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61245         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61246         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61247         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61248         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61250         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61252         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61253         (__pow_mp): Replace ZERO and MZERO with their values.
61254         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61255         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61257         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61259         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61260         (__sqr): Likewise.
61262         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61264         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61266 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61268         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61269         Declare with __attribute__ ((weak)).
61270         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61271         Call __call_tls_dtors only if it's not NULL.
61273 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61275         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61276         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61277         magic __ehdr_start linker symbol if it's defined.
61278         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61279         them up here if it was already done.
61281         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61282         (_dl_aux_init): Use const in cast when setting it.
61283         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61284         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61285         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61287         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61288         Declare them here.
61289         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61290         * csu/libc-tls.c: Nor here.
61291         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61293         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61294         (__libc_message): Never call vsyslog.
61296 2013-03-28  Alan Modra  <amodra@gmail.com>
61298         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61299         Define as empty.
61300         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61301         Likewise.
61303 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61305         [BZ #15214]
61306         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61307         underflow.
61308         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61310 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61312         [BZ #15304]
61313         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61314         Don't add gid passed as argument.
61316         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61318 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61320         [BZ #15307]
61321         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61322         imaginary part between 1.0 and 1.5 and real part less than 0.5
61323         specially.
61324         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61325         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61326         * math/libm-test.inc (cacos_test): Add more tests.
61327         (casin_test): Likewise.
61328         (casinh_test): Likewise.
61329         * sysdeps/i386/fpu/libm-test-ulps: Update.
61330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61332 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61334         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61335         constants.
61336         (norm): Likewise.
61337         (denorm): Likewise.
61338         (__dbl_mp): Likewise.
61339         (add_magnitudes): Likewise.
61340         (sub_magnitudes): Likewise.
61341         (__add): Likewise.
61342         (__sub): Likewise.
61343         (__mul): Likewise.
61344         (__sqr): Likewise.
61345         (__inv): Likewise.
61346         (__dvd): Likewise.
61348         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61349         commented code.
61350         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61351         (__dubcos): Likewise.
61352         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61353         (__ieee754_acos): Likewise.
61354         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61355         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61356         (__exp1): Likewise.
61357         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61359         (log1): Likewise.
61360         (my_log2): Likewise.
61361         (checkint): Likewise.
61362         * sysdeps/ieee754/dbl-64/e_remainder.c
61363         (__ieee754_remainder): Likewise.
61364         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61366         (bsloww): Likewise.
61367         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61369         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61370         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61371         MANTISSA_STORE_T to store computations on mantissa.  Use
61372         macros for rounding and division.
61373         (denorm): Likewise.
61374         (__dbl_mp): Likewise.
61375         (add_magnitudes): Likewise.
61376         (sub_magnitudes): Likewise.
61377         (__mul): Likewise.
61378         (__sqr): Likewise.
61379         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61380         powers of two in terms of TWOPOW macro.
61381         (mp_no): Make type of mantissa as MANTISSA_T.
61382         [!RADIXI]: Define RADIXI.
61383         [!TWO52]: Define TWO52.
61384         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61386 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61388         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61389         llroundl symbol when building for PPC32.
61391 2013-03-24  Mark H Weaver  <mhw@netris.org>
61393         * manual/arith.texi (Normalization Functions): Fix prototypes for
61394         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61396 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61398         [BZ #13889]
61399         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61400         high value to check if expl overflow.
61401         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61402         to check for underflow and overflow.
61403         * math/libm-test.inc: Add exp test.
61405 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61407         [BZ #11120]
61408         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61409         with NOT_IN_libc.
61411 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61413         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61414         symbol.
61416 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61418         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61419         wrap blocks consisting of several statements.
61421         * sysdeps/generic/math-tests.h: New file.
61422         * sysdeps/i386/fpu/math-tests.h: Likewise.
61423         * math/test-snan.c: Include it.
61424         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61426 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61428         [BZ #15285]
61429         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61430         (__ieee754_j0l): Do not improve calculations using cos of twice
61431         input for inputs above LDBL_MAX / 2.0L.
61432         (__ieee754_y0l): Likewise.
61433         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61434         (__ieee754_j1l): Do not improve calculations using cos of twice
61435         input for inputs above LDBL_MAX / 2.0L.
61436         (__ieee754_y1l): Likewise.
61437         * math/libm-test.inc (j0_test): Add another test.
61438         (j1_test): Likewise.
61439         (y0_test): Likewise.
61440         (y1_test): Likewise.
61441         * sysdeps/i386/fpu/libm-test-ulps: Update.
61443 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61445         * Rules ($(objpfx)bench-%.c): Include code from a C source
61446         file.
61448 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61450         [BZ #15287]
61451         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61452         imaginary part 1.0 and real part less than 0.5 specially.
61453         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61454         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61455         * math/libm-test.inc (cacos_test): Add more tests.
61456         (casin_test): Likewise.
61457         (casinh_test): Likewise.
61458         * sysdeps/i386/fpu/libm-test-ulps: Update.
61459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61461 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61463         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61464         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61466 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61468         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61469         * config.make.in (config-cflags-sse4): Remove variable.
61470         (config-cflags-avx): Likewise.
61471         (config-cflags-sse2avx): Likewise.
61472         (config-cflags-novzeroupper): Likewise.
61473         (config-asflags-i686): Likewise.
61474         (have-mfma4): Likewise.
61475         (have-as-vis3): Likewise.
61476         (MIG): Likewise.
61477         * configure.in (MIG): Do not AC_SUBST.
61478         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61479         (libc_cv_cc_sse4): Do not AC_SUBST.
61480         (libc_cv_cc_avx): Likewise.
61481         (libc_cv_cc_sse2avx): Likewise.
61482         (libc_cv_cc_novzeroupper): Likewise.
61483         (libc_cv_cc_fma4): Likewise.
61484         (libc_cv_as_i686): Likewise.
61485         (libc_cv_sparc_as_vis3): Likewise.
61486         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61487         LIBC_CONFIG_VAR.
61488         (config-asflags-i686): Likewise.
61489         (config-cflags-avx): Likewise.
61490         (config-cflags-sse2avx): Likewise.
61491         (have-mfma4): Likewise.
61492         (config-cflags-novzeroupper): Likewise.
61493         * sysdeps/mach/configure.in (MIG): Likewise.
61494         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61495         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61496         LIBC_CONFIG_VAR.
61497         (config-cflags-avx): Likewise.
61498         (config-cflags-sse2avx): Likewise.
61499         (have-mfma4): Likewise.
61500         (config-cflags-novzeroupper): Likewise.
61501         * configure: Regenerated.
61502         * sysdeps/i386/configure: Likewise.
61503         * sysdeps/mach/configure: Likewise.
61504         * sysdeps/sparc/configure: Likewise.
61505         * sysdeps/x86_64/configure: Likewise.
61507 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61509         [BZ #14812]
61510         * locale/programs/localedef.c (options): Put N_ translation marker
61511         on argument names, not just descriptions.
61513 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61515         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61517 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61519         [BZ #14176]
61520         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61522 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61524         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61525         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61526         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61527         [!BEFORE_ABORT] (before_abort): New function.
61528         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61529         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61530         (writev_for_fatal): New function.
61531         (WRITEV_FOR_FATAL): New macro; call that.
61532         (backtrace_and_maps): New function.
61533         (BEFORE_ABORT): New macro; call that.
61534         (struct str_list): Type removed.
61535         (__libc_message, __libc_fatal): Functions removed.
61536         Include <sysdeps/posix/libc_fatal.c> instead.
61538 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61540         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61541         constants.
61542         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61543         double constants.
61545 2013-03-19  Andreas Schwab  <schwab@suse.de>
61547         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61548         * sysdeps/gnu/configure: Regenerate.
61550         * configure.in: Substitute libc_cv_rtlddir.
61551         * configure: Regenerate.
61552         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61553         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61554         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61555         * elf/Makefile (install-others, CFLAGS-interp.c)
61556         (ldso_install, common-ldd-rewrite): Likewise.
61557         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61558         $(inst_slibdir)/$(rtld-installed-name).
61559         * scripts/rellns-sh: Add -p option.
61560         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61561         for source.
61563 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61565         * manual/nptl.texi: Renamed to ...
61566         * manual/threads.texi: ... this.
61567         * manual/Makefile (chapters): Update.
61569 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61571         [BZ #14812]
61572         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61573         on argument names, not just descriptions.
61574         * malloc/memusagestat.c (options): Likewise.
61575         * nss/getent.c (options): Likewise.
61577 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61579         [BZ #14812]
61580         * iconv/iconv_prog.c (options): Put N_ translation marker
61581         on argument names, not just descriptions.
61582         * iconv/iconvconfig.c (options): Likewise.
61584 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61586         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61587         implementation which is faster on all x86_64 architectures.
61588         Tested on AMD, Intel Nehalem, SNB, IVB.
61589         * sysdeps/x86_64/strnlen.S: Likewise.
61591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61592         Remove all multiarch strlen and strnlen versions.
61593         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61594         Remove strlen and strnlen related parts.
61596         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61597         Inline strlen part.
61598         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61600         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61601         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61602         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61603         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61604         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61605         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61607 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61609         * manual/memory.texi (Malloc Tunable Parameters):
61610         Sort parameters alphabetically. Add comments for missing entries.
61612 2013-03-17  David S. Miller  <davem@davemloft.net>
61614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61616 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61618         [BZ #15283]
61619         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61620         for arguments at most half maximum finite value.
61621         * math/libm-test.inc (j0_test): Add more tests.
61622         (j1_test): Likewise.
61623         (y0_test): Likewise.
61624         (y1_test): Likewise.
61625         * sysdeps/i386/fpu/libm-test-ulps: Update.
61626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61628         [BZ #14155]
61629         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61630         1 / x and functions P and Q for arguments above 0x1p256L.
61631         (__ieee754_y0l): Likewise.
61632         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61633         (__ieee754_y1l): Likewise.
61634         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61635         (j1_test): Likewise.
61636         (y0_test): Likewise.
61637         (y1_test): Likewise.
61639 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61641         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61642         variable.
61644 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61646         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61647         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61648         zero since it's initialized to EXEC_PAGESIZE.
61650         * sysdeps/unix/sysv/linux/ldsodefs.h
61651         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61652         * sysdeps/generic/ldsodefs.h: ... here.
61654 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61656         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61658         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61659         math/test-snan.c.
61660         * math/test-snan.c: Renamed from
61661         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61662         * math/Makefile (tests): Add test-snan.
61663         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61664         test-powerpc-snan.
61666         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61667         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61668         functions.
61669         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61670         __builtin_nan family of functions.
61671         * math/libm-test.inc (initialize): Initialize qnan_value with
61672         __builtin_nan family of functions.
61673         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61674         Remove variables.
61675         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61676         Remove functions.
61677         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61678         storage class.  Initialize qNaN_var and sNaN_var with
61679         __builtin_nan and __builtin_nans families of functions,
61680         respectively.
61682         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61683         (sqrt_test): Remove duplicate test with qNaN input.
61684         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61685         (round_test, signbit_test, significand_test): Note missing +/-Inf
61686         as well as qNaN tests.
61688         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61689         qNaN_var.  Fix a few strings, too.
61690         * math/libm-test.inc (nan_value): Rename to qnan_value.
61691         * math/gen-libm-test.pl (%beautify): Adjust to that.
61692         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61693         * math/test-misc.c (main): Likewise.
61694         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61695         to __qnan_bytes, and __qnan_union, respectively.
61696         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61697         Likewise.
61698         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61699         and lqnanval, respectively.
61700         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61701         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61702         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61703         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61705         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61706         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61707         doubles.
61709         * math/test-misc.c (main): Fix copy'n'pastos.
61710         * misc/tst-efgcvt.c (special): Likewise.
61712         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61713         Remove declarations.
61715 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61717         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61718         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
61719         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
61720         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
61722 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61724         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
61725         macro to return vdso values correctly in IFUNC implementations.
61726         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
61727         Optimization by using IFUNC.
61729 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61730             Richard Henderson  <rth@redhat.com>
61731             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61733         * Makefile.in (bench): New target.
61734         * NEWS: Mention the benchmark framework.
61735         * Rules (bench): Likewise.
61736         (binaries-bench): Generate binaries for functions to
61737         benchmark.
61738         * benchtests/Makefile: New makefile for benchmark tests.
61739         * benchtests/bench-skeleton.c: New skeleton file for benchmark
61740         programs.
61741         * benchtests/exp-inputs: New input file for EXP function.
61742         * benchtests/pow-inputs: New input file for POW function.
61743         * scripts/bench.pl: New script to generate source files for
61744         benchmark programs.
61746 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61748         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61749         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
61750         computations on mantissa.  Use macros for rounding and
61751         division.
61752         (denorm): Likewise.
61753         (__dbl_mp): Likewise.
61754         (add_magnitudes): Likewise.
61755         (sub_magnitudes): Likewise.
61756         (__mul): Likewise.
61757         (__sqr): Likewise.
61758         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61759         powers of two in terms of TWOPOW macro.
61760         (mp_no): Make type of mantissa as MANTISSA_T.
61761         [!RADIXI]: Define RADIXI.
61762         [!TWO52]: Define TWO52.
61763         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61765         * manual/nptl.texi (cindex): Modify threads to pthreads.
61767 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
61769         * sysdeps/x86_64/preconfigure: Regenerated.
61771 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
61773         [BZ #14155]
61774         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
61775         0x1p28 and above.
61776         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
61777         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
61778         0x1p28 and above.
61779         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
61780         * math/libm-test.inc (j0_test): Do not allow one spurious
61781         underflow exception.
61782         (y1_test): Likewise.
61784 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61786         * manual/Makefile (chapters): Add nptl.
61787         * manual/debug.texi (Debugging Support): Add link to Threads
61788         chapter.
61789         * manual/nptl.texi: New file.
61791         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
61793 2013-03-14  Petr Baudis  <pasky@ucw.cz>
61795         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
61796         for non-NULL pointer before the memory validity test. Pointed
61797         out by Holger Brunck <holger.brunck@keymile.com>.
61799 2013-03-13  Andreas Schwab  <schwab@suse.de>
61801         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
61802         instead of .os.
61804 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
61806         * timezone/zic.c: Update from tzcode 2013b.
61808 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
61810         * manual/install.texi (Configuring and compiling):
61811         Mention i686 and i586.
61812         * INSTALL: Regenerate.
61814 2013-03-12  Roland McGrath  <roland@hack.frob.com>
61816         * sysdeps/init_array/elf-init.c: New file.
61817         * csu/elf-init.c
61818         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
61819         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
61821         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
61822         __gmon_start__ as global, but as static with a .preinit_array pointer.
61823         * sysdeps/init_array/gmon-start.c: New file.  Use that.
61824         * sysdeps/init_array/crti.S: New file, empty except for comments.
61825         * sysdeps/init_array/crtn.S: Likewise.
61827 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
61829         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
61830         definining bcopy.
61831         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61832         Remove Prefer_SSE_for_memop.
61833         * sysdeps/x86_64/multiarch/init-arch.h: Remove
61834         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
61835         HAS_PREFER_SSE_FOR_MEMOP.
61836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
61837         memset-x86-64.
61838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
61839         Remove bzero, memset ifunc support.
61840         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
61841         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
61842         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61843         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61845 2013-03-11  Andreas Schwab  <schwab@suse.de>
61847         [BZ #15234]
61848         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
61849         by SHLIB_COMPAT.
61850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
61851         (GLIBC_2.16): Remove pthread_atfork.
61853 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
61855         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
61856         (ptestcases.h): Likewise.
61858 2013-03-08  Roland McGrath  <roland@hack.frob.com>
61860         * Makeconfig ($(common-objpfx)config.status): Depend on
61861         sysdeps/*/preconfigure{,.in} too.
61863 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
61865         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
61866         (__free_hook): Use void * instead of __malloc_ptr_t.
61867         (__malloc_hook): Likewise.
61868         (__realloc_hook): Likewise.
61869         (__memalign_hook): Likewise.
61870         (__after_morecore_hook): Likewise.
61871         * malloc/arena.c (save_malloc_hook): Likewise.
61872         (save_free_hook): Likewise.
61873         * malloc/hooks.c (malloc_hook_ini): Likewise.
61874         (realloc_hook_ini): Likewise.
61875         (memalign_hook_ini): Likewise.
61876         * malloc/malloc.c (malloc_hook_ini): Likewise.
61877         (realloc_hook_ini): Likewise.
61878         (memalign_hook_ini): Likewise.
61879         (__free_hook): Likewise.
61880         (__malloc_hook): Likewise.
61881         (__realloc_hook): Likewise.
61882         (__memalign_hook): Likewise.
61883         (__libc_malloc): Likewise.
61884         (__libc_free): Likewise.
61885         (__libc_realloc): Likewise.
61886         (__libc_memalign): Likewise.
61887         (__libc_valloc): Likewise.
61888         (__libc_pvalloc): Likewise.
61889         (__libc_calloc): Likewise.
61890         (__posix_memalign): Likewise.
61891         * malloc/morecore.c (__sbrk): Likewise.
61892         (__default_morecore): Likewise.
61894         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
61896         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
61897         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
61898         __malloc_ptrdiff_t.
61900         * malloc/malloc.h (__malloc_size_t): Remove macro.
61901         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
61902         __malloc_size_t.
61903         (old_memalign_hook): Likewise.
61904         (old_realloc_hook): Likewise.
61905         (struct hdr): Likewise.
61906         (flood): Likewise.
61907         (mallochook): Likewise.
61908         (memalignhook): Likewise.
61909         (reallochook): Likewise.
61910         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
61911         (tr_old_realloc_hook): Likewise.
61912         (tr_old_memalign_hook): Likewise.
61913         (tr_mallochook): Likewise.
61914         (tr_reallochook): Likewise.
61915         (tr_memalignhook): Likewise.
61917 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61919         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
61920         default_ldbl_pack and using as default implementation.
61921         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
61922         implementation.
61923         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
61924         redundant definition.
61925         (ldbl_insert_mantissa): Likewise.
61926         (ldbl_canonicalize): Likewise.
61927         (ldbl_nearbyint): Likewise.
61928         (ldbl_pack): Rename to ldbl_pack_ppc.
61929         (ldbl_unpack): Rename to ldbl_unpack_ppc.
61930         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
61931         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
61933 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
61936         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
61937         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
61938         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
61939         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
61940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
61941         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
61942         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
61944 2013-03-07  Andreas Jaeger  <aj@suse.de>
61946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61947         bits/mman-linux.h.
61949 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61951         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61952         Include mpa.h and declare __MPEXP.
61953         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
61954         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61955         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61956         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
61957         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61958         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
61959         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
61961         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
61962         (__slowpow): Use long double EXPL and LOGL functions to
61963         compute POW.
61964         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
61965         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61966         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
61967         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
61968         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
61969         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
61971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
61972         intermediate variable to calculate exponent.
61973         (__sqr): Likewise.
61974         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
61975         Likewise.
61976         (__sqr): Likewise.
61978         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
61979         [!NO__SQR]: Define __sqr.
61980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
61981         and NO__SQR.  Remove all code except __mul and __sqr.  Include
61982         sysdeps/ieee754/dbl-64/mpa.c.
61983         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61985         [BZ #12723]
61986         * posix/Makefile (tests): Add tst-pathconf.
61987         * posix/tst-pathconf.c: New test case.
61988         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
61989         _PC_PIPE_BUF.
61990         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
61992 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
61994         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
61996 2013-03-06  Andreas Jaeger  <aj@suse.de>
61998         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
61999         definition via __MAP_ANONYMOUS.
62001         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62002         it's not part of Linux headers.
62004         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62005         (MAP_HUGE_MASK): Define.
62007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62008         Define.
62009         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62010         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62011         Define.
62012         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62013         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62014         Define.
62015         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62016         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62017         Define.
62018         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62020         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62021         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62022         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62023         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62024         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62025         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62027         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62028         Handle f2fs.
62030         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62031         Handle f2fs and efivarfs.
62033         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62034         f2fs.
62036         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62037         (EFIVARFS_MAGIC): Add.
62038         (F2FS_LINK_MAX): Add.
62040 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62042         * stdio-common/vfprintf.c: Replace __builtin_expect with
62043         __glibc_unlikely.
62045 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62047         [BZ #13550]
62048         * sysdeps/generic/bp-sym.h: Remove file.
62049         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62050         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62051         <bp-sym.h> and <bp-asm.h>.
62052         (__longjmp): Don't use BP_SYM.
62053         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62054         and <bp-asm.h>.
62055         (memcpy): Don't use BP_SYM.
62056         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62057         <bp-sym.h> and <bp-asm.h>.
62058         (memcpy): Don't use BP_SYM.
62059         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62060         <bp-asm.h>.
62061         (memcpy): Don't use BP_SYM.
62062         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62063         <bp-asm.h>.
62064         (memset): Don't use BP_SYM.
62065         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62066         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62067         (__bzero): Don't use BP_SYM.
62068         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62069         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62070         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62071         <bp-sym.h> and <bp-asm.h>.
62072         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62073         pointers.
62074         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62075         <bp-sym.h> and <bp-asm.h>.
62076         (memcpy): Don't use BP_SYM.
62077         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62078         <bp-sym.h> and <bp-asm.h>.
62079         (memset): Don't use BP_SYM.
62080         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62081         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62082         (__bzero): Don't use BP_SYM.
62083         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62084         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62085         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62086         <bp-sym.h> and <bp-asm.h>.
62087         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62088         pointers.
62089         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62090         <bp-sym.h> and <bp-asm.h>.
62091         (memcpy): Don't use BP_SYM.
62092         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62093         <bp-sym.h> and <bp-asm.h>.
62094         (memset): Don't use BP_SYM.
62095         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62096         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62097         (__bzero): Don't use BP_SYM.
62098         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62099         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62100         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62101         <bp-sym.h> and <bp-asm.h>.
62102         (__memchr): Don't use BP_SYM.
62103         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62104         <bp-sym.h> and <bp-asm.h>.
62105         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62106         pointers.
62107         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62108         <bp-sym.h> and <bp-asm.h>.
62109         (memcpy): Don't use BP_SYM.
62110         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62111         <bp-sym.h> and <bp-asm.h>.
62112         (__mempcpy): Don't use BP_SYM.
62113         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62114         <bp-sym.h> and <bp-asm.h>.
62115         (__memrchr): Don't use BP_SYM.
62116         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62117         <bp-sym.h> and <bp-asm.h>.
62118         (memset): Don't use BP_SYM.
62119         (__bzero): Likewise.
62120         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62121         <bp-sym.h> and <bp-asm.h>.
62122         (__rawmemchr): Don't use BP_SYM.
62123         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62124         <bp-sym.h> and <bp-asm.h>.
62125         (__STRCMP): Don't use BP_SYM.
62126         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62127         <bp-sym.h> and <bp-asm.h>.
62128         (strchr): Don't use BP_SYM.
62129         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62130         <bp-sym.h> and <bp-asm.h>.
62131         (__strchrnul): Don't use BP_SYM.
62132         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62133         <bp-sym.h> and <bp-asm.h>.
62134         (strlen): Don't use BP_SYM.
62135         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62136         <bp-sym.h> and <bp-asm.h>.
62137         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62138         pointers.
62139         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62140         <bp-sym.h> and <bp-asm.h>.
62141         (__strnlen): Don't use BP_SYM.
62142         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62143         <bp-sym.h> and <bp-asm.h>.
62144         (__GI__setjmp): Don't use BP_SYM.
62145         (_setjmp): Likewise.
62146         (__sigsetjmp): Likewise.
62147         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62148         (L(start_addresses)): Don't use BP_SYM.
62149         (_start): Likewise.
62150         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62151         <bp-asm.h>.
62152         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62153         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62154         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62155         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62156         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62157         <bp-asm.h>.
62158         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62159         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62160         about bounded pointers.
62161         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62162         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62163         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62164         <bp-asm.h>.
62165         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62166         about bounded pointers.  Remove GKM FIXME comments.
62167         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62168         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62169         <bp-asm.h>.
62170         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62171         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62172         Remove GKM FIXME comments.
62173         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62174         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62175         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62176         <bp-asm.h>.
62177         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62178         about bounded pointers.  Remove GKM FIXME comment.
62179         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62180         and <bp-asm.h>.
62181         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62182         pointers.
62183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62184         <bp-sym.h> and <bp-asm.h>.
62185         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62187         <bp-sym.h> and <bp-asm.h>.
62188         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62189         comment.
62191 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62193         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62194         call free(NULL).
62196 2013-03-05  David S. Miller  <davem@davemloft.net>
62198         * po/es.po: Update from translation team.
62200 2013-03-05  Andreas Jaeger  <aj@suse.de>
62202         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62203         <bits/mman-linux.h>.
62204         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62205         is fine.
62206         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62207         <bits/mman-linux.h> to end of file.
62208         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62209         is fine.
62210         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62211         <bits/mman-linux.h> to end of file.
62212         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62213         is fine.
62214         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62215         <bits/mman-linux.h> to end of file.
62217         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62218         (MCL_CURRENT, MCL_FUTURE): Define here.
62220 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62222         [BZ #15232]
62223         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62224         attribute_hidden.
62225         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62227 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62230         fourth parameter needed for rt_sigprocmask syscall.
62231         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62232         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62234         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62235         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62236         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62238 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62240         [BZ #13550]
62241         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62242         comment about bounded pointers.
62243         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62244         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62246 2013-03-04  Andreas Jaeger  <aj@suse.de>
62248         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62249         common definitions.
62251         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62252         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62253         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62254         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62255         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62256         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62258 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62260         [BZ #15055]
62261         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62262         __ieee754_sqrl instead of __sqrl.
62264 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62266         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62267         * sysdeps/powerpc/fpu_control.h: ... here.
62268         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62269         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62270         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62271         * sysdeps/powerpc/bits/mathinline.h: ... here.
62273 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62275         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62276         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62277         to just [NEED_DL_SYSINFO_DSO].
62278         * elf/dl-support.c: Likewise.
62279         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62280         * elf/rtld.c (dl_main): Likewise.
62281         * elf/setup-vdso.h (setup_vdso): Likewise.
62282         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62283         * sysdeps/unix/sysv/linux/dl-sysdep.c
62284         (_dl_discover_osversion): Likewise.
62286 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62288         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62289         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62291 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62293         * NEWS: Mention libm performance improvements and non-x86 PI
62294         futex support.
62296         * csu/libc-start.c (__pthread_initialize_minimal): Change
62297         function arguments.
62298         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62300 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62302         [BZ #13550]
62303         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62304         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62305         <bp-sym.h> and <bp-asm.h>.
62306         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62307         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62308         and <bp-asm.h>.
62309         (memcpy): Don't use BP_SYM.
62310         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62311         <bp-asm.h>.
62312         (__mpn_add_n): Don't use BP_SYM.
62313         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62314         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62315         and <bp-asm.h>.
62316         (__mpn_addmul_1): Don't use BP_SYM.
62317         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62318         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62319         <bp-sym.h>.
62320         (_setjmp): Don't use BP_SYM.
62321         (__novmx_setjmp): Likewise.
62322         (__GI__setjmp): Likewise.
62323         (__vmx_setjmp): Likewise.
62324         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62325         <bp-sym.h>.
62326         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62327         (__bzero): Don't use BP_SYM.
62328         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62329         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62330         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62331         <bp-sym.h> and <bp-asm.h>.
62332         (memcpy): Don't use BP_SYM.
62333         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62334         <bp-sym.h> and <bp-asm.h>.
62335         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62336         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62337         <bp-sym.h> and <bp-asm.h>.
62338         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62339         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62340         <bp-asm.h>.
62341         (__mpn_lshift): Don't use BP_SYM.
62342         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62343         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62344         <bp-asm.h>.
62345         (memset): Don't use BP_SYM.
62346         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62347         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62348         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62349         <bp-asm.h>.
62350         (__mpn_mul_1): Don't use BP_SYM.
62351         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62352         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62353         <bp-sym.h> and <bp-asm.h>.
62354         (memcmp): Don't use BP_SYM.
62355         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62356         <bp-sym.h> and <bp-asm.h>.
62357         (memcpy): Don't use BP_SYM.
62358         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62359         <bp-sym.h> and <bp-asm.h>.
62360         (memset): Don't use BP_SYM.
62361         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62362         <bp-sym.h> and <bp-asm.h>.
62363         (strncmp): Don't use BP_SYM.
62364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62365         <bp-sym.h> and <bp-asm.h>.
62366         (memcpy): Don't use BP_SYM.
62367         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62368         <bp-sym.h> and <bp-asm.h>.
62369         (memset): Don't use BP_SYM.
62370         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62371         <bp-sym.h> and <bp-asm.h>.
62372         (__memchr): Don't use BP_SYM.
62373         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62374         <bp-sym.h> and <bp-asm.h>.
62375         (memcmp): Don't use BP_SYM.
62376         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62377         <bp-sym.h> and <bp-asm.h>.
62378         (memcpy): Don't use BP_SYM.
62379         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62380         <bp-sym.h> and <bp-asm.h>.
62381         (__mempcpy): Don't use BP_SYM.
62382         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62383         <bp-sym.h> and <bp-asm.h>.
62384         (__memrchr): Don't use BP_SYM.
62385         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62386         <bp-sym.h> and <bp-asm.h>.
62387         (memset): Don't use BP_SYM.
62388         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62389         <bp-sym.h> and <bp-asm.h>.
62390         (__rawmemchr): Don't use BP_SYM.
62391         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62392         <bp-sym.h> and <bp-asm.h>.
62393         (__STRCMP): Don't use BP_SYM.
62394         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62395         <bp-sym.h> and <bp-asm.h>.
62396         (strchr): Don't use BP_SYM.
62397         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62398         <bp-sym.h> and <bp-asm.h>.
62399         (__strchrnul): Don't use BP_SYM.
62400         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62401         <bp-sym.h> and <bp-asm.h>.
62402         (strlen): Don't use BP_SYM.
62403         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62404         <bp-sym.h> and <bp-asm.h>.
62405         (strncmp): Don't use BP_SYM.
62406         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62407         <bp-sym.h> and <bp-asm.h>.
62408         (__strnlen): Don't use BP_SYM.
62409         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62410         <bp-asm.h>.
62411         (__mpn_rshift): Don't use BP_SYM.
62412         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62413         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62414         <bp-sym.h> and <bp-asm.h>.
62415         (__sigsetjmp): Don't use BP_SYM.
62416         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62417         (L(start_addresses)): Don't use BP_SYM.
62418         (_start): Likewise.
62419         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62420         <bp-asm.h>.
62421         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62422         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62423         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62424         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62425         <bp-asm.h>.
62426         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62427         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62428         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62429         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62430         <bp-asm.h>.
62431         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62432         comments.
62433         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62434         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62435         <bp-asm.h>.
62436         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62437         FIXME comments.
62438         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62439         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62440         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62441         <bp-asm.h>.
62442         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62443         comment.
62444         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62445         and <bp-asm.h>.
62446         (strncmp): Don't use BP_SYM,
62447         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62448         <bp-asm.h>.
62449         (__mpn_sub_n): Don't use BP_SYM.
62450         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62451         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62452         and <bp-asm.h>.
62453         (__mpn_submul_1): Don't use BP_SYM.
62454         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62456         <bp-sym.h> and <bp-asm.h>.
62457         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62459         <bp-sym.h> and <bp-asm.h>.
62460         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62461         comment.
62463 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62466         Use ZK to minimize writes to Z.
62467         (sub_magnitudes): Simplify code a bit.
62468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62469         Use ZK to minimize writes to Z.
62470         (sub_magnitudes): Simplify code a bit.
62472 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62474         * csu/gmon-start.c: Add special exception to license text.
62476 2013-02-27  Richard Henderson  <rth@redhat.com>
62478         * scripts/config.guess: Update from config.git.
62479         * scripts/config.sub: Likewise.
62481 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62483         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62485         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62487         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62489         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62491         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62493 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62495         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62496         [$(build-shared = yes].
62498 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62500         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62501         (__mul): Reduce iterations for calculating mantissa.
62503         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62504         MPTWO.
62505         (__mpranred): Likewise.
62507         [BZ #15160]
62508         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62509         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62511 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62513         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62514         Define __attribute__.
62516 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62518         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62519         unused.
62520         * posix/regex_internal.h (__attribute): Remove.
62521         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62522         (re_string_context_at): Likewise.
62523         (bitset_not): Use __attribute__ and mark function as possibly
62524         unused.
62525         (bitset_merge): Likewise.
62526         (bitset_mask): Likewise.
62527         (re_string_char_size_at): Likewise.
62528         (re_string_wchar_at): Likewise.
62529         (re_string_elem_size_at): Likewise.
62531 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62533         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62534         code.
62535         (cc32): Likewise.
62537         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62538         (__acr): Likewise.
62539         (__cpy): Likewise.
62540         (norm): Likewise.
62541         (denorm): Likewise.
62542         (__dbl_mp): Likewise.
62543         (add_magnitudes): Likewise.
62544         (sub_magnitudes): Likewise.
62545         (__mul): Likewise.
62546         (__inv): Likewise.
62548         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62549         style.
62551         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62552         style.
62554         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62555         code.
62557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62558         up changes with default code.
62559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62560         Likewise.
62562 2013-02-24  Allan McRae  <allan@archlinux.org>
62564         * manual/socket.texi (The Internet Namespace): Order menu items
62565         to match that in the file.
62567         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62568         node listing of the info page menu.
62570 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62572         [BZ #13550]
62573         * sysdeps/i386/bp-asm.h: Remove file.
62574         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62575         (PARMS): Do not use macros from bp-asm.h.
62576         (S1): Likewise.
62577         (S2): Likewise.
62578         (SIZE): Likewise.
62579         (__mpn_add_n): Do not use BP_SYM
62580         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62581         "bp-asm.h".
62582         (PARMS): Do not use macros from bp-asm.h.
62583         (S1): Likewise.
62584         (SIZE): Likewise.
62585         (__mpn_addmul_1): Do not use BP_SYM
62586         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62587         "bp-asm.h".
62588         (PARMS): Do not use macros from bp-asm.h.
62589         (SIGMSK): Likewise.
62590         (_setjmp): Likewise.  Do not use BP_SYM.
62591         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62592         "bp-asm.h".
62593         (PARMS): Do not use macros from bp-asm.h.
62594         (SIGMSK): Likewise.
62595         (setjmp): Likewise.  Do not use BP_SYM.
62596         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62597         "bp-asm.h".
62598         (PARMS): Do not use macros from bp-asm.h.
62599         (__frexp): Do not use BP_SYM.
62600         (frexp): Likewise.
62601         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62602         "bp-asm.h".
62603         (PARMS): Do not use macros from bp-asm.h.
62604         (__frexpf): Do not use BP_SYM.
62605         (frexpf): Likewise.
62606         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62607         "bp-asm.h".
62608         (PARMS): Do not use macros from bp-asm.h.
62609         (__frexpl): Do not use BP_SYM.
62610         (frexpl): Likewise.
62611         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62612         "bp-asm.h".
62613         (PARMS): Do not use macros from bp-asm.h.
62614         (__remquo): Do not use BP_SYM.
62615         (remquo): Likewise.
62616         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62617         "bp-asm.h".
62618         (PARMS): Do not use macros from bp-asm.h.
62619         (__remquof): Do not use BP_SYM.
62620         (remquof): Likewise.
62621         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62622         "bp-asm.h".
62623         (PARMS): Do not use macros from bp-asm.h.
62624         (__remquol): Do not use BP_SYM.
62625         (remquol): Likewise.
62626         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62627         "bp-asm.h".
62628         (PARMS): Do not use macros from bp-asm.h.
62629         (DEST): Likewise.
62630         (SRC): Likewise.
62631         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62632         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62633         "bp-asm.h".
62634         (PARMS): Do not use macros from bp-asm.h.
62635         (strlen): Do not use BP_SYM.
62636         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62637         "bp-asm.h".
62638         (PARMS): Do not use macros from bp-asm.h.
62639         (S1): Likewise.
62640         (S2): Likewise.
62641         (SIZE): Likewise.
62642         (__mpn_add_n): Do not use BP_SYM.
62643         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62644         "bp-asm.h".
62645         (PARMS): Do not use macros from bp-asm.h.
62646         (S1): Likewise.
62647         (SIZE): Likewise.
62648         (__mpn_addmul_1): Do not use BP_SYM.
62649         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62650         weak_alias.
62651         (bzero): Likewise.
62652         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62653         "bp-asm.h".
62654         (PARMS): Do not use macros from bp-asm.h.
62655         (S): Likewise.
62656         (SIZE): Likewise.
62657         (__mpn_lshift): Do not use BP_SYM.
62658         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62659         "bp-asm.h".
62660         (PARMS): Do not use macros from bp-asm.h.
62661         (DEST): Likewise.
62662         (SRC): Likewise.
62663         (LEN): Likewise.
62664         (memcpy): Likewise.  Do not use BP_SYM.
62665         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62666         libc_hidden_def and weak_alias.
62667         (mempcpy): Do not use BP_SYM in weak_alias.
62668         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62669         "bp-asm.h".
62670         (PARMS): Do not use macros from bp-asm.h.
62671         (DEST): Likewise.
62672         (LEN): Likewise.
62673         [!BZERO_P] (CHR): Likewise.
62674         (memset): Likewise.  Do not use BP_SYM.
62675         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62676         "bp-asm.h".
62677         (PARMS): Do not use macros from bp-asm.h.
62678         (S1): Likewise.
62679         (SIZE): Likewise.
62680         (__mpn_mul_1): Do not use BP_SYM.
62681         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62682         "bp-asm.h".
62683         (PARMS): Do not use macros from bp-asm.h.
62684         (S): Likewise.
62685         (SIZE): Likewise.
62686         (__mpn_rshift): Do not use BP_SYM.
62687         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62688         "bp-asm.h".
62689         (PARMS): Do not use macros from bp-asm.h.
62690         (STR): Likewise.
62691         (CHR): Likewise.
62692         (strchr): Likewise.  Do not use BP_SYM.
62693         (index): Do not use BP_SYM in weak_alias.
62694         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62695         "bp-asm.h".
62696         (PARMS): Do not use macros from bp-asm.h.
62697         (DEST): Likewise.
62698         (SRC): Likewise.
62699         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62700         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62701         "bp-asm.h".
62702         (PARMS): Do not use macros from bp-asm.h.
62703         (strlen): Do not use BP_SYM.
62704         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62705         "bp-asm.h".
62706         (PARMS): Do not use macros from bp-asm.h.
62707         (S1): Likewise.
62708         (S2): Likewise.
62709         (SIZE): Likewise.
62710         (__mpn_sub_n): Do not use BP_SYM.
62711         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62712         "bp-asm.h".
62713         (PARMS): Do not use macros from bp-asm.h.
62714         (S1): Likewise.
62715         (SIZE): Likewise.
62716         (__mpn_submul_1): Do not use BP_SYM.
62717         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62718         "bp-asm.h".
62719         (PARMS): Do not use macros from bp-asm.h.
62720         (S1): Likewise.
62721         (S2): Likewise.
62722         (SIZE): Likewise.
62723         (__mpn_add_n): Do not use BP_SYM.
62724         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
62725         weak_alias.
62726         (bzero): Likewise.
62727         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
62728         "bp-asm.h".
62729         (PARMS): Do not use macros from bp-asm.h.
62730         (BLK2): Likewise.
62731         (LEN): Likewise.
62732         (memcmp): Do not use BP_SYM.
62733         (bcmp): Do not use BP_SYM in weak_alias.
62734         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
62735         "bp-asm.h".
62736         (PARMS): Do not use macros from bp-asm.h.
62737         (DEST): Likewise.
62738         (SRC): Likewise.
62739         (LEN): Likewise.
62740         (memcpy): Likewise.  Do not use BP_SYM.
62741         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
62742         "bp-asm.h".
62743         (PARMS): Do not use macros from bp-asm.h.
62744         (DEST): Likewise.
62745         (SRC): Likewise.
62746         (LEN): Likewise.
62747         (memmove): Likewise.  Do not use BP_SYM.
62748         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
62749         "bp-asm.h".
62750         (PARMS): Do not use macros from bp-asm.h.
62751         (DEST): Likewise.
62752         (SRC): Likewise.
62753         (LEN): Likewise.
62754         (__mempcpy): Likewise.  Do not use BP_SYM.
62755         (mempcpy): Do not use BP_SYM in weak_alias.
62756         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
62757         "bp-asm.h".
62758         (PARMS): Do not use macros from bp-asm.h.
62759         (DEST): Likewise.
62760         (LEN): Likewise.
62761         [!BZERO_P] (CHR): Likewise.
62762         (memset): Likewise.  Do not use BP_SYM.
62763         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
62764         "bp-asm.h".
62765         (PARMS): Do not use macros from bp-asm.h.
62766         (STR2): Likewise.
62767         (strcmp): Do not use BP_SYM.
62768         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
62769         "bp-asm.h".
62770         (PARMS): Do not use macros from bp-asm.h.
62771         (STR): Likewise.
62772         (DELIM): Likewise.
62773         [USE_AS_STRTOK_R] (SAVE): Likewise.
62774         (FUNCTION): Likewise.  Do not use BP_SYM.
62775         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
62776         aliases.
62777         (strtok_r): Likewise.
62778         (__GI___strtok_r): Likewise.
62779         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62780         (PARMS): Do not use macros from bp-asm.h.
62781         (S): Likewise.
62782         (SIZE): Likewise.
62783         (__mpn_lshift): Do not use BP_SYM.
62784         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62785         (PARMS): Do not use macros from bp-asm.h.
62786         (STR): Likewise.
62787         (CHR): Likewise.
62788         (__memchr): Do not use BP_SYM.
62789         (memchr): Do not use BP_SYM in weak_alias.
62790         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62791         (PARMS): Do not use macros from bp-asm.h.
62792         (BLK2): Likewise.
62793         (LEN): Likewise.
62794         (memcmp): Do not use BP_SYM.
62795         (bcmp): Do not use BP_SYM in weak_alias.
62796         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
62797         (PARMS): Do not use macros from bp-asm.h.
62798         (S1): Likewise.
62799         (SIZE): Likewise.
62800         (__mpn_mul_1): Do not use BP_SYM.
62801         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
62802         "bp-asm.h".
62803         (PARMS): Do not use macros from bp-asm.h.
62804         (STR): Likewise.
62805         (CHR): Likewise.
62806         (__rawmemchr): Do not use BP_SYM.
62807         (rawmemchr): Do not use BP_SYM in weak_alias.
62808         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
62809         (PARMS): Do not use macros from bp-asm.h.
62810         (S): Likewise.
62811         (SIZE): Likewise.
62812         (__mpn_rshift): Do not use BP_SYM.
62813         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
62814         (PARMS): Do not use macros from bp-asm.h.
62815         (SIGMSK): Likewise.
62816         (__sigsetjmp): Likewise.  Do not use BP_SYM.
62817         * sysdeps/i386/start.S: Do not include "bp-sym.h".
62818         (_start): Do not use BP_SYM.
62819         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
62820         (PARMS): Do not use macros from bp-asm.h.
62821         (DEST): Likewise.
62822         (SRC): Likewise.
62823         (__stpcpy): Likewise.  Do not use BP_SYM.
62824         (stpcpy): Do not use BP_SYM in weak_alias.
62825         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
62826         "bp-asm.h".
62827         (PARMS): Do not use macros from bp-asm.h.
62828         (DEST): Likewise.
62829         (SRC): Likewise.
62830         (LEN): Likewise.
62831         (__stpncpy): Likewise.  Do not use BP_SYM.
62832         (stpncpy): Do not use BP_SYM in weak_alias.
62833         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
62834         (PARMS): Do not use macros from bp-asm.h.
62835         (STR): Likewise.
62836         (CHR): Likewise.
62837         (strchr): Likewise.  Do not use BP_SYM.
62838         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
62839         "bp-asm.h".
62840         (PARMS): Do not use macros from bp-asm.h.
62841         (STR): Likewise.
62842         (CHR): Likewise.
62843         (__strchrnul): Likewise.  Do not use BP_SYM.
62844         (strchrnul): Do not use BP_SYM in weak_alias.
62845         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
62846         "bp-asm.h".
62847         (PARMS): Do not use macros from bp-asm.h.
62848         (STOP): Likewise.
62849         (strcspn): Do not use BP_SYM.
62850         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
62851         "bp-asm.h".
62852         (PARMS): Do not use macros from bp-asm.h.
62853         (STR): Likewise.
62854         (STOP): Likewise.
62855         (strpbrk): Likewise.  Do not use BP_SYM.
62856         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
62857         "bp-asm.h".
62858         (PARMS): Do not use macros from bp-asm.h.
62859         (STR): Likewise.
62860         (CHR): Likewise.
62861         (strrchr): Likewise.  Do not use BP_SYM.
62862         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
62863         (PARMS): Do not use macros from bp-asm.h.
62864         (SKIP): Likewise.
62865         (strspn): Do not use BP_SYM.
62866         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
62867         (PARMS): Do not use macros from bp-asm.h.
62868         (STR): Likewise.
62869         (DELIM): Likewise.
62870         (SAVE): Likewise.
62871         (FUNCTION): Likewise.  Do not use BP_SYM.
62872         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
62873         aliases.
62874         (strtok_r): Likewise.
62875         (__GI___strtok_r): Likewise.
62876         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62877         (PARMS): Do not use macros from bp-asm.h.
62878         (S1): Likewise.
62879         (S2): Likewise.
62880         (SIZE): Likewise.
62881         (__mpn_sub_n): Do not use BP_SYM.
62882         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
62883         "bp-asm.h".
62884         (PARMS): Do not use macros from bp-asm.h.
62885         (S1): Likewise.
62886         (SIZE): Likewise.
62887         (__mpn_submul_1): Do not use BP_SYM.
62888         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
62889         <bp-sym.h>.
62890         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
62891         and <bp-asm.h>.
62892         (PARMS): Do not use macros from bp-asm.h.
62893         (FLAGS): Likewise.
62894         (PTID): Likewise.
62895         (TLS): Likewise.
62896         (CTID): Likewise.
62897         (__clone): Do not use BP_SYM.
62898         (clone): Do not use BP_SYM in weak_alias.
62899         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
62900         and <bp-asm.h>.
62901         (PARMS): Do not use macros from bp-asm.h.
62902         (LEN): Likewise.
62903         (__mmap64): Do not use BP_SYM.
62904         (mmap64): Do not use BP_SYM in weak_alias.
62905         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62906         <bp-sym.h> and <bp-asm.h>.
62907         (PARMS): Do not use macros from bp-asm.h.
62908         (__posix_fadvise64_l64): Do not use BP_SYM.
62909         * sysdeps/unix/sysv/linux/i386/semtimedop.S
62910         (PARMS): Do not use macros from bp-asm.h.
62911         (NSOPS): Likewise.
62912         (semtimedop): Do not use BP_SYM.
62913         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
62914         and <bp-asm.h>.
62916 2013-02-21  Allan McRae  <allan@archlinux.org>
62918         * manual/message.texi (Charset conversion in gettext):
62919         Move @end statement to beginning of line.
62921 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
62924         static.
62925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62926         Likewise.
62928         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
62929         (denorm): Likewise.
62930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
62931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
62933 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62935         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
62936         tail-call to the resolved function if pltexit isn't needed.
62938 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
62941         or Y being zero as being unlikely.
62942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62943         Likewise.
62945 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
62947         * manual/nss.texi (System Databases and Name Service Switch):
62948         Remove frobnicate @pxref.
62950 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
62952         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
62953         __attribute__ ((unused)) to __attribute__ ((__unused__)).
62955 2013-02-20  Petr Machata  <pmachata@redhat.com>
62957         * elf/elf.h (R_ARM_TARGET1): New macro.
62958         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
62959         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
62960         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
62961         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
62962         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
62963         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
62964         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
62965         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
62966         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
62967         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
62968         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
62969         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
62970         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
62971         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
62972         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
62973         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
62974         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
62975         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
62976         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
62977         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
62978         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
62979         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
62980         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
62981         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
62982         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
62983         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
62984         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
62985         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
62986         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
62987         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
62988         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
62989         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
62990         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
62991         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
62992         (R_ARM_THM_GOT_BREL12): Likewise.
62993         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
62994         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
62995         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
62996         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
62997         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
62998         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
62999         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63000         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63001         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63003 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63005         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63006         __attribute_used__ to __attribute__ ((unused)).
63008 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63010         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63011         powerpc mpa.c.
63012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63013         comment formatting.
63014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63016 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63018         [BZ #13550]
63019         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63020         Remove macro.
63021         (ENTER): Remove both macro definitions.
63022         (LEAVE): Likewise.
63023         (CHECK_BOUNDS_LOW): Likewise.
63024         (CHECK_BOUNDS_HIGH): Likewise.
63025         (CHECK_BOUNDS_BOTH): Likewise.
63026         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63027         (RETURN_BOUNDED_POINTER): Likewise.
63028         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63029         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63030         (POP_ERRNO_LOCATION_RETURN): Likewise.
63031         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63032         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63033         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63034         macros.
63035         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63036         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63037         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63038         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63039         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63040         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63041         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63042         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63043         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63044         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63045         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63046         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63047         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63048         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63049         removed macros.
63050         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63051         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63052         macros.
63053         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63054         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63055         * sysdeps/i386/i586/memset.S (memset): Likewise.
63056         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63057         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63058         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63059         macros.
63060         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63061         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63062         Change uses of L(2) to L(out).
63063         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63064         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63065         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63066         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63067         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63068         removed macros.
63069         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63070         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63071         macros.
63072         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63073         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63074         (RETURN): Do not use macro LEAVE.
63075         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63076         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63077         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63078         * sysdeps/i386/i686/memset.S (memset): Likewise.
63079         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63080         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63081         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63082         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63083         Likewise.
63084         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63085         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63086         L(1_2) and L(1_3) into L(1).
63087         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63088         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63089         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63090         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63091         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63092         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63093         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63094         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63095         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63096         macros.
63097         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63098         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63099         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63100         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63101         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63102         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63103         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63104         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63105         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63106         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63107         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63108         * sysdeps/i386/strspn.S (strspn): Likewise.
63109         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63110         conditional code.
63111         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63112         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63113         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63114         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63115         L(1_3) into L(1_1).
63116         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63117         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63118         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63119         macros.
63120         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63122 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63124         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63125         macro.
63127 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63129         * math/atest-exp.c (exp_mpn): Remove ROUND.
63130         * math/atest-exp2.c (exp_mpn): Likewise.
63131         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63133         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63134         * stdlib/tst-tls-atexit-lib.c: Likewise.
63135         * stdlib/tst-tls-atexit.c: Likewise.
63137 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63139         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63140         and __attribute_alloc_size__.
63142 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63144         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63145         __attribute_alloc_size__.
63146         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63147         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63149 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63151         * include/programs/xmalloc.h: New file.
63152         * catgets/gencat.c: Include it.
63153         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63154         * elf/pldd.c: Likewise.
63155         * iconv/iconv_charmap.c: Likewise.
63156         * iconv/iconvconfig.c: Likewise.
63157         * iconv/strtab.c: Likewise.
63158         * locale/programs/locale.c: Likewise.
63159         * locale/programs/localedef.h: Likewise.
63160         * locale/programs/simple-hash.c: Likewise.
63161         * nscd/nscd.h: Likewise.
63162         * nss/makedb.c: Likewise.
63163         * sysdeps/generic/ldconfig.h: Likewise.
63165 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63167         * Versions.def: Add GLIBC_2.18.
63168         * include/link.h (struct link_map): New member l_tls_dtor_count.
63169         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63170         (__call_tls_dtors): Likewise.
63171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63172         __cxa_thread_atexit_impl.
63173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63174         Likewise.
63175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63176         Likewise.
63177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63178         Likewise.
63179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63180         Likewise.
63181         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63183         Likewise.
63184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63185         Likewise.
63186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63188         Likewise.
63189         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63190         (tests): Add test case tst-tls-atexit.
63191         (modules-names): Add shared library for tst-tls-atexit.
63192         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63193         (GLIBC_PRIVATE): Add __call_tls_dtors.
63194         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63195         for libstdc++.
63196         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63197         * stdlib/tst-tls-atexit.c: New test case.
63198         * stdlib/tst-tls-atexit-lib.c: New test case.
63200         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63202         * elf/Versions (ld): Add _dl_find_dso_for_object.
63203         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63204         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63205         (dl_open_worker): Use _dl_find_dso_for_object.
63206         * elf/dl-sym.c (do_sym): Likewise.
63207         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63209 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63211         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63212         Syntactic changes only.
63213         (_dl_runtime_profile): Do a tail-call to the resolved function.
63215 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63217         [BZ #13550]
63218         * sysdeps/x86_64/bp-asm.h: Remove file.
63219         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63220         <bp-sym.h> and <bp-asm.h>.
63221         (__clone): Do not use BP_SYM.
63222         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63223         <bp-sym.h> and <bp-asm.h>.
63224         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63225         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63226         "bp-asm.h".
63227         (_setjmp): Do not use BP_SYM.
63228         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63229         "bp-asm.h".
63230         (setjmp): Do not use BP_SYM.
63231         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63232         libc_hidden_def.
63233         (mempcpy): Do not use BP_SYM in weak_alias.
63234         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63235         "bp-asm.h".
63236         (strchr): Do not use BP_SYM.
63237         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63238         "bp-asm.h".
63239         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63240         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63241         (_start): Do not use BP_SYM.
63242         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63243         "bp-asm.h".
63244         (strcat): Do not use BP_SYM.
63245         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63246         "bp-asm.h".
63247         (STRCMP): Do not use BP_SYM.
63248         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63249         "bp-asm.h".
63250         (STRCPY): Do not use BP_SYM.
63251         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63252         "bp-asm.h".
63253         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63254         "bp-asm.h".
63255         (FUNCTION): Do not use BP_SYM.
63256         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63257         weak_alias.
63258         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63260 2013-02-17  Andreas Jaeger  <aj@suse.de>
63262         * time/Versions: Sort entries.
63263         * string/Versions: Likewise.
63264         * resolv/Versions: Likewise.
63265         * posix/Versions: Likewise.
63266         * iconv/Versions: Likewise.
63267         * elf/Versions: Likewise.
63268         * wcsmbs/Versions: Likewise.
63270 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63272         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63273         loop termination condition.
63275         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63276         variable to calculate EZ.
63277         (__sqr): Likewise.
63279         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63280         the lower precision input.
63282 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63284         [BZ #13550]
63285         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63286         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63287         (run-via-rtld-prefix): Do not handle %-bp tests.
63288         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63289         (all-object-suffixes): Remove .ob.
63290         (bppfx): Remove variable.
63291         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63292         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63293         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63294         [$(build-bounded) = yes] (libtype.ob): Likewise.
63295         * Makerules (elide-routines.ob): Remove variable.
63296         (do-tests-clean): Do not handle *-bp.out.
63297         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63298         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63299         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63300         (tests): Do not include $(tests-bp.out).
63301         (xtests): Do not include $(xtests-bp.out).
63302         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63303         [$(build-bounded) = yes] ($(addprefix
63304         $(objpfx),$(binaries-bounded))): Remove rule.
63305         ($(objpfx)%-bp.out): Remove rule.
63306         * config.make.in (build-bounded): Remove variable.
63307         * crypt/Makefile [$(build-bounded) = yes]
63308         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63309         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63310         append to variable.
63311         [$(build-bounded) = yes] (install-lib): Likewise.
63312         [$(build-bounded) = yes] (generated): Likewise.
63313         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63314         Remove rule.
63315         * intl/Makefile [$(build-bounded) = yes]
63316         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63317         * math/Makefile [$(build-bounded) = yes]
63318         ($(tests:%=$(objpfx)%-bp): Likewise.
63319         * misc/Makefile [$(build-bounded) = yes]
63320         ($(objpfx)tst-tsearch-bp): Likewise.
63321         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63322         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63323         Remove dependency.
63324         * string/Makefile (o-objects.ob): Remove variable.
63325         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63326         (CFLAGS-.ob): Remove variable.
63327         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63328         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63329         both definitions of variable.
63330         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63331         (ASFLAGS-.ob): Remove variable.
63333 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63335         [BZ #13550]
63336         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63337         Remove __BOUNDED_POINTERS__ from condition.
63338         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63339         * string/bits/string2.h [!__NO_STRING_INLINES &&
63340         !__BOUNDED_POINTERS__]: Likewise.
63341         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63342         Likewise.
63343         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63344         Remove conditional code.
63345         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63346         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63347         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63348         condition.
63350         [BZ #13550]
63351         * csu/libc-start.c: Do not include <bp-sym.h>.
63352         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63353         * elf/dl-open.c: Do not include <bp-sym.h>.
63354         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63355         * math/fegetenv.c: Do not include <bp-sym.h>.
63356         (fegetenv): Do not use BP_SYM in versioned symbols.
63357         * nptl/sysdeps/pthread/bits/libc-lockP.h
63358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63359         <bp-sym.h>.
63360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63361         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63363         (__pthread_mutex_destroy): Likewise.
63364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63365         (__pthread_mutex_lock): Likewise.
63366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63367         (__pthread_mutex_trylock): Likewise.
63368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63369         (__pthread_mutex_unlock): Likewise.
63370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63371         (__pthread_mutexattr_init): Likewise.
63372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63373         (__pthread_mutexattr_destroy): Likewise.
63374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63375         (__pthread_mutexattr_settype): Likewise.
63376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63377         (__pthread_rwlock_init): Likewise.
63378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63379         (__pthread_rwlock_destroy): Likewise.
63380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63381         (__pthread_rwlock_rdlock): Likewise.
63382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63383         (__pthread_rwlock_tryrdlock): Likewise.
63384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63385         (__pthread_rwlock_wrlock): Likewise.
63386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63387         (__pthread_rwlock_trywrlock): Likewise.
63388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63389         (__pthread_rwlock_unlock): Likewise.
63390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63391         (__pthread_key_create): Likewise.
63392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63393         (__pthread_setspecific): Likewise.
63394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63395         (__pthread_getspecific): Likewise.
63396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63397         Likewise.
63398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63399         (_pthread_cleanup_push_defer): Likewise.
63400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63401         (_pthread_cleanup_pop_restore): Likewise.
63402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63403         (pthread_setcancelstate): Likewise.
63404         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63405         <bp-sym.h>.
63406         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63407         (memchr): Do not use BP_SYM in weak_alias.
63408         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63409         (fegetenv): Do not use BP_SYM in versioned symbols.
63410         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63411         (fesetenv): Do not use BP_SYM in versioned symbols.
63412         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63413         (feupdateenv): Do not use BP_SYM in versioned symbols.
63414         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63415         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63416         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63417         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63418         (open64): Do not use BP_SYM in weak_alias.
63419         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63420         (fegetenv): Do not use BP_SYM in versioned symbols.
63421         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63422         (fesetenv): Do not use BP_SYM in versioned symbols.
63423         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63424         (feupdateenv): Do not use BP_SYM in versioned symbols.
63425         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63426         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63427         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63428         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63429         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63430         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63431         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63432         <bp-sym.h>.
63433         (__libc_start_main): Do not use BP_SYM.
63435 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63437         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63438         redundant return line.
63439         (norm): Likewise.
63440         (denorm): Likewise.
63441         (dbl_mp): Likewise.
63442         (sub_magnitudes): Likewise.
63443         (__add): Likewise.
63444         (__sub): Likewise.
63445         (__mul): Likewise.
63446         (__inv): Likewise.
63447         (__dvd): Likewise.
63448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63449         (norm): Likewise.
63450         (denorm): Likewise.
63451         (dbl_mp): Likewise.
63452         (sub_magnitudes): Likewise.
63453         (__add): Likewise.
63454         (__sub): Likewise.
63455         (__mul): Likewise.
63456         (__inv): Likewise.
63457         (__dvd): Likewise.
63459         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63460         instead of __mul.
63461         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63462         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63463         (cc32): Likewise.
63465         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63466         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63467         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63468         of __mul for squares.
63469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63470         function
63471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63472         Likewise.
63473         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63474         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63476 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63478         [BZ #13550]
63479         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63480         code.
63481         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63482         prototype or function definition.  Rename ubp_* variables and
63483         parameters.  Remove argv definitions conditional on
63484         [__BOUNDED_POINTERS__].
63485         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63486         * elf/dl-runtime.c (_dl_fixup): Likewise.
63487         * include/set-hooks.h (RUN_HOOK): Likewise.
63488         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63489         definition.
63490         * string/strcpy.c (strcpy): Do not use __unbounded.
63491         * sysdeps/generic/frame.h (struct layout): Likewise.
63492         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63493         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63494         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63495         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63496         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63497         (__backtrace): Likewise.
63498         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63499         use __ptrvalue.
63500         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63501         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63502         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63503         Likewise.
63504         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63505         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63506         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63507         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63508         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63509         Do not use __unbounded.
63510         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63511         Rename __unboundedrlimits parameter to rlimits in prototype.
63512         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63513         Do not use __unbounded.
63514         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63515         not use __ptrvalue.
63516         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63517         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63518         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63519         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63520         __ptrvalue or __unbounded.
63521         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63522         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63523         use __unbounded.
63524         (__new_msgctl): Do not use __ptrvalue.
63525         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63526         __unbounded.
63527         (__libc_msgrcv): Do not use __ptrvalue.
63528         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63529         startup_info): Do not use __unbounded.
63530         (__libc_start_main): Likewise.  Rename ubp_* variables and
63531         parameters.  Remove argv definitions conditional on
63532         [__BOUNDED_POINTERS__].
63533         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63534         __ptrvalue.
63535         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63536         use __unbounded.
63537         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63538         or __ptrvalue.
63539         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63540         use __unbounded.
63541         (__new_shmctl): Do not use __ptrvalue.
63542         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63543         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63544         Likewise.
63545         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63546         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63547         (__libc_sigaction): Likewise.
63548         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63549         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63550         Likewise.
63551         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63553 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63555         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63557         * string/mempcpy.c: Implement by calling memcpy.
63559 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63563         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63564         evaluation.
63566         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63567         values in the mantissa.
63569         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63570         minimize writes to Z.
63571         (sub_magnitudes): Simplify code a bit.
63573 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63575         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63576         from the message.  The linker prefixes all warnings with that already.
63578 2013-02-12  Andreas Schwab  <schwab@suse.de>
63580         [BZ #15078]
63581         * posix/regexec.c (extend_buffers): Add parameter min_len.
63582         (check_matching): Pass minimum needed length.
63583         (clean_state_log_if_needed): Likewise.
63584         (get_subexp): Likewise.
63585         * posix/Makefile (tests): Add bug-regex34.
63586         (bug-regex34-ENV): Define.
63587         * posix/bug-regex34.c: New file.
63589         [BZ #11561]
63590         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63591         elements compare against the byte sequence of it, not its name.
63592         * posix/Makefile (tests): Add bug-regex35.
63593         (bug-regex35-ENV): Define.
63594         * posix/bug-regex35.c: New file.
63596 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63598         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63599         comment.
63600         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63601         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63602         (CHECK_EOL): Add undef.
63604 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63606         * bits/stdlib-bsearch.h: New file.
63607         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63608         * stdlib/stdlib.h: Likewise.
63610 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63612         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63613         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63614         declaration.
63615         * manual/search.texi (Array Search Function): Add missing const in
63616         lfind prototype.
63617         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63618         declaration to use rlim_t.
63619         (Basic Scheduling Functions): Remove erroneous const from
63620         sched_getparam prototype.  Remove erroneous * from
63621         sched_get_priority_max and sched_get_priority_min prototypes.
63622         (Resource Usage): Fix summary @comment on vtimes to refer to
63623         sys/vtimes.h rather than vtimes.h.
63624         Add missing *s in vtimes prototype.
63625         (Limits on Resources): Fix ulimit prototype to return long int.
63626         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63627         prototypes to use long int rather than double.
63628         (BSD Random): Fix initstate and setstate to use char *, not void *.
63629         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63630         prototype to make second argument 'struct aiocb64 *const[]'.
63631         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63632         (Status of AIO Operations): Remove erroneous const in aio_return and
63633         aio_return64 prototypes.
63634         (Synchronizing I/O): Fix sync prototype to return void.
63635         * manual/startup.texi (Suboptions): Remove an erroneous const in
63636         getsubopt prototype.
63637         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63638         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63639         use size_t rather than int.
63640         (Scanning All Users): Likewise for getpwent_r.
63641         (Setting Groups): Add missing const to setgroups prototype.
63642         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63643         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63644         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63645         'const void *' rather than 'const char *'.
63646         (Host Address Functions): Likewise for inet_ntop.
63647         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63648         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63649         ssize_t for return value.
63650         (Sending Data): Likewise for send, sendto, sendmsg.
63651         (Socket Option Functions): Add a missing const in setsockopt prototype.
63652         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63653         use wchar_t for the argument.
63654         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63655         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63656         take no arguments.
63657         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63658         double/float/long double for second argument.
63659         Fix return types of significand, significandf, significandl.
63660         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63661         argument in fchmod prototype.
63662         (File Owner): Use uid_t and gid_t in fchown prototype.
63663         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63664         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63665         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63666         use 'const struct dirent **' as argument types to CMP function pointer
63667         argument.
63668         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63669         (File Times): Fix summary magic @comment for struct utimbuf and utime
63670         to refer to utime.h, not time.h.
63671         * manual/string.texi (Argz Functions): Add missing const in
63672         argz_extract and argz_next prototypes.
63673         (Finding Tokens in a String): Likewise for basename.
63674         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63675         (Copying and Concatenation): Fix typo in wmemmove prototype.
63676         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63677         (Signal Stack): Remove erroneous const in sigstack prototype.
63678         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63679         prototype.
63680         (Simple Calendar Time): Likewise for stime.
63681         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63682         prototype.
63683         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63684         say sys/sysctl.h instead.
63685         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63686         and vsyslog prototypes.
63688 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63690         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63691         Remove.
63693 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63695         * misc/sys/mman.h: Fix typo in mremap comment.
63697 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63699         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63700         the '\0' terminator.
63702 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63704         [BZ #13550]
63705         * debug/segfault.c: Don't include <bp-checks.h>.
63706         * sysdeps/generic/bp-checks.h: Remove file.
63707         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63708         (__GETDENTS): Don't use CHECK_N.
63709         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63710         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63711         (__getgroups): Don't use CHECK_N.
63712         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63713         (setgroups): Don't use CHECK_N.
63714         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63715         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63716         (__libc_msgrcv): Don't use CHECK_N.
63717         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63718         (__libc_msgsnd): Don't use CHECK_N.
63719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
63720         <bp-checks.h>.
63721         (__libc_pread): Don't use CHECK_N.
63722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
63723         include <bp-checks.h>.
63724         (__libc_pread64): Don't use CHECK_N.
63725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
63726         include <bp-checks.h>.
63727         (__libc_pwrite): Don't use CHECK_N.
63728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
63729         include <bp-checks.h>.
63730         (__libc_pwrite64): Don't use CHECK_N.
63731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
63732         <bp-checks.h>.
63733         (__libc_pread): Don't use CHECK_N.
63734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
63735         include <bp-checks.h>.
63736         (__libc_pread64): Don't use CHECK_N.
63737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
63738         include <bp-checks.h>.
63739         (__libc_pwrite): Don't use CHECK_N.
63740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
63741         include <bp-checks.h>.
63742         (__libc_pwrite64): Don't use CHECK_N.
63743         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
63744         (do_pread): Don't use CHECK_N.
63745         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
63746         (do_pread64): Don't use CHECK_N.
63747         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
63748         (do_pwrite): Don't use CHECK_N.
63749         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
63750         (do_pwrite64): Don't use CHECK_N.
63751         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
63752         (__libc_readv): Don't use CHECK_N.
63753         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
63754         (semop): Don't use CHECK_N.
63755         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
63756         <bp-checks.h>.
63757         (semtimedop): Don't use CHECK_N.
63758         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
63759         (__libc_pread): Don't use CHECK_N.
63760         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
63761         <bp-checks.h>.
63762         (__libc_pread64): Don't use CHECK_N.
63763         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
63764         <bp-checks.h>.
63765         (__libc_pwrite): Don't use CHECK_N.
63766         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
63767         <bp-checks.h>.
63768         (__libc_pwrite64): Don't use CHECK_N.
63769         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
63770         <bp-checks.h>.
63771         (__libc_msgrcv): Don't use CHECK_N.
63772         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
63773         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
63774         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
63775         (__libc_writev): Don't use CHECK_N.
63777 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63779         * string/strcpy.c: Removed unused variable.
63781         * Makeconfig (+sysdep-includes): Define with := rather than =.
63782         Use an existing include/ subdir of each sysdeps dir before it.
63784 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63786         * nscd/connection.c (register_traced_file): Comment function.
63787         [HAVE_INOTIFY] (union __inev): Define.
63788         [HAVE_INOTIFY] (inotify_check_files): New function.
63789         [HAVE_INOTIFY] (clear_db_cache): Likewise.
63790         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
63791         clear_db_cache.
63792         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
63794 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63796         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
63797         loaded if not already and that a failure is permanent.
63799 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
63801         [BZ #15006]
63802         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
63803         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
63805 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63807         [BZ #13550]
63808         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
63809         (CHECK_1_NULL_OK): Likewise.
63810         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
63811         (__fxstat): Do not use CHECK_1.
63812         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
63813         <bp-checks.h>.
63814         (___fxstat64): Do not use CHECK_1.
63815         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
63816         <bp-checks.h>.
63817         (__fxstatat): Do not use CHECK_1.
63818         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
63819         <bp-checks.h>.
63820         (__fxstatat64): Do not use CHECK_1.
63821         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
63822         <bp-checks.h>.
63823         (__fxstat): Do not use CHECK_1.
63824         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
63825         <bp-checks.h>.
63826         (__fxstatat): Do not use CHECK_1.
63827         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63828         <bp-checks.h>.
63829         (__getresgid): Do not use CHECK_1.
63830         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63831         <bp-checks.h>.
63832         (__getresuid): Do not use CHECK_1.
63833         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
63834         <bp-checks.h>.
63835         (__lxstat): Do not use CHECK_1.
63836         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63837         <bp-checks.h>.
63838         (__old_msgctl): Do not use CHECK_1.
63839         (__new_msgctl): Likewise.
63840         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
63841         <bp-checks.h>.
63842         (__new_setrlimit): Do not use CHECK_1.
63843         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63844         <bp-checks.h>.
63845         (__old_shmctl): Do not use CHECK_1.
63846         (__new_shmctl): Likewise.
63847         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
63848         <bp-checks.h>.
63849         (__xstat): Do not use CHECK_1.
63850         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
63851         (__lxstat): Do not use CHECK_1.
63852         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
63853         <bp-checks.h>.
63854         (___lxstat64): Do not use CHECK_1.
63855         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
63856         (__old_msgctl): Do not use CHECK_1.
63857         (__new_msgctl): Likewise.
63858         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
63859         <bp-checks.h>.
63860         (__gettimeofday): Do not use CHECK_1.
63861         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
63862         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
63863         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
63864         <bp-checks.h>.
63865         (__gettimeofday): Do not use CHECK_1.
63866         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
63867         (__old_shmctl): Do not use CHECK_1_NULL_OK.
63868         (__new_shmctl): Do not use CHECK_1.
63869         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
63870         <bp-checks.h>.
63871         (do_sigtimedwait): Do not use CHECK_1.
63872         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
63873         <bp-checks.h>.
63874         (do_sigwaitinfo): Do not use CHECK_1.
63875         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
63876         <bp-checks.h>.
63877         (msgctl): Do not use CHECK_1.
63878         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
63879         <bp-checks.h>.
63880         (shmctl): Do not use CHECK_1.
63881         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
63882         (ustat): Do not use CHECK_1.
63883         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
63884         <bp-checks.h>.
63885         (__fxstat): Do not use CHECK_1.
63886         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
63887         <bp-checks.h>.
63888         (__fxstatat): Do not use CHECK_1.
63889         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
63890         <bp-checks.h>.
63891         (__lxstat): Do not use CHECK_1.
63892         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
63893         <bp-checks.h>.
63894         (__xstat): Do not use CHECK_1.
63895         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
63896         (__xstat): Do not use CHECK_1.
63897         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
63898         (___xstat64): Do not use CHECK_1.
63900         [BZ #13550]
63901         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
63902         definitions.
63903         (CHECK_BOUNDS_HIGH): Likewise.
63904         * string/strcpy.c: Do not include <bp-checks.h>.
63905         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
63907 2013-02-07  Roland McGrath  <roland@hack.frob.com>
63909         * nscd/nscd-client.h (__nscd_drop_map_ref):
63910         Add __attribute__ ((unused)).
63911         * nis/nss-nisplus.h (niserr2nss): Likewise.
63913         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
63914         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
63916         * csu/libc-tls.c (init_static_tls, init_slotinfo):
63917         Remove inline keyword.
63918         * include/rounding-mode.h (round_away): Likewise.
63919         * libio/wfileops.c (adjust_wide_data): Likewise.
63920         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
63921         (__m128i_strloadu_tolower): Likewise.
63922         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
63923         (__m128i_strloadu_tolower): Likewise.
63924         * time/mktime.c (ydhms_diff): Likewise.
63925         * locale/elem-hash.h (elem_hash): Likewise.
63926         * locale/setlocale.c (setdata): Likewise.
63927         * posix/regex_internal.h (re_string_char_size_at): Likewise.
63928         (re_string_wchar_at): Likewise.
63929         (bitset_not, bitset_merge, bitset_mask): Likewise.
63930         [!(__GNUC__ > 3)] (inline): Remove macro.
63931         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
63932         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
63933         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
63934         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
63935         * string/memcmp.c (memcmp_bytes): Likewise.
63936         * locale/programs/locarchive.c (compute_hashval): Likewise.
63937         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
63938         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
63939         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
63940         * nss/getent.c (print_rpc, print_protocols): Likewise.
63941         (print_passwd, print_group, print_aliases): Likewise.
63942         * nis/nss-nisplus.h (niserr2nss): Likewise.
63943         * nscd/connections.c (restart_p): Likewise.
63944         Change return type to bool.
63946 2013-02-05  Roland McGrath  <roland@hack.frob.com>
63948         * Makeconfig (all-Depend-files): Add existing
63949         $(sorted-subdirs:=/Depend) files.
63950         (all-subdirs): Remove nss.
63951         * sysdeps/unix/inet/Subdirs: Add it here instead.
63952         * hesiod/Depend: New file.
63954         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
63955         instead of calling alloca.
63957         * io/lseek.c (__lseek): Rename to __libc_lseek.
63958         Define __lseek as an alias.
63960         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
63962 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
63964         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
63965         else clause and remove check for non-standard endianness.
63967 2013-02-04  David S. Miller  <davem@davemloft.net>
63969         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63971 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
63973         [BZ #13550]
63974         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
63975         (__ubp_memchr): Remove prototype.
63976         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
63977         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63978         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
63979         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
63980         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
63981         Remove alias.
63982         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
63983         (__ubp_memchr): Likewise.
63984         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
63985         (__ubp_memchr): Likewise.
63986         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
63987         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
63988         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
63989         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
63990         CHECK_STRING.
63991         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
63992         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
63993         (__getcwd): Do not use CHECK_STRING.
63994         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63995         <bp-checks.h>.
63996         (__real_chown): Do not use CHECK_STRING.
63997         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
63998         <bp-checks.h>.
63999         (fchownat): Do not use CHECK_STRING.
64000         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64001         CHECK_STRING.
64002         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64003         <bp-checks.h>.
64004         (__lchown): Do not use CHECK_STRING.
64005         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64006         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64007         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64008         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64010         include <bp-checks.h>.
64011         (truncate64): Do not use CHECK_STRING.
64012         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64013         <bp-checks.h>.
64014         (__real_chown): Do not use CHECK_STRING.
64015         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64016         <bp-checks.h>.
64017         (__lchown): Do not use CHECK_STRING.
64018         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64019         <bp-checks.h>.
64020         (__chown): Do not use CHECK_STRING.
64021         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64022         <bp-checks.h>.
64023         (truncate64): Do not use CHECK_STRING.
64024         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64025         Likewise.
64026         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64027         (__xmknod): Do not use CHECK_STRING.
64028         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64029         <bp-checks.h>.
64030         (__xmknodat): Do not use CHECK_STRING.
64031         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64032         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64034 2013-02-04  Andreas Schwab  <schwab@suse.de>
64036         [BZ #14142]
64037         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64038         * include/netdb.h: Likewise for h_errno.
64039         * elf/tst-stackguard1.c: Include <tls.h>.
64041 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64043         * elf/link.h (struct link_map): Extend the l_addr comment.
64044         * include/link.h (struct link_map): Likewise.
64046 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64048         [BZ #13550]
64049         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64050         (BOUNDED_1): Remove macro.
64051         * debug/backtrace.c: Don't include <bp-checks.h>.
64052         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64053         (__backtrace): Likewise.
64054         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64055         <bp-checks.h>.
64056         (__backtrace): Don't use BOUNDED_1.
64057         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64058         <bp-checks.h>.
64059         (__backtrace): Don't use BOUNDED_1.
64060         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64061         (__backtrace): Don't use BOUNDED_1.
64062         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64063         (shmat): Don't use BOUNDED_N.
64065 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64067         [BZ #13550]
64068         * sysdeps/generic/bp-start.h: Remove file.
64069         * csu/libc-start.c: Don't include <bp-start.h>.
64070         (LIBC_START_MAIN): Set up __environ directly instead of using
64071         INIT_ARGV_and_ENVIRON.
64072         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64073         <bp-start.h>.
64075         [BZ #13550]
64076         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64077         definitions.
64078         (CHECK_FCNTL): Likewise.
64079         (CHECK_N_PAGES): Likewise.
64081         [BZ #13550]
64082         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64083         definitions.
64084         (CHECK_SIGSET_NULL_OK): Likewise.
64085         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64086         <bp-checks.h>.
64087         (sigpending): Don't use CHECK_SIGSET.
64088         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64089         <bp-checks.h>.
64090         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64091         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64092         <bp-checks.h>.
64093         (do_sigsuspend): Don't use CHECK_SIGSET.
64094         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64095         use CHECK_SIGSET.
64096         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64097         (do_sigwait): Don't use CHECK_SIGSET.
64098         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64099         use CHECK_SIGSET.
64100         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64101         include <bp-checks.h>.
64102         (sigpending): Don't use CHECK_SIGSET.
64103         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64104         include <bp-checks.h>.
64105         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64106         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64107         <bp-checks.h>.
64108         (sigpending): Don't use CHECK_SIGSET.
64109         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64110         <bp-checks.h>.
64111         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64113         [BZ #13550]
64114         * sysdeps/generic/bp-semctl.h: Remove file.
64115         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64116         <bp-checks.h> and <bp-semctl.h>.
64117         (__old_semctl): Don't use CHECK_SEMCTL.
64118         (__new_semctl): Likewise.
64119         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64120         and <bp-semctl.h>.
64121         (__old_semctl): Don't use CHECK_SEMCTL.
64122         (__new_semctl): Likewise.
64123         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64124         <bp-checks.h> and <bp-semctl.h>.
64125         (__old_semctl): Don't use CHECK_SEMCTL.
64126         (__new_semctl): Likewise.
64127         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64128         <bp-checks.h> and <bp-semctl.h>.
64129         (semctl): Don't use CHECK_SEMCTL.
64131         [BZ #13550]
64132         * Makerules (elide-bp-thunks): Remove variable.
64133         (elide-routines.oS): Don't use $(elide-bp-thunks).
64134         (elide-routines.os): Likewise.
64135         (elide-routines.o): Likewise.
64136         (elide-routines.op): Likewise.
64137         (elide-routines.og): Likewise.
64138         (objects): Don't use $(bp-thunks).
64139         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64140         include.
64141         (common-generated): Do not add s-proto-bp.d.
64142         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64143         (int): Likewise.
64144         (typ): Likewise.
64145         Do not generate makefile rules for bounded-pointer thunks.
64146         * sysdeps/generic/bp-thunks.h: Remove file.
64147         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64148         * sysdeps/unix/s-proto-bp.S: Likewise.
64150         [BZ #15062]
64151         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64152         parts of result separately when argument is not close to line from
64153         -i to i and one part of argument is small.
64154         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64155         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64156         * math/libm-test.inc (cacos_test): Add more tests.
64157         (casin_test): Likewise.
64158         (casinh_test): Likewise.
64159         * sysdeps/i386/fpu/libm-test-ulps: Update.
64160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64162 2013-01-31  David S. Miller  <davem@davemloft.net>
64164         * po/de.po: Update from translation team.
64166 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64168         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64170 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64172         * configure.in (_AC_PROG_CC_C89): New definition.
64173         * configure: Regenerate.
64175         * configure.in (AC_PROG_CPP): New definition.
64176         * configure: Regenerate.
64178 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64180         * debug/tst-backtrace.h: New file.
64181         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64182         (ret): Remove variable.
64183         (x): Likewise.
64184         (FAIL): Remove macro.
64185         (NO_INLINE): Likewise.
64186         (fn1): Use match function instead of strstr.
64187         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64188         (ret): Remove variable.
64189         (x): Likewise.
64190         (FAIL): Remove macro.
64191         (NO_INLINE): Likewise.
64192         (fn): Use match function instead of strstr.
64193         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64194         (ret): Remove variable.
64195         (x): Likewise.
64196         (FAIL): Remove macro.
64197         (NO_INLINE): Likewise.
64198         (handle_signal): Use match function instead of strstr.
64199         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64200         (ret): Remove variable.
64201         (x): Likewise.
64202         (FAIL): Remove macro.
64203         (NO_INLINE): Likewise.
64204         (handle_signal): Use match function instead of strstr.
64206 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64208         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64210 2013-01-23  David S. Miller  <davem@davemloft.net>
64212         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64213         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64214         argument of CAS if possible.
64215         * sysdeps/sparc/sparc64/bits/atomic.h
64216         (__arch_compare_and_exchange_val_32_acq): Likewise.
64217         (__arch_compare_and_exchange_val_64_acq): Likewise.
64219 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64221         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64222         * sysdeps/posix/ulimit.c: ... this.
64223         Include <limits.h>.
64224         * sysdeps/unix/bsd/ulimit.c: Remove file.
64226 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64228         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64229         (LDFLAGS-tst-array5): Likewise.
64231 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64233         [BZ #15036]
64234         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64235         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64236         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64237         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64239 2013-01-21  David S. Miller  <davem@davemloft.net>
64241         * sysdeps/sparc/backtrace.c: New file.
64242         * sysdeps/sparc/sparc32/backtrace.h: New file.
64243         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64244         * sysdeps/sparc/sparc64/backtrace.h: New file.
64245         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64246         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64247         -funwind-tables.
64249 2013-01-21  Andreas Schwab  <schwab@suse.de>
64251         [BZ #15020]
64252         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64253         closed its stdout.
64255 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64258         "mpa2.h".
64259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64261 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64262             Mark Mitchell  <mark@codesourcery.com>
64263             Tom de Vries  <tom@codesourcery.com>
64264             Paul Pluzhnikov  <ppluzhnikov@google.com>
64266         * debug/tst-backtrace2.c: New file.
64267         * debug/tst-backtrace3.c: Likewise.
64268         * debug/tst-backtrace4.c: Likewise.
64269         * debug/tst-backtrace5.c: Likewise.
64270         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64271         (CFLAGS-tst-backtrace3.c): Likewise.
64272         (CFLAGS-tst-backtrace4.c): Likewise.
64273         (CFLAGS-tst-backtrace5.c): Likewise.
64274         (LDFLAGS-tst-backtrace2): Likewise.
64275         (LDFLAGS-tst-backtrace3): Likewise.
64276         (LDFLAGS-tst-backtrace4): Likewise.
64277         (LDFLAGS-tst-backtrace5): Likewise.
64278         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64279         tst-backtrace4 and tst-backtrace5.
64281 2013-01-18  Anton Blanchard  <anton@samba.org>
64282             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64284         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64285         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64286         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64287         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64289         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64290         "+r" and remove output regs list as redundant.  Add explicit inline
64291         asm to specify register of return val to work around compiler codegen
64292         bug.  Remove (int) cast on return value.  Add return type parameter to
64293         use in macro so that this macro does not truncate return value for
64294         64-bit values.
64295         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64296         pass to INTERNAL_VSYSCALL_NCS.
64297         (INLINE_VSYSCALL): Add 'long int' as return type to
64298         INTERNAL_VSYSCALL_NCS macro invocation.
64299         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64300         INTERNAL_VSYSCALL_NCS macro invocation.
64301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64303 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64305         [BZ #14496]
64306         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64307         Fix application of SIMD FP exception mask.
64309         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64310         mp_no from a power of two.
64311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64312         __mpexp_twomm1.  Use __pow_mp.
64314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64315         multiplication.
64317 2013-01-17  David S. Miller  <davem@davemloft.net>
64319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64321 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64323         [BZ #15023]
64324         * include/complex.h: Condition contents on [!_COMPLEX_H].
64325         (__kernel_casinhf): New prototype.
64326         (__kernel_casinh): Likewise.
64327         (__kernel_casinhl): Likewise.
64328         * math/Makefile (libm_calls): Add k_casinh.
64329         * math/k_casinh.c: New file.
64330         * math/k_casinhf.c: Likewise.
64331         * math/k_casinhl.c: Likewise.
64332         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64333         finite nonzero arguments.
64334         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64335         finite nonzero arguments.
64336         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64337         finite nonzero arguments.
64338         * math/s_casinh.c: Do not include <float.h>.
64339         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64340         * math/s_casinhf.c: Do not include <float.h>.
64341         (__casinhf): Move code for finite nonzero arguments to
64342         k_casinhf.c.
64343         * math/s_casinhl.c: Do not include <float.h>.
64344         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64345         redefine.
64346         (__casinhl): Move code for finite nonzero arguments to
64347         k_casinhl.c.
64348         * math/libm-test.inc (cacos_test): Add more tests.
64349         * sysdeps/i386/fpu/libm-test-ulps: Update.
64350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64352 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64354         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64355         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64356         [!HAVE_MREMAP]: Remove [defined linux] case.
64357         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64359 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64361         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64363 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64365         * elf/elf.h (R_386_SIZE32): New relocation.
64366         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64367         R_386_SIZE32.
64368         (elf_machine_rela): Likewise.
64369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64370         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64372 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64374         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64375         (FP_FAST_FMA): Do not define.
64376         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64377         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64378         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64379         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64380         !_SOFT_FLOAT]: Likewise.
64381         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64382         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64383         value.
64384         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64385         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64386         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64387         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64388         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64389         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64390         file.
64392 2013-01-16  Andreas Schwab  <schwab@suse.de>
64394         [BZ #14327]
64395         * include/stdlib.h (__mktemp): Add declaration.
64396         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64397         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64399 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64401         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64402         definitions.
64403         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64404         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64405         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64406         definitions here.
64407         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64408         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64409         definitions.
64410         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64411         and ONE.
64412         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64413         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64414         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64415         definitions.
64416         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64417         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64418         definitions.
64419         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64421         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64423 2013-01-15  David S. Miller  <davem@davemloft.net>
64425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64426         trunc{,f} to libm-sysdep_routes.
64427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64429         file.
64430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64432         file.
64433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64434         file.
64435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64437         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64438         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64439         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64440         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64441         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64442         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64445         nearbyint{,f} to libm-sysdep_routes.
64446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64448         New file.
64449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64450         file.
64451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64452         New file.
64453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64454         file.
64455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64457         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64458         file.
64459         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64460         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64461         file.
64462         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64463         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64464         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64466         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64467         libc_feholdexcept and libc_fesetenv.
64469 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64471         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64473 2013-01-14  David S. Miller  <davem@davemloft.net>
64475         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64476         (SPARC_ASM_VIS2_IFUNC): Likewise.
64477         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64479         use of 'siam' instruction.
64480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64481         Likewise.
64482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64483         Likewise.
64484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64485         Likewise.
64486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64491         file.
64492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64493         file.
64494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64495         file.
64496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64497         file.
64498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64503         new VIS2 routines.
64504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64507         Likewise.
64508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64513         routines to libm-sysdep_routines.
64514         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64517         fdim/fdimf to libm-sysdep_routines.
64518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64519         file.
64520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64522         file.
64523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64526         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64527         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64528         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64529         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64531 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64533         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64534         to optimize copies.
64536         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64541         local variable MPTWO.
64542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64543         Likewise.
64545 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64547         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64548         GLOB_NOESCAPE.
64550 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64552         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64554 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64556         * manual/pattern.texi (glob_t): Document gl_flags.
64557         (glob64_t): Likewise.
64559 2013-01-11  David S. Miller  <davem@davemloft.net>
64561         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64562         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64563         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64564         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64565         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64566         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64567         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64568         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64569         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64570         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64571         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64572         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64573         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64575         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64576         sparc V9 rather than using V8 code.
64577         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64578         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64580         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64581         Move to...
64582         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64583         Here.
64585 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64587         [BZ #14941]
64588         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64589         not in the main loop.
64590         * configure: Regenerated.
64592 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64594         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64595         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64596         to just #else.
64597         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64598         [!__GLIBC_HAVE_LONG_LONG] case.
64599         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64600         condition to just #else.
64601         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64602         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64603         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64604         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64605         unconditional.
64606         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64607         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64608         #elif condition to just #else.
64609         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64610         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64611         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64612         #elif condition to just #else.
64614 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64616         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64617         (EF_MIPS_ARCH_64): Fix value.
64618         (EF_MIPS_ARCH_32R2): New.
64619         (EF_MIPS_ARCH_64R2): New.
64621 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64623         * Makeconfig (+link-pie-before-libc): New.
64624         (+link-pie-after-libc): Likewise.
64625         (+link-pie-tests): Likewise.
64626         (+link-pie): Rewritten.
64627         (link-before-libc): Remove $(config-LDFLAGS).
64628         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64629         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64630         (config-LDFLAGS): Renamed to ...
64631         (rtld-LDFLAGS): This.
64632         (rtld-tests-LDFLAGS): New macro.
64633         (link-libc-rpath-link): Likewise.
64634         (link-libc-tests-rpath-link): Likewise.
64635         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64636         (link-libc): Prepand $(link-libc-rpath-link).
64637         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64638         (test-program-prefix): New macro.
64639         (test-via-rtld-prefix): Likewise.
64640         (test-program-cmd): Likewise.
64641         (host-test-program-cmd): Likewise.
64642         * Makefile ($(common-objpfx)testrun.sh): Replace
64643         $(run-program-prefix) with $(test-program-prefix).
64644         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64645         $(rtld-LDFLAGS).
64646         ($(common-objpfx)shlib.lds): Likewise.
64647         (build-module-helper): Likewise.
64648         ($(common-objpfx)format.lds): Likewise.
64649         * Rules (binaries-pie-tests): New.
64650         (binaries-pie-notests): Likewise.
64651         (binaries-pie): Rewritten.
64652         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64653         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64654         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64655         (make-test-out): Replace $(host-built-program-cmd) with
64656         $(host-test-program-cmd).
64657         * config.make.in (build-hardcoded-path-in-tests): New variable.
64658         * configure.in (--enable-hardcoded-path-in-tests): New configure
64659         option.
64660         (hardcoded_path_in_tests): New AC_SUBST.
64661         * configure: Regenerated.
64662         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64663         $(built-program-cmd) with $(test-program-cmd).
64664         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64665         (test_program_cmd): This.
64666         * elf/Makefile ($(objpfx)order.out): Run test with
64667         $(test-program-prefix).
64668         ($(objpfx)order2.out): Likewise.
64669         ($(objpfx)tst-initorder.out): Likewise.
64670         ($(objpfx)tst-initorder2.out): Likewise.
64671         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64672         $(test-program-cmd).
64673         ($(objpfx)tst-array1-static.out): Likewise.
64674         ($(objpfx)tst-array2.out): Likewise.
64675         ($(objpfx)tst-array3.out): Likewise.
64676         ($(objpfx)tst-array4.out): Likewise.
64677         ($(objpfx)tst-array5.out): Likewise.
64678         ($(objpfx)tst-array5-static.out): Likewise.
64679         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64680         $(test-program-cmd).
64681         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64682         $(run-program-prefix) with $(test-program-prefix).
64683         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64684         (test_program_prefix): This.
64685         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64686         $(run-program-prefix) with $(test-program-prefix).
64687         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64688         (test_program_prefix): This.
64689         * iconvdata/tst-tables.sh: Likewise.
64690         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64691         $(run-program-prefix) with $(test-program-prefix).
64692         ($(objpfx)tst-translit.out): Likewise.
64693         ($(objpfx)tst-gettext2.out): Likewise.
64694         ($(objpfx)tst-gettext4.out): Likewise.
64695         ($(objpfx)tst-gettext6.out): Likewise.
64696         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64697         (test_program_prefix): This.
64698         * intl/tst-gettext2.sh: Likewise.
64699         * intl/tst-gettext4.sh  Likewise.
64700         * intl/tst-gettext6.sh: Likewise.
64701         * intl/tst-translit.sh: Likewise.
64702         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64703         with $(test-program-cmd).
64704         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64705         $(run-program-prefix) with $(test-program-prefix).
64706         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64707         (test_program_prefix): This.
64708         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64709         $(run-program-prefix) with $(test-program-prefix).
64710         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64711         (test_program_prefix): This.
64712         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64713         * posix/Makefile ($(objpfx)globtest.out): Replace
64714         $(run-via-rtld-prefix) and $(test-wrapper) with
64715         $(test-program-prefix) and $(test-via-rtld-prefix).
64716         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64717         $(test-program-prefix).
64718         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
64719         $(host-test-program-cmd).
64720         (tst-spawn-ARGS): Likewise.
64721         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
64722         $(test-program-prefix).
64723         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
64724         (test_via_rtld_prefix): This.
64725         (test_wrapper): Renamed to ...
64726         (test_program_prefix): This.
64727         (run_program_prefix): Replaced by test_program_prefix.
64728         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
64729         (test_program_prefix): This.
64730         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
64731         with $(host-test-program-cmd).
64732         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
64733         $(run-program-prefix) with $(test-program-prefix).
64734         ($(objpfx)tst-printf.out): Likewise.
64735         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
64736         $(test-program-cmd).
64737         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
64738         (test_program_prefix): This.
64739         * stdio-common/tst-unbputc.sh: Likewise.
64740         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
64741         $(run-program-prefix) with $(test-program-prefix).
64742         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
64743         (test_program_prefix): This.
64744         * string/Makefile ($(objpfx)tst-svc.out):  Replace
64745         $(built-program-cmd) with $(test-program-cmd).
64747 2013-01-11  Andreas Jaeger  <aj@suse.de>
64749         [BZ #15003]
64750         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
64751         value. Sync with Linux 3.7.
64753 2013-01-10  David S. Miller  <davem@davemloft.net>
64755         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
64756         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64757         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64759 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64761         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
64762         never set.
64763         * configure: Regenerated.
64765 2013-01-10  David S. Miller  <davem@davemloft.net>
64767         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64768         sparc V9 rather than using V8 code.
64769         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64770         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64772 2013-01-10  Roland McGrath  <roland@hack.frob.com>
64774         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
64775         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
64776         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
64777         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
64778         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
64779         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
64780         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
64781         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
64782         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
64783         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
64784         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
64785         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
64786         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
64787         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
64788         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
64789         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
64790         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
64791         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
64792         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
64793         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
64794         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
64795         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
64796         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
64797         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
64798         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
64799         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
64800         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
64802 2013-01-10  David S. Miller  <davem@davemloft.net>
64804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64806 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64808         * posix/Makefile (tests-static): New variable.
64809         (tests): Add $(tests-static).
64810         (tst-exec-static-ARGS): New variable.
64811         (tst-spawn-static-ARGS): Likewise.
64812         * posix/tst-exec-static.c: New file.
64813         * posix/tst-spawn-static.c: Likewise.
64814         * posix/tst-exec.c: Support run directly.
64815         * posix/tst-spawn.c: Likewise.
64817 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
64819         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
64820         long.
64821         * math/bits/mathcalls.h (llrint): Likewise.
64822         (llround): Likewise.
64823         * stdlib/stdlib.h (struct drand48_data): Likewise.
64824         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
64825         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
64826         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
64827         Likewise.
64828         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
64829         Likewise.
64830         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
64831         (elf_greg_t): Likewise.
64832         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
64833         (__jmp_buf): Likewise.
64834         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
64835         definitions.
64836         (llrint): Likewise, for all definitions.
64837         (llrintl): Likewise.
64839         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
64840         Remove [__GNUC__] condition.
64841         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
64842         condition to just [__USE_ISOC99].
64843         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
64845 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
64847         [BZ #14200]
64848         * sysdeps/unix/sysv/linux/x86/bits/environments.h
64849         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
64850         defined.
64851         (_POSIX_V6_ILP32_OFF32): Likewise.
64852         (_XBS5_ILP32_OFF32): Likewise.
64853         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
64854         (__ILP32_OFFBIG_LDFLAGS): Likewise.
64856 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64858         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
64860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
64861         doubles __mpexp_twomm1.  Adjust usage.
64862         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
64863         Remove.
64865 2013-01-10  Andreas Schwab  <schwab@suse.de>
64867         [BZ #14964]
64868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
64869         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
64871 2013-01-09  David S. Miller  <davem@davemloft.net>
64873         [BZ #15003]
64874         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
64875         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
64876         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
64877         (TCP_FASTOPEN): Define.
64878         (tcp_repair_opt): New structure.
64879         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
64880         enum values.
64881         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
64882         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
64883         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
64884         (tcp_cookie_transactions): New structure.
64886 2013-01-09  Anton Blanchard  <anton@samba.org>
64888         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
64889         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
64890         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
64891         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
64893 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
64895         * include/features.h (__USE_ANSI): Remove.
64897 2013-01-09  Roland McGrath  <roland@hack.frob.com>
64899         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
64901         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
64903 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
64905         * sysdeps/s390/fpu/libm-test-ulps: Update.
64907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64909         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
64910         (__acr): Likewise.
64911         (__cpy): Likewise.
64912         (norm): Likewise.
64913         (denorm): Likewise.
64914         (__mp_dbl): Likewise.
64915         (__dbl_mp): Likewise.
64916         (add_magnitudes): Likewise.
64917         (sub_magnitudes): Likewise.
64918         (__add): Likewise.
64919         (__sub): Likewise.
64920         (__mul): Likewise.
64921         (__inv): Likewise.
64922         (__dvd): Likewise.
64923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
64924         (__acr): Likewise.
64925         (__cpy): Likewise.
64926         (norm): Likewise.
64927         (denorm): Likewise.
64928         (__mp_dbl): Likewise.
64929         (__dbl_mp): Likewise.
64930         (add_magnitudes): Likewise.
64931         (sub_magnitudes): Likewise.
64932         (__add): Likewise.
64933         (__sub): Likewise.
64934         (__mul): Likewise.
64935         (__inv): Likewise.
64936         (__dvd): Likewise.
64937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
64938         (__acr): Likewise.
64939         (__cpy): Likewise.
64940         (norm): Likewise.
64941         (denorm): Likewise.
64942         (__mp_dbl): Likewise.
64943         (__dbl_mp): Likewise.
64944         (add_magnitudes): Likewise.
64945         (sub_magnitudes): Likewise.
64946         (__add): Likewise.
64947         (__sub): Likewise.
64948         (__mul): Likewise.
64949         (__inv): Likewise.
64950         (__dvd): Likewise.
64952 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
64954         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
64955         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
64956         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
64957         2 && __USE_EXTERN_INLINES]: Likewise.
64959 2013-01-08  Andreas Jaeger  <aj@suse.de>
64961         [BZ# 14985]
64962         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
64963         Remove.
64964         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64965         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
64967 2013-01-07  Anton Blanchard  <anton@samba.org>
64969         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
64970         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
64971         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
64972         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
64973         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64974         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64975         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
64976         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
64977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64978         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64979         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64980         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64981         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64982         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64983         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
64984         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64985         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64986         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64987         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
64988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64989         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
64990         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
64991         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64992         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
64993         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
64994         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64995         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
64996         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
64997         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
64998         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64999         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65001         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65002         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65003         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65004         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65005         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65006         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65007         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65008         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65009         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65010         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65011         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65013 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65015         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65016         (__MALLOC_PMT): Likewise.
65017         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65018         [__GNUC__], only on [_LIBC].
65019         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65020         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65021         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65022         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65023         forward declaration.
65024         (realloc_hook_ini): Likewise.
65025         (memalign_hook_ini): Likewise.
65026         (__libc_memalign): Do not use __MALLOC_PMT in variable
65027         declaration.
65028         (__libc_valloc): Likewise.
65029         (__libc_pvalloc): Likewise.
65030         (__libc_calloc): Likewise.
65031         (__posix_memalign): Likewise.
65033         [BZ #14996]
65034         * math/s_casinh.c: Include <float.h>.
65035         (__casinh): Do not do computation with squaring and square root
65036         for large arguments.
65037         * math/s_casinhf.c: Include <float.h>.
65038         (__casinhf): Do not do computation with squaring and square root
65039         for large arguments.
65040         * math/s_casinhl.c: Include <float.h>.
65041         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65042         (__casinhl): Do not do computation with squaring and square root
65043         for large arguments.
65044         * math/libm-test.inc (casin_test): Add more tests.
65045         (casinh_test): Likewise.
65046         * sysdeps/i386/fpu/libm-test-ulps: Update.
65047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65049 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65051         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65052         (__x86_64_raw_data_cache_size): Likewise.
65053         (__x86_64_data_cache_size_half): Likewise.
65054         (__x86_64_raw_data_cache_size_half): Likewise.
65055         (__x86_64_shared_cache_size): Likewise.
65056         (__x86_64_raw_shared_cache_size): Likewise.
65057         (__x86_64_shared_cache_size_half): Likewise.
65058         (__x86_64_raw_shared_cache_size_half): Likewise.
65059         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65060         to ...
65061         (__x86_data_cache_size): This.
65062         (__x86_64_raw_data_cache_size): Renamed to ...
65063         (__x86_raw_data_cache_size): This.
65064         (__x86_64_data_cache_size_half): Renamed to ...
65065         (__x86_data_cache_size_half): This.
65066         (__x86_64_raw_data_cache_size_half): Renamed to ...
65067         (__x86_raw_data_cache_size_half): This.
65068         (__x86_64_shared_cache_size): Renamed to ...
65069         (__x86_shared_cache_size): This.
65070         (__x86_64_raw_shared_cache_size): Renamed to ...
65071         (__x86_raw_shared_cache_size): This.
65072         (__x86_64_shared_cache_size_half): Renamed to ...
65073         (__x86_shared_cache_size_half): This.
65074         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65075         (__x86_raw_shared_cache_size_half): This.
65076         * sysdeps/x86_64/memcpy.S: Updated.
65077         * sysdeps/x86_64/memset.S: Likewise.
65078         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65079         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65080         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65082 2013-01-04  David S. Miller  <davem@davemloft.net>
65084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65086 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65088         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65089         1 to avoid redefinition warning.
65090         (__USE_GNU): Don't define.
65091         (init_signaling_nan): Protoize.
65093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65095 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65097         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65099         (__cpymn): Likewise.
65100         (norm): Remove commented code.
65101         (denorm): Likewise.
65102         (__mp_dbl): Likewise.
65103         (__inv): Likewise.
65104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65105         (__cpymn): Likewise.
65106         (norm): Remove commented code.
65107         (denorm): Likewise.
65108         (__mp_dbl): Likewise.
65109         (__inv): Likewise.
65111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65112         mp_no value for 1.0 and 2.0.
65113         (norm): Use RADIXI instead of radixi.d.
65114         (denorm): Likewise.
65115         (__mul): Use 0.0 instead of zero.d.
65116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65117         mp_no value for 1.0 and 2.0.
65118         (norm): Use RADIXI instead of radixi.d.
65119         (denorm): Likewise.
65120         (__mul): Use 0.0 instead of zero.d.
65122 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65124         [BZ #14994]
65125         * math/s_casinh.c (__casinh): Reduce finite argument to first
65126         quadrant then set signs of results at the end.
65127         * math/s_casinhf.c (__casinhf): Likewise.
65128         * math/s_casinhl.c (__casinhl): Likewise.
65129         * math/libm-test.inc (casin_test): Add more tests.
65130         (casinh_test): Likewise.
65131         * sysdeps/i386/fpu/libm-test-ulps: Update.
65132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65134 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65136         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65138         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65140         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65141         declarations.
65142         (denorm): Likewise.
65143         (__mp_dbl): Likewise.
65144         (__inv): Likewise.
65146         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65147         and adjust the header comment.
65149         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65150         variable name from declaration.
65152 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65155         Initialize COMMON_CPUID_INDEX_7 element.
65156         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65157         (CPUID_RTM): Likewise.
65158         (HAS_RTM): Likewise.
65159         (COMMON_CPUID_INDEX_7): New enum.
65161 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65163         [BZ #14981]
65164         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65165         size is zero, record memory as freed.
65167 2013-01-03  Andreas Jaeger  <aj@suse.de>
65169         * po/ia.po: Add new Interlingua translation.
65171 2012-01-03  Allan McRae  <allan@archlinux.org>
65173         * locale/programs/localedef.c: Fix description of '--posix' flag.
65175 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65177         * NEWS: Update dates in second copyright notice.
65178         * README: Update copyright dates in example.
65179         * manual/libc.texinfo: Update copyright dates.
65180         * scripts/test-installation.pl: Update copyright date in --version
65181         output.
65183         * hurd/ctty-input.c: Fix copyright notice formatting.
65184         * hurd/ctty-output.c: Likewise.
65185         * hurd/dtable.c: Likewise.
65186         * hurd/hurd-raise.c: Likewise.
65187         * hurd/hurdprio.c: Likewise.
65188         * hurd/msgportdemux.c: Likewise.
65189         * misc/sys/file.h: Likewise.
65190         * misc/sys/ioctl.h: Likewise.
65191         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65192         * sysdeps/mach/hurd/chdir.c: Likewise.
65193         * sysdeps/mach/hurd/fchdir.c: Likewise.
65194         * sysdeps/mach/hurd/rename.c: Likewise.
65195         * sysdeps/mach/hurd/rmdir.c: Likewise.
65196         * sysdeps/mach/hurd/seekdir.c: Likewise.
65197         * sysdeps/mach/hurd/setsid.c: Likewise.
65198         * sysdeps/posix/wait3.c: Likewise.
65200         * All files with FSF copyright notices: Update copyright dates
65201         using scripts/update-copyrights.
65202         * intl/plural.c: Regenerated.
65203         * locale/programs/charmap-kw.h: Likewise.
65204         * locale/programs/locfile-kw.h: Likewise.
65206 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65208         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65209         four values.
65211         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65212         calculation loop and add branch prediction.
65214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65215         check access beyond bounds of m1np.
65217         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65218         MPTWO.
65219         (__inv): Remove local variable MPTWO to use the global
65220         constant.
65221         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65222         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65223         variable MPTWO.
65224         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65225         MP3HALFS static const.
65227 2013-01-01  David S. Miller  <davem@davemloft.net>
65229         * po/ca.po: Update from translation team.
65231 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65233         * scripts/update-copyrights: New file.
65234         * Makeconfig: Reformat copyright notice.
65235         * ctype/ctype.h: Likewise.
65236         * debug/swprintf_chk.c: Likewise.
65237         * elf/dl-cache.c: Likewise.
65238         * elf/dl-debug.c: Likewise.
65239         * elf/dl-object.c: Likewise.
65240         * grp/initgroups.c: Likewise.
65241         * hurd/Makefile: Likewise.
65242         * hurd/hurd/signal.h: Likewise.
65243         * hurd/hurdfault.c: Likewise.
65244         * hurd/hurdioctl.c: Likewise.
65245         * hurd/hurdlookup.c: Likewise.
65246         * hurd/intr-msg.c: Likewise.
65247         * iconv/gconv_open.c: Likewise.
65248         * libio/swprintf.c: Likewise.
65249         * locale/lc-ctype.c: Likewise.
65250         * locale/nl_langinfo.c: Likewise.
65251         * mach/Machrules: Likewise.
65252         * mach/Makefile: Likewise.
65253         * malloc/obstack.h: Likewise.
65254         * manual/Makefile: Likewise.
65255         * manual/tsort.awk: Likewise.
65256         * misc/bits/stab.def: Likewise.
65257         * nis/nis_print_group_entry.c: Likewise.
65258         * nis/nis_table.c: Likewise.
65259         * nis/nss_compat/compat-pwd.c: Likewise.
65260         * nis/nss_compat/compat-spwd.c: Likewise.
65261         * po/Makefile: Likewise.
65262         * posix/fnmatch.c: Likewise.
65263         * posix/regex.h: Likewise.
65264         * resolv/Makefile: Likewise.
65265         * resolv/nss_dns/dns-network.c: Likewise.
65266         * resolv/res_hconf.c: Likewise.
65267         * scripts/gen-sorted.awk: Likewise.
65268         * soft-fp/soft-fp.h: Likewise.
65269         * stdio-common/printf.h: Likewise.
65270         * stdlib/monetary.h: Likewise.
65271         * stdlib/random.c: Likewise.
65272         * stdlib/random_r.c: Likewise.
65273         * sysdeps/generic/Makefile: Likewise.
65274         * sysdeps/gnu/Makefile: Likewise.
65275         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65277         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65282         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65283         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65284         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65285         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65286         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65287         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65288         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65289         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65290         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65291         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65292         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65294         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65295         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65296         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65297         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65298         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65299         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65300         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65302         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65303         * sysdeps/mach/hurd/errnos.awk: Likewise.
65304         * sysdeps/mach/hurd/fork.c: Likewise.
65305         * sysdeps/mach/hurd/getcwd.c: Likewise.
65306         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65307         * sysdeps/mach/hurd/mmap.c: Likewise.
65308         * sysdeps/mach/hurd/utimes.c: Likewise.
65309         * sysdeps/mach/hurd/xmknod.c: Likewise.
65310         * sysdeps/posix/profil.c: Likewise.
65311         * sysdeps/posix/readdir_r.c: Likewise.
65312         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65313         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65314         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65315         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65317         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65318         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65319         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65321         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65322         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65323         * sysdeps/pthread/lio_listio.c: Likewise.
65324         * sysdeps/sparc/dl-procinfo.h: Likewise.
65325         * sysdeps/unix/i386/sysdep.S: Likewise.
65326         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65327         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65328         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65329         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65331         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65332         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65333         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65334         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65335         * sysdeps/wordsize-32/divdi3.c: Likewise.
65336         * time/sys/time.h: Likewise.
65337         * wcsmbs/Makefile: Likewise.
65339 2013-01-01  David S. Miller  <davem@davemloft.net>
65341         * po/fr.po: Update from translation team.
65343         * catgets/gencat.c: Update copyright year.
65344         * csu/version.c: Likewise.
65345         * debug/catchsegv.sh: Likewise.
65346         * debug/pcprofiledump.c: Likewise.
65347         * debug/xtrace.sh: Likewise.
65348         * elf/ldconfig.c: Likewise.
65349         * elf/ldd.bash.in: Likewise.
65350         * elf/pldd.c: Likewise.
65351         * elf/sotruss.ksh: Likewise.
65352         * elf/sprof.c: Likewise.
65353         * iconv/iconv_prog.c: Likewise.
65354         * iconv/iconvconfig.c: Likewise.
65355         * locale/programs/locale.c: Likewise.
65356         * locale/programs/localedef.c: Likewise.
65357         * login/programs/pt_chown.c: Likewise.
65358         * malloc/memusage.sh: Likewise.
65359         * malloc/memusagestat.c: Likewise.
65360         * malloc/mtrace.pl: Likewise.
65361         * nscd/nscd.c: Likewise.
65362         * nss/getent.c: Likewise.
65363         * nss/makedb.c: Likewise.
65364         * posix/getconf.c: Likewise.
65366 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65368         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65369         numbers.
65371 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65373         * math/bits/mathcalls.h (modf): Use __nonnull.
65375 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65377         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65378         (split): Use macro CN instead of the bare value.
65379         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65380         could be used.
65381         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65382         instead of the bare value.
65383         (power1): Likewise.
65385 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65387         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65388         __ATAN_TWOM.
65389         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65391         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65392         their values.
65393         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65394         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65395         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65396         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65398 2012-12-28  Andreas Jaeger  <aj@suse.de>
65400         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65401         values are from Linux 3.7.
65403         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65404         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65406 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65408         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65409         TRUE case.
65411         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65412         (norm): Likewise.
65413         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65414         variables with preprocessor constants.
65415         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65416         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65417         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65419 2012-12-27  Bruno Haible  <bruno@clisp.org>
65421         [BZ #14317]
65422         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65423         only if needed.
65425 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65428         and use variable directly.
65429         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65431         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65432         MPONE.
65433         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65435         variable MPONE.
65436         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65438         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65439         include directive.  Remove local variable MPONE.
65440         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65441         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65442         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65444 2012-12-25  David S. Miller  <davem@davemloft.net>
65446         * version.h (RELEASE): Set to "development".
65447         (VERSION): Set to "2.17.90".
65448         * NEWS: Add 2.18 section.
65450 2012-12-21  David S. Miller  <davem@davemloft.net>
65452         * po/hr.po: Update from translation team.
65454 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65456         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65458 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65460         * NEWS:  Mention new memcpy for MIPS.
65462 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65464         * manual/contrib.texi (Contributors): Spelling correction.
65466 2012-12-15  David S. Miller  <davem@davemloft.net>
65468         * po/ru.po: Update from translation team.
65470 2012-12-13  David S. Miller  <davem@davemloft.net>
65472         * NEWS: Mention IFUNC testsuite enhancements.
65474         * po/pl.po: Update from translation team.
65475         * po/bg.po: Likewise.
65477         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65478         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65480 2012-12-11  David S. Miller  <davem@davemloft.net>
65482         * po/sv.po: Update from translation team.
65484         * po/vi.po: Update from translation team.
65486         * po/cs.po: Update from translation team.
65488         * po/de.po: Update from translation team.
65489         * po/eo.po: Likewise.
65490         * po/nl.po: Likewise.
65492 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65494         [BZ #14246]
65495         * manual/argp.texi (Argp Helper Functions): Move node to follow
65496         Argp Parsing State.
65498         [BZ #14872]
65499         * manual/conf.texi (Limits on File System Capacity): Mention if
65500         terminating null is included in the max size.
65502 2012-12-10  Andreas Jaeger  <aj@suse.de>
65504         * po/cs.po: Update from translation team.
65506 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65508         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65509         void pointer and cast to uintptr_t.
65510         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65511         path.
65512         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65513         * sysdeps/s390/s390-64/memset.S: Likewise.
65515 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65517         [BZ #14833]
65518         * menual/message.texi (Message Translation): Fix typos.
65519         (Helper programs for gettext): Likewise.
65521 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65523         [BZ #14898]
65524         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65525         Change to -1.
65527 2012-12-07  David S. Miller  <davem@davemloft.net>
65529         * po/libc.pot: Update.
65531 2012-12-07  Richard Henderson  <rth@redhat.com>
65533         [BZ #10114]
65534         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65535         normal/normal case to before the switch.
65536         (_FP_DIV): Likewise.
65538 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65539             Mike Frysinger  <vapier@gentoo.org>
65541         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65542         check for __NR_fadvise64_64.
65544 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65546         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65547         0, not just to plain "0" as a statement.
65548         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65549         with cw.
65551 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65553         * NEWS: Use sourceware.org in Bugzilla URL.
65555 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65558         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65560         * stdio-common/tst-put-error.c (do_test): Add newline to the
65561         padded test to ensure flush.
65563 2012-12-05  Jeff Law  <law@redhat.com>
65565         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65567 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65569         * README: Don't refer to ports add-on as distributed separately.
65570         Mention AArch64 in list of systems supported in the ports add-on.
65572         * LICENSES: Add more non-FSF copyright and license notices.
65574         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65575         ((unused)).
65577         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65579         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65580         10000 as width of padded output.
65582 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65584         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65586         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65587         variable LX with __attribute__ ((unused)).
65588         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65589         Likewise.
65590         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65591         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65592         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65593         with __attribute__ ((unused)).
65595 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65597         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65599 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65601         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65602         (CFLAGS-nldbl-acos.c): New variable.
65603         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65604         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65605         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65606         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65607         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65608         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65609         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65610         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65611         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65612         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65613         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65614         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65615         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65616         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65617         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65618         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65619         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65620         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65621         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65622         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65623         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65624         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65625         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65626         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65627         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65628         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65629         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65630         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65631         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65632         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65633         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65634         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65635         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65636         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65637         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65638         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65639         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65640         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65641         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65642         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65643         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65644         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65645         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65646         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65647         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65648         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65649         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65650         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65651         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65652         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65653         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65654         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65655         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65656         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65657         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65658         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65659         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65660         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65661         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65662         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65663         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65664         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65665         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65666         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65667         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65668         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65669         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65670         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65671         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65672         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65673         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65674         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65675         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65676         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65677         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65678         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65679         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65680         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65681         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65682         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65683         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65684         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65685         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65686         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65687         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65688         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65689         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65690         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65691         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65692         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65693         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65694         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65695         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65696         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65697         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65698         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65699         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65702         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65704         [BZ #14914]
65705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65706         whole low double instead of just low 47 bits when splitting values
65707         into two parts.
65709 2012-12-03  Allan McRae  <allan@archlinux.org>
65711         * manual/stdio.texi (Predefined Printf Handlers): Remove
65712         @hsep and @vsep usage.
65714 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65716         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65717         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
65719 2012-12-03  Jeff Law  <law@redhat.com>
65721         * time/sys/time.h (settimeofday): Do not mark TV argument
65722         as __nonnull.
65724 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
65726         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
65727         when currently writing and seek to current position when not.
65728         * libio/Makefile (tests): Remove bug-fclose1.
65729         * libio/bug-fclose1.c: Delete.
65731 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
65733         * manual/arith.texi (feenableexcept): Fix typo.
65734         (fedisableexcept): Likewise.
65736 2012-11-30  Roland McGrath  <roland@hack.frob.com>
65738         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
65739         second, differently-typed declaration, rather than a cast.
65741 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65743         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
65744         * include/rpc/svc.h: ... here.
65746 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
65748         [BZ #13013]
65749         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
65750         depending n and resplen2 to catch cases where answer
65751         equals answerp2.
65753 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
65755         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
65756         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
65758 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
65760         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
65762 2012-11-29  Roland McGrath  <roland@hack.frob.com>
65764         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
65766 2012-11-28  Jeff Law  <law@redhat.com>
65768         [BZ #13761]
65769         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
65770         dataset_temporary.  Track alloca usage into alloca_used.
65771         If dataset is large allocate and release it via malloc/free.
65773 2012-06-04  Florian Weimer  <fweimer@redhat.com>
65775         [BZ #14197]
65776         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
65778 2012-11-28  David S. Miller  <davem@davemloft.net>
65780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65782 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65784         [BZ #14803]
65785         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
65786         of pi/2 rounded to nearest to 64 bits.
65787         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
65788         nearest to 64 bits.
65789         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
65790         bits.
65792 2012-11-28  Jeff Law <law@redhat.com>
65793             Martin Osvald <mosvald@redhat.com>
65795         [BZ #14889]
65796         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
65797         * sunrpc/svc.c: Include time.h.
65798         (__svc_accept_failed): New function.
65799         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
65800         any reason other than EINTR, call __svc_accept_failed.
65801         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
65802         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
65804 2012-11-28  Andreas Schwab  <schwab@suse.de>
65806         * scripts/abilist.awk: Also handle indirect functions in .opd
65807         section.
65809 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
65811         [BZ #13881]
65812         * sysdeps/x86/fpu/powl_helper.c: New file.
65813         * sysdeps/x86/fpu/Makefile: Likewise.
65814         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
65815         (p3): New object.
65816         (__ieee754_powl): Use __powl_helper for finite arguments except
65817         integer exponents below 8.
65818         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
65819         (p3): New object.
65820         (__ieee754_powl): Use __powl_helper for finite arguments except
65821         integer exponents below 8.
65822         * math/libm-test.inc (pow_test): Add more tests and enable some
65823         previously disabled tests.
65824         * sysdeps/i386/fpu/libm-test-ulps: Update.
65825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65827 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65828             Carlos O'Donell  <carlos_odonell@mentor.com>
65830         * nss/makedb.c (is_prime): Assert that input is odd and greater
65831         than 4.  Note that fact in a comment too.
65832         (next_prime): Add 4 to input.
65834 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65836         [BZ #11741]
65837         * libio/Makefile (tests): Add test case tst-fwrite-error.
65838         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
65839         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
65840         * libio/tst-fwrite-error.c: New test case.
65842 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
65844         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
65845         before casting to void *.
65846         * include/libc-internal.h (__pointer_type): New macro.
65847         (__integer_if_pointer_type_sub): Likewise.
65848         (__integer_if_pointer_type): Likewise.
65849         (cast_to_integer): Likewise.
65850         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
65851         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
65852         before casting to atomic64_t.
65853         (atomic_exchange_acq): Likewise.
65854         (__arch_exchange_and_add_body): Likewise.
65855         (__arch_add_body): Likewise.
65856         (atomic_add_negative): Likewise.
65857         (atomic_add_zero): Likewise.
65859 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
65861         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
65862         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
65863         (add_fdes): Likewise.
65864         (linear_search_fdes): Likewise.
65865         (binary_search_unencoded_fdes): Likewise.
65867 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
65869         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
65871 2012-11-24  Adam Conrad  <adconrad@0c3.net>
65873         * configure.in: Autodetect C++ header directories.
65874         * configure: Regenerated.
65876 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
65878         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
65880 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
65882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65884 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
65886         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
65887         LDBL_MANT_DIG == 106]: Disable some tests.
65888         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65889         Likewise.
65890         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
65891         Likewise.
65893         [BZ #14871]
65894         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
65895         input for small inputs.  Return +/- pi/2 for large inputs.
65896         * math/libm-test.inc (atan_test): Add more tests.
65898         * sysdeps/generic/unwind-dw2-fde-glibc.c
65899         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
65900         __attribute__ ((unused)).
65902         [BZ #14645]
65903         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
65904         x * y if x and y are nonzero and z is zero.
65906         [BZ #14811]
65907         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
65908         nonzero exponents with absolute value below 0x1p-117 to +/-
65909         0x1p-117.
65911         [BZ #14869]
65912         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
65913         up arguments below 2**-450, not just those below 2**-500.
65914         * math/libm-test.inc (hypot_test): Add another test.
65916         [BZ #14868]
65917         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
65918         Return a+b for ratio over 2**120, not 2**60.
65919         * math/libm-test.inc (hypot_test): Add another test.
65921         * math/libm-test.inc (clog_test): Use
65922         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
65923         (clog10_test): Likewise.
65925         [BZ #6778]
65926         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
65928 2012-11-22  Andreas Schwab  <schwab@suse.de>
65930         * sysdeps/i386/fpu/libm-test-ulps: Update.
65932 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
65934         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
65935         printf output with newline.
65937 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
65939         [BZ #14865]
65940         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
65941         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
65942         -z nodlopen, -z initfirst and -z execstack support.
65943         * configure: Regenerated.
65945         * elf/elf.h (DF_1_NODIRECT): New macro.
65946         (DF_1_IGNMULDEF): Likewise.
65947         (DF_1_NOKSYMS): Likewise.
65948         (DF_1_NOHDR): Likewise.
65949         (DF_1_EDITED): Likewise.
65950         (DF_1_NORELOC): Likewise.
65951         (DF_1_SYMINTPOSE): Likewise.
65952         (DF_1_GLOBAUDIT): Likewise.
65953         (DF_1_SINGLETON): Likewise.
65954         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
65955         DT_1_SUPPORTED_MASK bits.
65956         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
65958 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
65960         * sysdeps/unix/make-syscalls.sh: Document prefixes.
65962 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
65964         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
65965         macro.
65967         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
65968         (sendmmsg): Move declarations...
65969         * socket/sys/socket.h: ... here.
65970         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
65971         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
65972         include it from...
65973         * socket/recvmmsg.c: ... this new file.
65974         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
65975         (sendmmsg): Rename to __sendmmsg, create weak alias and make
65976         definition of __sendmmsg hidden.
65977         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
65978         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
65979         Move ENOSYS stub into and include it from...
65980         * socket/sendmmsg.c: ... this new file.
65981         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
65982         (sysdep_routines): Move recvmmsg and sendmmsg...
65983         * socket/Makefile (routines): ... here.
65984         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
65985         (GLIBC_PRIVATE): Add __sendmmsg.
65986         * include/sys/socket.h (__sendmmsg): Add declarations.
65987         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
65988         sendmmsg.
65990 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
65992         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
65993         variable I1 with __attribute__ ((unused)).
65994         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
65996 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
65998         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
65999         DUMMY variables with __attribute__ ((unused)).
66001         * bits/byteswap.h: Include <bits/types.h>.
66002         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66004 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66006         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66007         string_t.  Do not manually set errno.
66008         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66009         length with __strnlen.  Make sure to both set errno and return it on
66010         failure.
66012 2012-11-19  David S. Miller  <davem@davemloft.net>
66014         With help from Joseph Myers.
66015         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66016         very large arguments properly.
66017         * math/libm-test.inc (atan_test): New tests.
66018         (atan2_test): New tests.
66019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66020         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66022 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66024         [BZ #14856]
66025         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66026         Define to 3.
66028         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66029         [POSIX] (EADDRNOTAVAIL): Likewise.
66030         [POSIX] (EAFNOSUPPORT): Likewise.
66031         [POSIX] (EALREADY): Likewise.
66032         [POSIX] (ECONNABORTED): Likewise.
66033         [POSIX] (ECONNREFUSED): Likewise.
66034         [POSIX] (ECONNRESET): Likewise.
66035         [POSIX] (EDESTADDRREQ): Likewise.
66036         [POSIX] (EDQUOT): Likewise.
66037         [POSIX] (EHOSTUNREACH): Likewise.
66038         [POSIX] (EIDRM): Likewise.
66039         [POSIX] (EISCONN): Likewise.
66040         [POSIX] (ELOOP): Likewise.
66041         [POSIX] (EMULTIHOP): Likewise.
66042         [POSIX] (ENETDOWN): Likewise.
66043         [POSIX] (ENETUNREACH): Likewise.
66044         [POSIX] (ENOBUFS): Likewise.
66045         [POSIX] (ENODATA): Likewise.
66046         [POSIX] (ENOLINK): Likewise.
66047         [POSIX] (ENOMSG): Likewise.
66048         [POSIX] (ENOPROTOOPT): Likewise.
66049         [POSIX] (ENOSR): Likewise.
66050         [POSIX] (ENOSTR): Likewise.
66051         [POSIX] (ENOTCONN): Likewise.
66052         [POSIX] (ENOTSOCK): Likewise.
66053         [POSIX] (EOPNOTSUPP): Likewise.
66054         [POSIX] (EOVERFLOW): Likewise.
66055         [POSIX] (EPROTO): Likewise.
66056         [POSIX] (EPROTONOSUPPORT): Likewise.
66057         [POSIX] (EPROTOTYPE): Likewise.
66058         [POSIX] (ESTALE): Likewise.
66059         [POSIX] (ETIME): Likewise.
66060         [POSIX] (ETXTBSY): Likewise.
66061         [POSIX] (EWOULDBLOCK): Likewise.
66062         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66063         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66064         [POSIX] (SEEK_CUR): Likewise.
66065         [POSIX] (SEEK_END): Likewise.
66066         [POSIX || UNIX98] (mode_t): Do not require.
66067         [POSIX] (off_t): Likewise.
66068         [POSIX] (pid_t): Likewise.
66069         [POSIX] (sys/stat.h): Do not allow header.
66070         [POSIX] (unistd.h): Likewise.
66071         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66072         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66073         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66074         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66075         require.
66076         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66077         sigevent): Specify elements.
66078         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66079         entry.
66080         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66081         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66083         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66084         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66085         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66086         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66087         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66088         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66089         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66090         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66091         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66092         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66093         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66094         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66095         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66096         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66097         Likewise.
66098         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66099         Likewise.
66100         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66101         Likewise.
66102         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66103         Likewise.
66104         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66105         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66106         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66107         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66108         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66109         Specify lower bound on value.
66110         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66111         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66112         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66113         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66114         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66115         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66116         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66117         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66118         value.
66119         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66120         as optional.
66121         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66122         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66123         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66124         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66125         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66126         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66127         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66128         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66129         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66130         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66131         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66132         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66133         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66134         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66135         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66136         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66137         entry.
66138         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66139         optional.
66140         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66141         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66142         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66143         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66144         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66145         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66146         Likewise.
66147         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66148         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66149         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66150         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66151         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66152         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66153         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66154         as optional.
66155         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66156         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66157         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66158         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66159         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66160         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66161         specify as optional.
66162         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66163         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66164         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66165         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66166         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66167         [XPG3] (NL_LANGMAX): Likewise.
66168         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66169         [POSIX || XPG3] (NL_NMAX): Likewise.
66170         [POSIX || XPG3] (NL_SETMAX): Likewise.
66171         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66172         [XPG3] (NZERO): Likewise.
66173         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66174         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66175         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66176         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66177         (REG_ERANGE): Expect.
66178         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66179         optional-constant.
66180         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66181         Use (void) in prototype.
66182         [POSIX] (*_t): Allow.
66183         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66184         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66185         (WRDE_BADVAL): Expect.
66187         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66188         expect.
66189         [XPG3 || XPG4] (O_RSYNC): Likewise.
66190         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66191         Likewise.
66192         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66193         [XPG3 || XPG4] (sigqueue): Likewise.
66194         [XPG3 || XPG4] (sigtimedwait): Likewise.
66195         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66196         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66197         [XPG3 || XPG4] (vsnprintf): Likewise.
66198         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66199         Likewise.
66200         [XPG3 || XPG4] (blksize_t): Likewise.
66201         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66202         Likewise.
66203         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66204         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66205         [XPG3 || XPG4] (struct itimerspec): Likewise.
66206         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66207         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66208         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66209         [XPG3 || XPG4] (clockid_t): Likewise.
66210         [XPG3 || XPG4] (timer_t): Likewise.
66211         [XPG3 || XPG4] (clock_getres): Likewise.
66212         [XPG3 || XPG4] (clock_gettime): Likewise.
66213         [XPG3 || XPG4] (clock_settime): Likewise.
66214         [XPG3 || XPG4] (nanosleep): Likewise.
66215         [XPG3 || XPG4] (timer_create): Likewise.
66216         [XPG3 || XPG4] (timer_delete): Likewise.
66217         [XPG3 || XPG4] (timer_gettime): Likewise.
66218         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66219         [XPG3 || XPG4] (timer_settime): Likewise.
66220         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66221         [XPG3 || XPG4] (getlogin_r): Likewise.
66222         [XPG3 || XPG4] (pread): Likewise.
66223         [XPG3 || XPG4] (pthread_atfork): Likewise.
66224         [XPG3 || XPG4] (pwrite): Likewise.
66226         [BZ #14835]
66227         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66228         <bits/siginfo.h>.
66230 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66232         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66233         finalizing MALLSTREAM.
66235         * sysdeps/mach/hurd/syncfs.c: New file.
66237 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66239         [BZ #14719]
66240         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66241         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66242         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66243         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66244         (_nss_dns_gethostbyname4_r): Likewise.
66245         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66246         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66248 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66250         [BZ #13763]
66251         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66253 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66255         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66256         * elf/cache.c (print_entry): Print ",AArch64" for
66257         FLAG_AARCH64_LIB64
66259         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66260         * elf/cache.c (print_entry): Print ",hard-float" for
66261         FLAG_ARM_LIBHF.
66263 2012-11-18  David S. Miller  <davem@davemloft.net>
66265         With help from Joseph Myers.
66266         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66267         cutoff to 2**-13.
66268         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66269         cutoff to 2**-25.
66270         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66271         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66272         small.
66273         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66274         * math/libm-test.inc (y0_test): New tests.
66275         (y1_test): New tests.
66276         * sysdeps/i386/fpu/libm-test-ulps: Update.
66277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66280 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66282         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66283         64-bit targets.
66284         * configure: Regenerated.
66286 2012-11-17  David S. Miller  <davem@davemloft.net>
66288         [BZ #14811]
66289         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66290         nonzero exponents with absolute value below 0x1p-128 to +/-
66291         0x1p-128.
66293 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66295         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66297         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66299         * posix/getconf-speclist.c: New file.
66300         * posix/posix-envs.def: Likewise.
66301         * posix/confstr.c (START_ENV_GROUP): New macro.
66302         (END_ENV_GROUP): Likewise.
66303         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66304         (KNOWN_PRESENT_ENV_STRING): Likewise.
66305         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66306         (UNKNOWN_ENVIRONMENT): Likewise.
66307         (confstr): Include posix-envs.def instead of handling
66308         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66309         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66310         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66311         (END_ENV_GROUP): Likewise.
66312         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66313         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66314         (UNKNOWN_ENVIRONMENT): Likewise.
66315         (__sysconf): Include posix-envs.def instead of handling associated
66316         cases directly here.
66317         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66318         preprocessing getconf-speclist.c rather than running getconf or
66319         generating empty file.
66321 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66323         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66325 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66327         [BZ #14672]
66328         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66330 2012-11-16  David S. Miller  <davem@davemloft.net>
66332         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66333         smaller than LDBL_EPSILON/2.0L, just return xm1.
66335 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66337         * elf/tst-array1.c (init): Set constructor priority to 1000.
66338         (fini): Set destructor priority to 1000.
66339         * elf/tst-array2dep.c: Likewise.
66341 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66343         [BZ #11741]
66344         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66345         (_IO_new_file_xsputn): Also return EOF if none of the input
66346         data was written when overflow failed.
66347         * libio/iopadn.c (_IO_padn): Likewise.
66348         * libio/iowpadn.c (_IO_wpadn): Likewise.
66349         * stdio-common/tst-put-error.c: Add copyright notice.
66350         (do_test): Add case for printing padded string.
66351         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66352         _IO_padn returned error.
66353         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66354         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66355         return EOF.
66357 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66359         * libio/libioP.h: Add comment note that the references to C++
66360         bits are now obsolete.
66362 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66364         * math/libm-test.inc (check_complex): Use asprintf.
66366 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66368         * debug/pcprofiledump.c (print_version): Update copyright year.
66369         * malloc/memusagestat.c (print_version): Likewise.
66371 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66373         [BZ #14831]
66374         * elf/Makefile (tests): Add tst-audit8.
66375         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66376         ($(objpfx)tst-audit8.out): New target.
66377         (tst-audit8-ENV): New variable.
66378         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66379         audit if l_reloc_result is NULL.
66380         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66381         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66382         * elf/tst-audit8.c: New file.
66384 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66386         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66387         * misc/Makefile (CFLAGS-select.c): Define.
66388         * posix/Makefile (CFLAGS-pause.c): Define.
66390 2012-11-13  David S. Miller  <davem@davemloft.net>
66392         * crypt/Makefile: Move test targets after toplevel Rules
66393         inclusion.  Grab any necessary sysdep routines when linking.
66394         * crypt/md5.c (md5_process_block): Remove define, we will always
66395         name it __md5_process_block.
66396         (md5_finish_ctx): Update md5_process_block call.
66397         (md5_stream): Likewise.
66398         (md5_process_bytes): Likewise.
66399         (md5_process_block): Rename to __md5_process_block and move to ...
66400         * crypt/md5-block.c: ... here.
66401         * crypt/sha256.c (sha256_process_block): Move to ...
66402         * crypt/sha256-block.c: ... here.
66403         * crypt/sha512.c (sha512_process_block): Move to ...
66404         * crypt/sha512-block.c: ... here.
66405         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66406         path.
66407         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66408         * sysdeps/sparc/sparc64/multiarch/Makefile
66409         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66410         crypt subdir.
66411         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66412         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66413         multiarch changes.
66414         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66415         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66416         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66417         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66418         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66419         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66420         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66421         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66422         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66423         file.
66424         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66425         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66426         file.
66427         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66429 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66431         * timezone/tzselect.ksh: Update from tzcode git revision
66432         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66433         * timezone/zdump.c: Likewise.
66434         * timezone/zic.c: Likewise.
66435         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66436         in TZVERSION setting, not $(PKGVERSION).
66437         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66438         REPORT_BUGS_TO settings.
66440         [BZ #14838]
66441         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66442         macro.
66444 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66446         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66447         detection to immediately after _FP_ROUND().
66448         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66449         bits are 0.
66451 2012-11-11  David S. Miller  <davem@davemloft.net>
66453         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66454         inttypes.h
66455         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66456         __close rather than their public counterparts.
66458 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66460         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66461         file.
66462         [UNIX98] (sem_timedwait): Do not expect.
66463         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66464         [XPG4 || UNIX98] (sockatmark): Do not expect.
66465         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66466         (clock_getcpuclockid): Do not expect.
66467         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66468         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66469         Do not expect.
66470         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66471         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66472         [UNIX98] (vwscanf): Likewise.
66473         [UNIX98] (vswscanf): Likewise.
66475 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66477         * timezone/version.h: Remove file.
66478         * timezone/README: Do not refer to version.h.
66479         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66480         $(objpfx)version.h.
66481         ($(objpfx)zdump.o): Likewise.
66482         ($(objpfx)version.h): New target.
66484         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66485         2012i.
66486         * timezone/README: Don't mention modification to tzselect.ksh.
66487         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66488         work on unmodified tzselect.ksh.  Substitute version numbers in
66489         tzselect.ksh.
66491         * Makefile (format-me): Remove.
66492         (INSTALL): Adjust indentation.  Use commands directly instead of
66493         using $(format-me).
66495         * aclocal.m4 (ACX_PKGVERSION): New macro.
66496         (ACX_BUGURL): Likewise.
66497         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66498         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66499         (REPORT_BUGS_TO): Likewise.
66500         * configure: Regenerated.
66501         * config.h.in (PKGVERSION): New macro.
66502         (REPORT_BUGS_TO): Likewise.
66503         * config.make.in (PKGVERSION): New variable.
66504         (PKGVERSION_TEXI): Likewise.
66505         (REPORT_BUGS_TO): Likewise.
66506         (REPORT_BUGS_TEXI): Likewise.
66507         * Makefile (format-me): Use -I$(common-objpfx)manual.
66508         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66509         ($(common-objpfx)manual/%): New target.
66510         (manual/%): Remove target.
66511         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66512         (print_version): Use PKGVERSION.
66513         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66514         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66515         and REPORT_BUGS_TO.
66516         ($(objpfx)xtrace): Likewise.
66517         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66518         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66519         (print_version): Use PKGVERSION.
66520         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66521         (do_version): Use PKGVERSION.
66522         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66523         REPORT_BUGS_TO.
66524         (common-ldd-rewrite): Likewise.
66525         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66526         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66527         (print_version): Use PKGVERSION.
66528         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66529         * elf/pldd.c (argp_program_bug_address): Remove variable.
66530         (more_help): New function.
66531         (argp): Use more_help.
66532         (print_version): Use PKGVERSION.
66533         * elf/sln.c (main): Use PKGVERSION.
66534         (usage): Use REPORT_BUGS_TO.
66535         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66536         (top level): Use PKGVERSION.
66537         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66538         (print_version): Use PKGVERSION.
66539         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66540         (print_version): Use PKGVERSION.
66541         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66542         (print_version): Use PKGVERSION.
66543         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66544         (print_version): Use PKGVERSION.
66545         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66546         (print_version): Use PKGVERSION.
66547         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66548         (print_version): Use PKGVERSION.
66549         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66550         and BUGURL.
66551         ($(objpfx)memusage): Likewise.
66552         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66553         (do_version): Use PKGVERSION.
66554         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66555         (print_version): Use PKGVERSION.
66556         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66557         ($PKGVERSION): New variable.
66558         ($REPORT_BUGS_TO): Likewise.
66559         (usage): Use $REPORT_BUGS_TO.
66560         (top level): Use $PKGVERSION.
66561         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66562         ($(objpfx)pkgvers.texi): New rule.
66563         ($(objpfx)stamp-pkgvers): Likewise.
66564         * manual/install.texi: Include pkgvers.texi.
66565         (--with-pkgversion): Document new configure option.
66566         (--with-bugurl): Likewise.
66567         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66568         than necessarily for this particular distribution.  Use
66569         REPORT_BUGS_TO for where to report bugs.
66570         * INSTALL: Regenerated.
66571         * manual/libc.texinfo: Include pkgvers.texi.
66572         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66573         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66574         (print_version): Use PKGVERSION.
66575         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66576         (print_version): Use PKGVERSION.
66577         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66578         (print_version): Use PKGVERSION.
66579         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66580         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66581         macro.
66582         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66583         (print_version): Use PKGVERSION.
66584         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66585         (print_version): Use PKGVERSION.
66586         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66587         and PKGVERSION.
66589         * timezone/checktab.awk: Update from tzcode 2012i.
66590         * timezone/ialloc.c: Likewise.
66591         * timezone/private.h: Likewise.
66592         * timezone/scheck.c: Likewise.
66593         * timezone/tzfile.h: Likewise.
66594         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66595         (TZVERSION): Hardcode tzcode version number.
66596         * timezone/zdump.c: Update from tzcode 2012i.
66597         * timezone/zic.c: Likewise.
66598         * timezone/version.h: New file.
66599         * timezone/README: Describe version.h.  Update upstream location.
66601         [BZ #14824]
66602         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66603         (mktemp): Enable declaration.
66604         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66606         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66608         Likewise.
66609         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66610         Likewise.
66611         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66612         Likewise.
66613         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66614         Likewise.
66615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66616         Likewise.
66617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66618         Likewise.
66620         [BZ #14821]
66621         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66622         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66623         for copies of such integer values.
66624         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66625         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66627 2012-11-09  Andreas Jaeger  <aj@suse.de>
66629         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66630         definitions and declarations that are provided by
66631         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66633 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66635         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66636         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66637         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66638         definition.
66640 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66642         * elf/elf.h: Update comment before AArch64 relocations.
66644 2012-11-07  David S. Miller  <davem@davemloft.net>
66646         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66647         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66648         (__start_context): Declare.
66649         (__makecontext_ret): Delete.
66650         (__makecontext): Hook up __start_context instead of
66651         __makecontext_ret.
66652         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66653         (sysdep_routines): Add __start_context when in stdlib.
66655 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66657         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66658         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66659         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66660         hardcoded "nm".
66661         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66662         (READELF): New variable.  Use it instead of hardcoded "readelf".
66664 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66666         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66667         * sysdeps/x86/Makefile: Here.
66668         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66669         * sysdeps/x86/tst-xmmymm.sh: This.
66671 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66673         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66674         expectations.
66675         [UNIX98] (pthread_barrier_t): Do not expect.
66676         [UNIX98] (pthread_barrierattr_t): Likewise.
66677         [UNIX98] (pthread_spinlock_t): Likewise.
66678         [UNIX98] (pthread_barrier_destroy): Likewise.
66679         [UNIX98] (pthread_barrier_init): Likewise.
66680         [UNIX98] (pthread_barrier_wait): Likewise.
66681         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66682         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66683         [UNIX98] (pthread_barrierattr_init): Likewise.
66684         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66685         [UNIX98] (pthread_getcpuclockid): Likewise.
66686         [UNIX98] (pthread_mutex_timedlock): Likewise.
66687         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66688         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66689         [UNIX98] (pthread_sigmask): Likewise.
66690         [UNIX98] (pthread_spin_destroy): Likewise.
66691         [UNIX98] (pthread_spin_init): Likewise.
66692         [UNIX98] (pthread_spin_lock): Likewise.
66693         [UNIX98] (pthread_spin_trylock): Likewise.
66694         [UNIX98] (pthread_spin_unlock): Likewise.
66695         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66696         Do not expect.
66697         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66698         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66699         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66700         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66701         [XPG3 || XPG4] (pthread_key_t): Likewise.
66702         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66703         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66704         [XPG3 || XPG4] (pthread_once_t): Likewise.
66705         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66706         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66707         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66708         [XPG3 || XPG4] (pthread_t): Likewise.
66710         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66711         not expect.
66712         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66714         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66715         Change function return type to int.
66717         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66718         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
66719         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
66720         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
66721         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
66722         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
66723         [!POSIX] (posix_madvise): Likewise.
66724         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
66725         && !UNIX98].
66726         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
66727         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
66728         (mode_t): Likewise.
66729         (posix_mem_offset): Likewise.
66730         (posix_typed_mem_get_info): Likewise.
66731         (posix_typed_mem_open): Likewise.
66733         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
66734         Change condition to [XOPEN2K8].
66736         * conform/conformtest.pl: Preprocess allow-header data with -x c
66737         instead of from stdin.
66738         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
66739         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
66740         [C99-based standards] (cerfc): Likewise.
66741         [C99-based standards] (cexp2): Likewise.
66742         [C99-based standards] (cexpm1): Likewise.
66743         [C99-based standards] (clog10): Likewise.
66744         [C99-based standards] (clog1p): Likewise.
66745         [C99-based standards] (clog2): Likewise.
66746         [C99-based standards] (clgamma): Likewise.
66747         [C99-based standards] (ctgamma): Likewise.
66748         [C99-based standards] (cerff): Likewise.
66749         [C99-based standards] (cerfcf): Likewise.
66750         [C99-based standards] (cexp2f): Likewise.
66751         [C99-based standards] (cexpm1f): Likewise.
66752         [C99-based standards] (clog10f): Likewise.
66753         [C99-based standards] (clog1pf): Likewise.
66754         [C99-based standards] (clog2f): Likewise.
66755         [C99-based standards] (clgammaf): Likewise.
66756         [C99-based standards] (ctgammaf): Likewise.
66757         [C99-based standards] (cerfl): Likewise.
66758         [C99-based standards] (cerfcl): Likewise.
66759         [C99-based standards] (cexp2l): Likewise.
66760         [C99-based standards] (cexpm1l): Likewise.
66761         [C99-based standards] (clog10l): Likewise.
66762         [C99-based standards] (clog1pl): Likewise.
66763         [C99-based standards] (clog2l): Likewise.
66764         [C99-based standards] (clgammal): Likewise.
66765         [C99-based standards] (ctgammal): Likewise.
66766         * conform/data/inttypes.h-data [C99-based standards]: Include
66767         stdint.h-data.  Remove all expectations for stdint.h contents.
66768         [C99-based standards] (PRI*): Do not allow.
66769         [C99-based standards] (SCN*): Likewise.
66770         [C99-based standards] (*_t): Likewise.
66771         [C99-based-standards] (PRId8): Expect macro.
66772         [C99-based-standards] (PRIi8): Likewise.
66773         [C99-based-standards] (PRIo8): Likewise.
66774         [C99-based-standards] (PRIu8): Likewise.
66775         [C99-based-standards] (PRIx8): Likewise.
66776         [C99-based-standards] (PRIX8): Likewise.
66777         [C99-based-standards] (SCNd8): Likewise.
66778         [C99-based-standards] (SCNi8): Likewise.
66779         [C99-based-standards] (SCNo8): Likewise.
66780         [C99-based-standards] (SCNu8): Likewise.
66781         [C99-based-standards] (SCNx8): Likewise.
66782         [C99-based-standards] (PRIdLEAST8): Likewise.
66783         [C99-based-standards] (PRIiLEAST8): Likewise.
66784         [C99-based-standards] (PRIoLEAST8): Likewise.
66785         [C99-based-standards] (PRIuLEAST8): Likewise.
66786         [C99-based-standards] (PRIxLEAST8): Likewise.
66787         [C99-based-standards] (PRIXLEAST8): Likewise.
66788         [C99-based-standards] (SCNdLEAST8): Likewise.
66789         [C99-based-standards] (SCNiLEAST8): Likewise.
66790         [C99-based-standards] (SCNoLEAST8): Likewise.
66791         [C99-based-standards] (SCNuLEAST8): Likewise.
66792         [C99-based-standards] (SCNxLEAST8): Likewise.
66793         [C99-based-standards] (PRIdFAST8): Likewise.
66794         [C99-based-standards] (PRIiFAST8): Likewise.
66795         [C99-based-standards] (PRIoFAST8): Likewise.
66796         [C99-based-standards] (PRIuFAST8): Likewise.
66797         [C99-based-standards] (PRIxFAST8): Likewise.
66798         [C99-based-standards] (PRIXFAST8): Likewise.
66799         [C99-based-standards] (SCNdFAST8): Likewise.
66800         [C99-based-standards] (SCNiFAST8): Likewise.
66801         [C99-based-standards] (SCNoFAST8): Likewise.
66802         [C99-based-standards] (SCNuFAST8): Likewise.
66803         [C99-based-standards] (SCNxFAST8): Likewise.
66804         [C99-based-standards] (PRId16): Likewise.
66805         [C99-based-standards] (PRIi16): Likewise.
66806         [C99-based-standards] (PRIo16): Likewise.
66807         [C99-based-standards] (PRIu16): Likewise.
66808         [C99-based-standards] (PRIx16): Likewise.
66809         [C99-based-standards] (PRIX16): Likewise.
66810         [C99-based-standards] (SCNd16): Likewise.
66811         [C99-based-standards] (SCNi16): Likewise.
66812         [C99-based-standards] (SCNo16): Likewise.
66813         [C99-based-standards] (SCNu16): Likewise.
66814         [C99-based-standards] (SCNx16): Likewise.
66815         [C99-based-standards] (PRIdLEAST16): Likewise.
66816         [C99-based-standards] (PRIiLEAST16): Likewise.
66817         [C99-based-standards] (PRIoLEAST16): Likewise.
66818         [C99-based-standards] (PRIuLEAST16): Likewise.
66819         [C99-based-standards] (PRIxLEAST16): Likewise.
66820         [C99-based-standards] (PRIXLEAST16): Likewise.
66821         [C99-based-standards] (SCNdLEAST16): Likewise.
66822         [C99-based-standards] (SCNiLEAST16): Likewise.
66823         [C99-based-standards] (SCNoLEAST16): Likewise.
66824         [C99-based-standards] (SCNuLEAST16): Likewise.
66825         [C99-based-standards] (SCNxLEAST16): Likewise.
66826         [C99-based-standards] (PRIdFAST16): Likewise.
66827         [C99-based-standards] (PRIiFAST16): Likewise.
66828         [C99-based-standards] (PRIoFAST16): Likewise.
66829         [C99-based-standards] (PRIuFAST16): Likewise.
66830         [C99-based-standards] (PRIxFAST16): Likewise.
66831         [C99-based-standards] (PRIXFAST16): Likewise.
66832         [C99-based-standards] (SCNdFAST16): Likewise.
66833         [C99-based-standards] (SCNiFAST16): Likewise.
66834         [C99-based-standards] (SCNoFAST16): Likewise.
66835         [C99-based-standards] (SCNuFAST16): Likewise.
66836         [C99-based-standards] (SCNxFAST16): Likewise.
66837         [C99-based-standards] (PRId32): Likewise.
66838         [C99-based-standards] (PRIi32): Likewise.
66839         [C99-based-standards] (PRIo32): Likewise.
66840         [C99-based-standards] (PRIu32): Likewise.
66841         [C99-based-standards] (PRIx32): Likewise.
66842         [C99-based-standards] (PRIX32): Likewise.
66843         [C99-based-standards] (SCNd32): Likewise.
66844         [C99-based-standards] (SCNi32): Likewise.
66845         [C99-based-standards] (SCNo32): Likewise.
66846         [C99-based-standards] (SCNu32): Likewise.
66847         [C99-based-standards] (SCNx32): Likewise.
66848         [C99-based-standards] (PRIdLEAST32): Likewise.
66849         [C99-based-standards] (PRIiLEAST32): Likewise.
66850         [C99-based-standards] (PRIoLEAST32): Likewise.
66851         [C99-based-standards] (PRIuLEAST32): Likewise.
66852         [C99-based-standards] (PRIxLEAST32): Likewise.
66853         [C99-based-standards] (PRIXLEAST32): Likewise.
66854         [C99-based-standards] (SCNdLEAST32): Likewise.
66855         [C99-based-standards] (SCNiLEAST32): Likewise.
66856         [C99-based-standards] (SCNoLEAST32): Likewise.
66857         [C99-based-standards] (SCNuLEAST32): Likewise.
66858         [C99-based-standards] (SCNxLEAST32): Likewise.
66859         [C99-based-standards] (PRIdFAST32): Likewise.
66860         [C99-based-standards] (PRIiFAST32): Likewise.
66861         [C99-based-standards] (PRIoFAST32): Likewise.
66862         [C99-based-standards] (PRIuFAST32): Likewise.
66863         [C99-based-standards] (PRIxFAST32): Likewise.
66864         [C99-based-standards] (PRIXFAST32): Likewise.
66865         [C99-based-standards] (SCNdFAST32): Likewise.
66866         [C99-based-standards] (SCNiFAST32): Likewise.
66867         [C99-based-standards] (SCNoFAST32): Likewise.
66868         [C99-based-standards] (SCNuFAST32): Likewise.
66869         [C99-based-standards] (SCNxFAST32): Likewise.
66870         [C99-based-standards] (PRId64): Likewise.
66871         [C99-based-standards] (PRIi64): Likewise.
66872         [C99-based-standards] (PRIo64): Likewise.
66873         [C99-based-standards] (PRIu64): Likewise.
66874         [C99-based-standards] (PRIx64): Likewise.
66875         [C99-based-standards] (PRIX64): Likewise.
66876         [C99-based-standards] (SCNd64): Likewise.
66877         [C99-based-standards] (SCNi64): Likewise.
66878         [C99-based-standards] (SCNo64): Likewise.
66879         [C99-based-standards] (SCNu64): Likewise.
66880         [C99-based-standards] (SCNx64): Likewise.
66881         [C99-based-standards] (PRIdLEAST64): Likewise.
66882         [C99-based-standards] (PRIiLEAST64): Likewise.
66883         [C99-based-standards] (PRIoLEAST64): Likewise.
66884         [C99-based-standards] (PRIuLEAST64): Likewise.
66885         [C99-based-standards] (PRIxLEAST64): Likewise.
66886         [C99-based-standards] (PRIXLEAST64): Likewise.
66887         [C99-based-standards] (SCNdLEAST64): Likewise.
66888         [C99-based-standards] (SCNiLEAST64): Likewise.
66889         [C99-based-standards] (SCNoLEAST64): Likewise.
66890         [C99-based-standards] (SCNuLEAST64): Likewise.
66891         [C99-based-standards] (SCNxLEAST64): Likewise.
66892         [C99-based-standards] (PRIdFAST64): Likewise.
66893         [C99-based-standards] (PRIiFAST64): Likewise.
66894         [C99-based-standards] (PRIoFAST64): Likewise.
66895         [C99-based-standards] (PRIuFAST64): Likewise.
66896         [C99-based-standards] (PRIxFAST64): Likewise.
66897         [C99-based-standards] (PRIXFAST64): Likewise.
66898         [C99-based-standards] (SCNdFAST64): Likewise.
66899         [C99-based-standards] (SCNiFAST64): Likewise.
66900         [C99-based-standards] (SCNoFAST64): Likewise.
66901         [C99-based-standards] (SCNuFAST64): Likewise.
66902         [C99-based-standards] (SCNxFAST64): Likewise.
66903         [C99-based-standards] (PRIdMAX): Likewise.
66904         [C99-based-standards] (PRIiMAX): Likewise.
66905         [C99-based-standards] (PRIoMAX): Likewise.
66906         [C99-based-standards] (PRIuMAX): Likewise.
66907         [C99-based-standards] (PRIxMAX): Likewise.
66908         [C99-based-standards] (PRIXMAX): Likewise.
66909         [C99-based-standards] (SCNdMAX): Likewise.
66910         [C99-based-standards] (SCNiMAX): Likewise.
66911         [C99-based-standards] (SCNoMAX): Likewise.
66912         [C99-based-standards] (SCNuMAX): Likewise.
66913         [C99-based-standards] (SCNxMAX): Likewise.
66914         [C99-based-standards] (PRIdPTR): Likewise.
66915         [C99-based-standards] (PRIiPTR): Likewise.
66916         [C99-based-standards] (PRIoPTR): Likewise.
66917         [C99-based-standards] (PRIuPTR): Likewise.
66918         [C99-based-standards] (PRIxPTR): Likewise.
66919         [C99-based-standards] (PRIXPTR): Likewise.
66920         [C99-based-standards] (SCNdPTR): Likewise.
66921         [C99-based-standards] (SCNiPTR): Likewise.
66922         [C99-based-standards] (SCNoPTR): Likewise.
66923         [C99-based-standards] (SCNuPTR): Likewise.
66924         [C99-based-standards] (SCNxPTR): Likewise.
66925         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
66926         allow.
66927         * conform/data/stdint.h-data: Update comments to clarify
66928         requirements.
66929         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
66930         type.
66931         [C99-based standards] (INT8_MAX): Likewise.
66932         [C99-based standards] (INT16_MIN): Likewise.
66933         [C99-based standards] (INT16_MAX): Likewise.
66934         [C99-based standards] (INT32_MIN): Likewise.
66935         [C99-based standards] (INT32_MAX): Likewise.
66936         [C99-based standards] (INT64_MIN): Likewise.
66937         [C99-based standards] (INT64_MAX): Likewise.
66938         [C99-based standards] (UINT8_MAX): Likewise.
66939         [C99-based standards] (UINT16_MAX): Likewise.
66940         [C99-based standards] (UINT32_MAX): Likewise.
66941         [C99-based standards] (UINT64_MAX): Likewise.
66942         [C99-based standards] (INT_LEAST8_MIN): Likewise.
66943         [C99-based standards] (INT_LEAST8_MAX): Likewise.
66944         [C99-based standards] (INT_LEAST16_MIN): Likewise.
66945         [C99-based standards] (INT_LEAST16_MAX): Likewise.
66946         [C99-based standards] (INT_LEAST32_MIN): Likewise.
66947         [C99-based standards] (INT_LEAST32_MAX): Likewise.
66948         [C99-based standards] (INT_LEAST64_MIN): Likewise.
66949         [C99-based standards] (INT_LEAST64_MAX): Likewise.
66950         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
66951         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
66952         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
66953         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
66954         [C99-based standards] (INT_FAST8_MIN): Likewise.
66955         [C99-based standards] (INT_FAST8_MAX): Likewise.
66956         [C99-based standards] (INT_FAST16_MIN): Likewise.
66957         [C99-based standards] (INT_FAST16_MAX): Likewise.
66958         [C99-based standards] (INT_FAST32_MIN): Likewise.
66959         [C99-based standards] (INT_FAST32_MAX): Likewise.
66960         [C99-based standards] (INT_FAST64_MIN): Likewise.
66961         [C99-based standards] (INT_FAST64_MAX): Likewise.
66962         [C99-based standards] (UINT_FAST8_MAX): Likewise.
66963         [C99-based standards] (UINT_FAST16_MAX): Likewise.
66964         [C99-based standards] (UINT_FAST32_MAX): Likewise.
66965         [C99-based standards] (UINT_FAST64_MAX): Likewise.
66966         [C99-based standards] (INTPTR_MIN): Likewise.
66967         [C99-based standards] (INTPTR_MAX): Likewise.
66968         [C99-based standards] (UINTPTR_MAX): Likewise.
66969         [C99-based standards] (INTMAX_MIN): Likewise.
66970         [C99-based standards] (INTMAX_MAX): Likewise.
66971         [C99-based standards] (UINTMAX_MAX): Likewise.
66972         [C99-based standards] (PTRDIFF_MIN): Likewise.
66973         [C99-based standards] (PTRDIFF_MAX): Likewise.
66974         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
66975         [C99-based standards] (SIZE_MAX): Likewise.
66976         [C99-based standards] (WCHAR_MAX): Likewise.
66977         [C99-based standards] (WINT_MAX): Likewise.
66978         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
66979         constraint on value.
66980         [C99-based standards] (WCHAR_MIN): Likewise.
66981         [C99-based standards] (WINT_MIN): Likewise.
66982         [C99-based standards] (*_t): Allow.
66983         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
66984         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
66985         Include math.h-data and complex.h-data.  Remove all expectations
66986         of math.h and complex.h contents.
66987         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
66988         at end of line.
66989         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
66990         (struct tm): Expect tag.
66991         [C99-based-standards] (wcstof): Expect function.
66992         [C99-based-standards] (wcstold): Likewise.
66993         [C99-based-standards] (wcstoll): Likewise.
66994         [C99-based-standards] (wcstoull): Likewise.
66995         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
66996         macro-int-constant.  Specify type.
66997         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
66998         constraint on value.
66999         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67000         Specify type.
67001         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67002         Specify value.
67003         [ISO C standards]: Do not allow headers.
67004         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67005         wcs[abcdefghijklmnopqrstuvwxyz]*.
67006         [ISO C standards] (*_t): Do not allow.
67007         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67008         Expect function.
67009         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67010         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67011         Specify type.
67012         [ISO C standards]: Do not allow headers.
67013         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67014         is[abcdefghijklmnopqrstuvwxyz]*.
67015         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67016         to[abcdefghijklmnopqrstuvwxyz]*.
67017         [ISO C standards] (*_t): Do not allow.
67018         * conform/data/stdalign.h-data: New file.
67019         * conform/data/stdbool.h-data: Likewise.
67020         * conform/data/stdnoreturn.h-data: Likewise.
67022 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67024         [BZ #14815]
67025         * manual/filesys.texi (Directory Entries): Typo fix.
67026         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67028 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67030         * elf/elf.h (EM_AARCH64): New macro.
67031         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67032         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67033         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67034         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67035         (R_AARCH64_TLSDESC): Likewise.
67036         (NT_ARM_TLS): Likewise.
67037         (NT_ARM_HW_BREAK): Likewise.
67038         (NT_ARM_HW_WATCH): Likewise.
67040 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67042         [BZ #14811]
67043         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67044         (__ieee754_powl): Saturate nonzero exponents with absolute value
67045         below 0x1p-79 to +/- 0x1p-79.
67046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67047         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67048         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67049         nonzero exponents with absolute value below 0x1p-32 to +/-
67050         0x1p-32.
67051         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67052         (__ieee754_powl): Saturate nonzero exponents with absolute value
67053         below 0x1p-79 to +/- 0x1p-79.
67054         * math/libm-test.inc (pow_test): Add more tests.
67056 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67058         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67059         _dl_s390_cap_flags with kernel. Increase string length.
67060         (_dl_s390_platforms): Add z196 and zEC12.
67062 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67064         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67065         Change XOPEN21K to XOPEN2K.
67067 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67069         * string/memmove.c: Use memcpy when possible.
67071 2012-11-06  Andreas Jaeger  <aj@suse.de>
67073         * po/eo.po: Update from translation team.
67075 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67077         [BZ #14793]
67078         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67079         exponent and small x and y exponents, scale x or y up.  Increase
67080         by 2 the exponent used in scaling up.
67081         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67082         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67083         * math/libm-test.inc (fma_test): Add more tests.
67084         (fma_test_towardzero): Likewise.
67085         (fma_test_downward): Likewise.
67086         (fma_test_upward): Likewise.
67088 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67090         [BZ #14805]
67091         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67092         fenv_t *.
67094         [BZ #14801]
67095         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67096         namespace for names of struct fields.
67097         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67098         fenv_t fields.
67099         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67100         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67102 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67104         [BZ #3665]
67105         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67107 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67109         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67110         PTR_DEMANGLE.
67112         [BZ #5246]
67113         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67114         PTR_DEMANGLE.
67116 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67118         [BZ #14797]
67119         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67120         definitely overflow as x * y not x * y + z.
67121         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67122         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67123         * math/libm-test.inc (fma_test): Add more tests.
67124         (fma_test_towardzero): Likewise.
67125         (fma_test_downward): Likewise.
67126         (fma_test_upward): Likewise.
67128 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67130         [BZ #157]
67132         * include/stub-tag.h: Remove file.
67133         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67134         '#include' of it.
67135         * manual/maint.texi (Porting): Don't reference it.
67136         * Makerules ($(objpfx)stubs): Likewise.
67137         * dirent/closedir.c: Don't include <stub-tag.h>.
67138         * dirent/dirfd.c: Likewise.
67139         * dirent/fdopendir.c: Likewise.
67140         * dirent/getdents.c: Likewise.
67141         * dirent/getdents64.c: Likewise.
67142         * dirent/opendir.c: Likewise.
67143         * dirent/readdir.c: Likewise.
67144         * dirent/readdir64.c: Likewise.
67145         * dirent/readdir64_r.c: Likewise.
67146         * dirent/readdir_r.c: Likewise.
67147         * dirent/rewinddir.c: Likewise.
67148         * dirent/seekdir.c: Likewise.
67149         * dirent/telldir.c: Likewise.
67150         * gmon/profil.c: Likewise.
67151         * grp/setgroups.c: Likewise.
67152         * inet/if_index.c: Likewise.
67153         * io/access.c: Likewise.
67154         * io/chdir.c: Likewise.
67155         * io/chmod.c: Likewise.
67156         * io/chown.c: Likewise.
67157         * io/close.c: Likewise.
67158         * io/dup.c: Likewise.
67159         * io/dup2.c: Likewise.
67160         * io/dup3.c: Likewise.
67161         * io/euidaccess.c: Likewise.
67162         * io/faccessat.c: Likewise.
67163         * io/fchdir.c: Likewise.
67164         * io/fchmod.c: Likewise.
67165         * io/fchmodat.c: Likewise.
67166         * io/fchown.c: Likewise.
67167         * io/fchownat.c: Likewise.
67168         * io/fcntl.c: Likewise.
67169         * io/flock.c: Likewise.
67170         * io/fstatfs.c: Likewise.
67171         * io/fstatfs64.c: Likewise.
67172         * io/fstatvfs.c: Likewise.
67173         * io/fstatvfs64.c: Likewise.
67174         * io/futimens.c: Likewise.
67175         * io/fxstat.c: Likewise.
67176         * io/fxstat64.c: Likewise.
67177         * io/fxstatat.c: Likewise.
67178         * io/fxstatat64.c: Likewise.
67179         * io/getcwd.c: Likewise.
67180         * io/isatty.c: Likewise.
67181         * io/lchmod.c: Likewise.
67182         * io/lchown.c: Likewise.
67183         * io/link.c: Likewise.
67184         * io/linkat.c: Likewise.
67185         * io/lseek.c: Likewise.
67186         * io/lseek64.c: Likewise.
67187         * io/lxstat64.c: Likewise.
67188         * io/mkdir.c: Likewise.
67189         * io/mkdirat.c: Likewise.
67190         * io/mkfifo.c: Likewise.
67191         * io/mkfifoat.c: Likewise.
67192         * io/open.c: Likewise.
67193         * io/open64.c: Likewise.
67194         * io/openat.c: Likewise.
67195         * io/openat64.c: Likewise.
67196         * io/pipe.c: Likewise.
67197         * io/pipe2.c: Likewise.
67198         * io/poll.c: Likewise.
67199         * io/posix_fadvise.c: Likewise.
67200         * io/posix_fadvise64.c: Likewise.
67201         * io/posix_fallocate.c: Likewise.
67202         * io/posix_fallocate64.c: Likewise.
67203         * io/read.c: Likewise.
67204         * io/readlink.c: Likewise.
67205         * io/readlinkat.c: Likewise.
67206         * io/rmdir.c: Likewise.
67207         * io/sendfile.c: Likewise.
67208         * io/sendfile64.c: Likewise.
67209         * io/statfs.c: Likewise.
67210         * io/statfs64.c: Likewise.
67211         * io/statvfs.c: Likewise.
67212         * io/statvfs64.c: Likewise.
67213         * io/symlink.c: Likewise.
67214         * io/symlinkat.c: Likewise.
67215         * io/ttyname.c: Likewise.
67216         * io/ttyname_r.c: Likewise.
67217         * io/umask.c: Likewise.
67218         * io/unlink.c: Likewise.
67219         * io/unlinkat.c: Likewise.
67220         * io/utime.c: Likewise.
67221         * io/utimensat.c: Likewise.
67222         * io/write.c: Likewise.
67223         * io/xmknod.c: Likewise.
67224         * io/xmknodat.c: Likewise.
67225         * io/xstat.c: Likewise.
67226         * io/xstat64.c: Likewise.
67227         * login/getpt.c: Likewise.
67228         * login/grantpt.c: Likewise.
67229         * login/unlockpt.c: Likewise.
67230         * math/e_acoshl.c: Likewise.
67231         * math/e_acosl.c: Likewise.
67232         * math/e_asinl.c: Likewise.
67233         * math/e_atan2l.c: Likewise.
67234         * math/e_atanhl.c: Likewise.
67235         * math/e_coshl.c: Likewise.
67236         * math/e_expl.c: Likewise.
67237         * math/e_fmodl.c: Likewise.
67238         * math/e_gammal_r.c: Likewise.
67239         * math/e_hypotl.c: Likewise.
67240         * math/e_j0l.c: Likewise.
67241         * math/e_j1l.c: Likewise.
67242         * math/e_jnl.c: Likewise.
67243         * math/e_lgammal_r.c: Likewise.
67244         * math/e_log10l.c: Likewise.
67245         * math/e_log2l.c: Likewise.
67246         * math/e_logl.c: Likewise.
67247         * math/e_powl.c: Likewise.
67248         * math/e_rem_pio2l.c: Likewise.
67249         * math/e_sinhl.c: Likewise.
67250         * math/e_sqrtl.c: Likewise.
67251         * math/fclrexcpt.c: Likewise.
67252         * math/fedisblxcpt.c: Likewise.
67253         * math/feenablxcpt.c: Likewise.
67254         * math/fegetenv.c: Likewise.
67255         * math/fegetexcept.c: Likewise.
67256         * math/fegetround.c: Likewise.
67257         * math/feholdexcpt.c: Likewise.
67258         * math/fesetenv.c: Likewise.
67259         * math/fesetround.c: Likewise.
67260         * math/feupdateenv.c: Likewise.
67261         * math/fgetexcptflg.c: Likewise.
67262         * math/fraiseexcpt.c: Likewise.
67263         * math/fsetexcptflg.c: Likewise.
67264         * math/ftestexcept.c: Likewise.
67265         * math/k_cosl.c: Likewise.
67266         * math/k_rem_pio2l.c: Likewise.
67267         * math/k_sinl.c: Likewise.
67268         * math/k_tanl.c: Likewise.
67269         * math/s_asinhl.c: Likewise.
67270         * math/s_atanl.c: Likewise.
67271         * math/s_cbrtl.c: Likewise.
67272         * math/s_erfl.c: Likewise.
67273         * math/s_expm1l.c: Likewise.
67274         * math/s_log1pl.c: Likewise.
67275         * math/s_tanhl.c: Likewise.
67276         * misc/acct.c: Likewise.
67277         * misc/brk.c: Likewise.
67278         * misc/chflags.c: Likewise.
67279         * misc/chroot.c: Likewise.
67280         * misc/fchflags.c: Likewise.
67281         * misc/fgetxattr.c: Likewise.
67282         * misc/flistxattr.c: Likewise.
67283         * misc/fremovexattr.c: Likewise.
67284         * misc/fsetxattr.c: Likewise.
67285         * misc/fsync.c: Likewise.
67286         * misc/ftruncate.c: Likewise.
67287         * misc/futimes.c: Likewise.
67288         * misc/futimesat.c: Likewise.
67289         * misc/getdomain.c: Likewise.
67290         * misc/getdtsz.c: Likewise.
67291         * misc/gethostid.c: Likewise.
67292         * misc/gethostname.c: Likewise.
67293         * misc/getloadavg.c: Likewise.
67294         * misc/getpagesize.c: Likewise.
67295         * misc/getsysstats.c: Likewise.
67296         * misc/getxattr.c: Likewise.
67297         * misc/gtty.c: Likewise.
67298         * misc/ioctl.c: Likewise.
67299         * misc/lgetxattr.c: Likewise.
67300         * misc/listxattr.c: Likewise.
67301         * misc/llistxattr.c: Likewise.
67302         * misc/lremovexattr.c: Likewise.
67303         * misc/lsetxattr.c: Likewise.
67304         * misc/lutimes.c: Likewise.
67305         * misc/madvise.c: Likewise.
67306         * misc/mincore.c: Likewise.
67307         * misc/mlock.c: Likewise.
67308         * misc/mlockall.c: Likewise.
67309         * misc/mmap.c: Likewise.
67310         * misc/mprotect.c: Likewise.
67311         * misc/msync.c: Likewise.
67312         * misc/munlock.c: Likewise.
67313         * misc/munlockall.c: Likewise.
67314         * misc/munmap.c: Likewise.
67315         * misc/preadv.c: Likewise.
67316         * misc/preadv64.c: Likewise.
67317         * misc/ptrace.c: Likewise.
67318         * misc/pwritev.c: Likewise.
67319         * misc/pwritev64.c: Likewise.
67320         * misc/readv.c: Likewise.
67321         * misc/reboot.c: Likewise.
67322         * misc/remap_file_pages.c: Likewise.
67323         * misc/removexattr.c: Likewise.
67324         * misc/revoke.c: Likewise.
67325         * misc/select.c: Likewise.
67326         * misc/setdomain.c: Likewise.
67327         * misc/setegid.c: Likewise.
67328         * misc/seteuid.c: Likewise.
67329         * misc/sethostid.c: Likewise.
67330         * misc/sethostname.c: Likewise.
67331         * misc/setregid.c: Likewise.
67332         * misc/setreuid.c: Likewise.
67333         * misc/setxattr.c: Likewise.
67334         * misc/sstk.c: Likewise.
67335         * misc/stty.c: Likewise.
67336         * misc/swapoff.c: Likewise.
67337         * misc/swapon.c: Likewise.
67338         * misc/sync.c: Likewise.
67339         * misc/syncfs.c: Likewise.
67340         * misc/syscall.c: Likewise.
67341         * misc/truncate.c: Likewise.
67342         * misc/ualarm.c: Likewise.
67343         * misc/usleep.c: Likewise.
67344         * misc/ustat.c: Likewise.
67345         * misc/utimes.c: Likewise.
67346         * misc/vhangup.c: Likewise.
67347         * misc/writev.c: Likewise.
67348         * posix/_exit.c: Likewise.
67349         * posix/alarm.c: Likewise.
67350         * posix/execve.c: Likewise.
67351         * posix/fexecve.c: Likewise.
67352         * posix/fork.c: Likewise.
67353         * posix/fpathconf.c: Likewise.
67354         * posix/getaddrinfo.c: Likewise.
67355         * posix/getegid.c: Likewise.
67356         * posix/geteuid.c: Likewise.
67357         * posix/getgid.c: Likewise.
67358         * posix/getgroups.c: Likewise.
67359         * posix/getlogin.c: Likewise.
67360         * posix/getlogin_r.c: Likewise.
67361         * posix/getpgid.c: Likewise.
67362         * posix/getpid.c: Likewise.
67363         * posix/getppid.c: Likewise.
67364         * posix/getresgid.c: Likewise.
67365         * posix/getresuid.c: Likewise.
67366         * posix/getsid.c: Likewise.
67367         * posix/getuid.c: Likewise.
67368         * posix/glob64.c: Likewise.
67369         * posix/nanosleep.c: Likewise.
67370         * posix/pathconf.c: Likewise.
67371         * posix/pause.c: Likewise.
67372         * posix/posix_madvise.c: Likewise.
67373         * posix/pread.c: Likewise.
67374         * posix/pread64.c: Likewise.
67375         * posix/pwrite.c: Likewise.
67376         * posix/pwrite64.c: Likewise.
67377         * posix/sched_getaffinity.c: Likewise.
67378         * posix/sched_getp.c: Likewise.
67379         * posix/sched_gets.c: Likewise.
67380         * posix/sched_primax.c: Likewise.
67381         * posix/sched_primin.c: Likewise.
67382         * posix/sched_rr_gi.c: Likewise.
67383         * posix/sched_setaffinity.c: Likewise.
67384         * posix/sched_setp.c: Likewise.
67385         * posix/sched_sets.c: Likewise.
67386         * posix/sched_yield.c: Likewise.
67387         * posix/setgid.c: Likewise.
67388         * posix/setlogin.c: Likewise.
67389         * posix/setpgid.c: Likewise.
67390         * posix/setresgid.c: Likewise.
67391         * posix/setresuid.c: Likewise.
67392         * posix/setsid.c: Likewise.
67393         * posix/setuid.c: Likewise.
67394         * posix/sleep.c: Likewise.
67395         * posix/spawni.c: Likewise.
67396         * posix/sysconf.c: Likewise.
67397         * posix/times.c: Likewise.
67398         * posix/wait.c: Likewise.
67399         * posix/wait3.c: Likewise.
67400         * posix/wait4.c: Likewise.
67401         * posix/waitpid.c: Likewise.
67402         * resolv/gai_sigqueue.c: Likewise.
67403         * resource/getpriority.c: Likewise.
67404         * resource/getrlimit.c: Likewise.
67405         * resource/getrusage.c: Likewise.
67406         * resource/nice.c: Likewise.
67407         * resource/setpriority.c: Likewise.
67408         * resource/setrlimit.c: Likewise.
67409         * resource/ulimit.c: Likewise.
67410         * rt/aio_cancel.c: Likewise.
67411         * rt/aio_fsync.c: Likewise.
67412         * rt/aio_read.c: Likewise.
67413         * rt/aio_sigqueue.c: Likewise.
67414         * rt/aio_suspend.c: Likewise.
67415         * rt/aio_write.c: Likewise.
67416         * rt/clock_getres.c: Likewise.
67417         * rt/clock_gettime.c: Likewise.
67418         * rt/clock_nanosleep.c: Likewise.
67419         * rt/clock_settime.c: Likewise.
67420         * rt/lio_listio.c: Likewise.
67421         * rt/mq_close.c: Likewise.
67422         * rt/mq_getattr.c: Likewise.
67423         * rt/mq_notify.c: Likewise.
67424         * rt/mq_open.c: Likewise.
67425         * rt/mq_receive.c: Likewise.
67426         * rt/mq_send.c: Likewise.
67427         * rt/mq_setattr.c: Likewise.
67428         * rt/mq_timedreceive.c: Likewise.
67429         * rt/mq_timedsend.c: Likewise.
67430         * rt/mq_unlink.c: Likewise.
67431         * rt/shm_open.c: Likewise.
67432         * rt/shm_unlink.c: Likewise.
67433         * rt/timer_create.c: Likewise.
67434         * rt/timer_delete.c: Likewise.
67435         * rt/timer_getoverr.c: Likewise.
67436         * rt/timer_gettime.c: Likewise.
67437         * rt/timer_settime.c: Likewise.
67438         * setjmp/__longjmp.c: Likewise.
67439         * setjmp/setjmp.c: Likewise.
67440         * signal/kill.c: Likewise.
67441         * signal/killpg.c: Likewise.
67442         * signal/raise.c: Likewise.
67443         * signal/sigaction.c: Likewise.
67444         * signal/sigaltstack.c: Likewise.
67445         * signal/sigblock.c: Likewise.
67446         * signal/sigignore.c: Likewise.
67447         * signal/sigintr.c: Likewise.
67448         * signal/signal.c: Likewise.
67449         * signal/sigpause.c: Likewise.
67450         * signal/sigpending.c: Likewise.
67451         * signal/sigqueue.c: Likewise.
67452         * signal/sigreturn.c: Likewise.
67453         * signal/sigset.c: Likewise.
67454         * signal/sigsetmask.c: Likewise.
67455         * signal/sigstack.c: Likewise.
67456         * signal/sigsuspend.c: Likewise.
67457         * signal/sigtimedwait.c: Likewise.
67458         * signal/sigvec.c: Likewise.
67459         * signal/sigwait.c: Likewise.
67460         * signal/sigwaitinfo.c: Likewise.
67461         * signal/sysv_signal.c: Likewise.
67462         * socket/accept.c: Likewise.
67463         * socket/accept4.c: Likewise.
67464         * socket/bind.c: Likewise.
67465         * socket/connect.c: Likewise.
67466         * socket/getpeername.c: Likewise.
67467         * socket/getsockname.c: Likewise.
67468         * socket/getsockopt.c: Likewise.
67469         * socket/isfdtype.c: Likewise.
67470         * socket/listen.c: Likewise.
67471         * socket/recv.c: Likewise.
67472         * socket/recvfrom.c: Likewise.
67473         * socket/recvmsg.c: Likewise.
67474         * socket/send.c: Likewise.
67475         * socket/sendmsg.c: Likewise.
67476         * socket/sendto.c: Likewise.
67477         * socket/setsockopt.c: Likewise.
67478         * socket/shutdown.c: Likewise.
67479         * socket/sockatmark.c: Likewise.
67480         * socket/socket.c: Likewise.
67481         * socket/socketpair.c: Likewise.
67482         * stdio-common/ctermid.c: Likewise.
67483         * stdio-common/cuserid.c: Likewise.
67484         * stdio-common/remove.c: Likewise.
67485         * stdio-common/rename.c: Likewise.
67486         * stdio-common/renameat.c: Likewise.
67487         * stdio-common/tempname.c: Likewise.
67488         * stdlib/getcontext.c: Likewise.
67489         * stdlib/makecontext.c: Likewise.
67490         * stdlib/setcontext.c: Likewise.
67491         * stdlib/swapcontext.c: Likewise.
67492         * stdlib/system.c: Likewise.
67493         * streams/fattach.c: Likewise.
67494         * streams/fdetach.c: Likewise.
67495         * streams/getmsg.c: Likewise.
67496         * streams/getpmsg.c: Likewise.
67497         * streams/putmsg.c: Likewise.
67498         * streams/putpmsg.c: Likewise.
67499         * sysdeps/unix/bsd/getpt.c: Likewise.
67500         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67501         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67502         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67504         Likewise.
67505         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67506         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67507         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67508         * sysvipc/msgctl.c: Likewise.
67509         * sysvipc/msgget.c: Likewise.
67510         * sysvipc/msgrcv.c: Likewise.
67511         * sysvipc/msgsnd.c: Likewise.
67512         * sysvipc/semctl.c: Likewise.
67513         * sysvipc/semget.c: Likewise.
67514         * sysvipc/semop.c: Likewise.
67515         * sysvipc/semtimedop.c: Likewise.
67516         * sysvipc/shmat.c: Likewise.
67517         * sysvipc/shmctl.c: Likewise.
67518         * sysvipc/shmdt.c: Likewise.
67519         * sysvipc/shmget.c: Likewise.
67520         * termios/tcdrain.c: Likewise.
67521         * termios/tcflow.c: Likewise.
67522         * termios/tcflush.c: Likewise.
67523         * termios/tcgetattr.c: Likewise.
67524         * termios/tcgetpgrp.c: Likewise.
67525         * termios/tcsendbrk.c: Likewise.
67526         * termios/tcsetattr.c: Likewise.
67527         * termios/tcsetpgrp.c: Likewise.
67528         * time/adjtime.c: Likewise.
67529         * time/clock.c: Likewise.
67530         * time/getitimer.c: Likewise.
67531         * time/gettimeofday.c: Likewise.
67532         * time/setitimer.c: Likewise.
67533         * time/settimeofday.c: Likewise.
67534         * time/stime.c: Likewise.
67535         * time/time.c: Likewise.
67537 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67539         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67540         /usr/old/bin.
67542         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67543         instead of spaces.
67544         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67546 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67548         [BZ #14796]
67549         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67550         FE_TONEAREST before applying Dekker multiplication and Knuth
67551         addition.  Clear inexact exceptions and check for exact zero
67552         results afterwards.
67553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67554         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67555         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67556         * math/libm-test.inc (fma_test): Add more tests.
67557         (fma_test_towardzero): Likewise.
67558         (fma_test_downward): Likewise.
67559         (fma_test_upward): Likewise.
67560         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67561         function.
67562         (libc_fesetround): New macro.
67563         (libc_fesetroundf): Likewise.
67564         (libc_fesetroundl): Likewise.
67565         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67566         function.
67567         (libc_fesetround_387): Likewise.
67568         (libc_fesetroundf): New macro.
67569         (libc_fesetround): Likewise.
67570         (libc_fesetroundl): Likewise.
67571         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67572         function.
67573         (libc_fesetroundf): New macro.
67574         (libc_fesetround): Likewise.
67575         (libc_fesetroundl): Likewise.
67576         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67577         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67578         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67579         libm_hidden_ver.
67580         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67581         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67582         libm_hidden_def.
67583         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67584         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67585         libm_hidden_ver.
67586         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67587         libm_hidden_def.
67589         [BZ #3439]
67590         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67591         integer constant usable in #if and use that to give value to enum
67592         constant.
67593         (FE_DIVBYZERO): Likewise.
67594         (FE_UNDERFLOW): Likewise.
67595         (FE_OVERFLOW): Likewise.
67596         (FE_INVALID): Likewise.
67597         (FE_INVALID_SNAN): Likewise.
67598         (FE_INVALID_ISI): Likewise.
67599         (FE_INVALID_IDI): Likewise.
67600         (FE_INVALID_ZDZ): Likewise.
67601         (FE_INVALID_IMZ): Likewise.
67602         (FE_INVALID_COMPARE): Likewise.
67603         (FE_INVALID_SOFTWARE): Likewise.
67604         (FE_INVALID_SQRT): Likewise.
67605         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67606         (FE_TONEAREST): Likewise.
67607         (FE_TOWARDZERO): Likewise.
67608         (FE_UPWARD): Likewise.
67609         (FE_DOWNWARD): Likewise.
67610         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67611         (FE_DIVBYZERO): Likewise.
67612         (FE_OVERFLOW): Likewise.
67613         (FE_UNDERFLOW): Likewise.
67614         (FE_INEXACT): Likewise.
67615         (FE_TONEAREST): Likewise.
67616         (FE_DOWNWARD): Likewise.
67617         (FE_UPWARD): Likewise.
67618         (FE_TOWARDZERO): Likewise.
67619         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67620         (FE_UNDERFLOW): Likewise.
67621         (FE_OVERFLOW): Likewise.
67622         (FE_DIVBYZERO): Likewise.
67623         (FE_INVALID): Likewise.
67624         (FE_TONEAREST): Likewise.
67625         (FE_TOWARDZERO): Likewise.
67626         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67627         (FE_OVERFLOW): Likewise.
67628         (FE_UNDERFLOW): Likewise.
67629         (FE_DIVBYZERO): Likewise.
67630         (FE_INEXACT): Likewise.
67631         (FE_TONEAREST): Likewise.
67632         (FE_TOWARDZERO): Likewise.
67633         (FE_UPWARD): Likewise.
67634         (FE_DOWNWARD): Likewise.
67635         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67636         (FE_DIVBYZERO): Likewise.
67637         (FE_OVERFLOW): Likewise.
67638         (FE_UNDERFLOW): Likewise.
67639         (FE_INEXACT): Likewise.
67640         (FE_TONEAREST): Likewise.
67641         (FE_DOWNWARD): Likewise.
67642         (FE_UPWARD): Likewise.
67643         (FE_TOWARDZERO): Likewise.
67645 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67647         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67649 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67651         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67652         commands.  Quote $PWD.
67653         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67654         -x" by "export".
67655         (remove_newlines): Remove.
67657 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67659         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67660         * stdlib/stdlib.h (atof): Moved to ...
67661         * include/bits/stdlib-float.h: Here.  New file.
67662         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67663         * stdlib/bits/stdlib-float.h: New file.
67664         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67665         -mno-sse -mno-mmx.
67666         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67667         <xmmintrin.h>.
67669 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67671         * conform/conformtest.pl (@headers): Add fenv.h.
67672         * conform/data/fenv.h-data: New file.
67673         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67674         include of <math/fenv.h>.
67676         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67677         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67678         && !UNIX98].  Enables tests for XOPEN2K8.
67679         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67680         POSIX2008]: Likewise.
67682         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67683         (struct rusage): Do not expect type or its members.
67685         [BZ #3439]
67686         * math/math.h (FP_NAN): Define macro to integer constant usable in
67687         #if and use that to give value to enum constant.
67688         (FP_INFINITE): Likewise.
67689         (FP_ZERO): Likewise.
67690         (FP_SUBNORMAL): Likewise.
67691         (FP_NORMAL): Likewise.
67693 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67695         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67696         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67697         arguments.
67699 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67701         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67702         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67703         autoconf-time if not.
67704         * configure.in: Remove AC_PREREQ.
67706 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67708         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67709         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67710         of the internal implementation.
67712 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67714         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67715         except include of <misc/sys/syslog.h>.
67717 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
67720         function returns with a NULL context exit with zero.
67722 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67724         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
67726 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
67728         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
67729         (run_program_cmd): This.
67730         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
67731         (tst_langinfo): New variable.  Use it.
67733 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
67735         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
67736         floating point opcodes.
67738 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67740         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
67741         variable.
67743         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
67745         * sysdeps/mach/hurd/powerpc: Remove directory.
67746         * sysdeps/mach/powerpc: Likewise.
67748 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67750         * scripts/check-local-headers.sh: Ignore c++ headers.
67752 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67754         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
67755         __libc_cleanup_region_start argument.
67757 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
67759         [BZ #14784]
67760         [BZ #14785]
67761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
67762         x * y using scaling, not as x * y + z.
67763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67764         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67765         * math/libm-test.inc (fma_test): Add more tests.
67766         (fma_test_towardzero): Likewise.
67767         (fma_test_downward): Likewise.
67768         (fma_test_upward): Likewise.
67770 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
67772         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
67774 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67776         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
67777         New variable.
67779 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
67781         * rt/tst-shm.c (worker): Correct checking for mmap failure.
67783 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67786         Fix sort order.
67787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67788         Likewise.
67790 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67793         Fix the order of the list for glibc 2.17.
67794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67795         Likewise.
67797 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
67799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67801 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
67803         [BZ #14610]
67804         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
67805         for low part of x being zero before using __atanl (y).
67806         * math/libm-test.inc (atan2_test): Add another test.
67808         * manual/install.texi (Configuring and compiling): Document
67809         general use of test-wrapper and test-wrapper-env.
67810         * INSTALL: Regenerated.
67812         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
67813         (__fma): Do not extract and scale down low bits on after-rounding
67814         systems when result rounded to normal precision would have normal
67815         exponent.
67816         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
67817         (__fmal): Do not extract and scale down low bits on after-rounding
67818         systems when result rounded to normal precision would have normal
67819         exponent.
67820         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
67821         (__fmal): Do not extract and scale down low bits on after-rounding
67822         systems when result rounded to normal precision would have normal
67823         exponent.
67824         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
67825         macro.
67826         (fma_test): Add more tests.
67827         (fma_test_towardzero): Likewise.
67828         (fma_test_downward): Likewise.
67829         (fma_test_upward): Likewise.
67831 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
67833         * sysdeps/i386/tininess.h: Renamed to ...
67834         * sysdeps/x86/tininess.h: This.
67835         * sysdeps/x86_64/tininess.h: Removed.
67837 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67839         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
67840         input.  Use $(build-program-cmd).
67841         ($(objpfx)tst-array1-static.out): Likewise.
67842         ($(objpfx)tst-array2.out): Likewise.
67843         ($(objpfx)tst-array3.out): Likewise.
67844         ($(objpfx)tst-array4.out): Likewise.
67845         ($(objpfx)tst-array5.out): Likewise.
67846         ($(objpfx)tst-array5-static.out): Likewise.
67848 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
67850         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
67851         if defined.
67853         * nss/nsswitch.h (nss_interface_function): Provide new
67854         macro for use with NSS functions.
67855         * grp/initgroups.c: Use new macro.
67856         * nss/getXXbyYY.c: Likewise.
67857         * nss/getXXbyYY_r.c: Likewise.
67858         * nss/getXXent.c: Likewise.
67859         * nss/getXXent_r.c: Likewise.
67860         * sysdeps/posix/getaddrinfo.c: Likewise.
67862 2012-10-30  Andreas Jaeger  <aj@suse.de>
67864         * po/ru.po: Update Russion translation from translation project.
67866 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
67868         [BZ #14152]
67869         [BZ #14783]
67870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
67871         result and shift together with sticky bit instead of replicating
67872         round-to-nearest rounding.
67873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67874         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67875         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
67876         missing underflow exceptions.
67877         (fma_test_towardzero): Add more tests.
67878         (fma_test_downward): Likewise.
67879         (fma_test_upward): Likewise.
67881         [BZ #14047]
67882         * sysdeps/generic/tininess.h: New file.
67883         * sysdeps/i386/tininess.h: Likewise.
67884         * sysdeps/sh/tininess.h: Likewise.
67885         * sysdeps/x86_64/tininess.h: Likewise.
67886         * stdlib/tst-strtod-underflow.c: Likewise.
67887         * stdlib/tst-tininess.c: Likewise.
67888         * stdlib/strtod_l.c: Include <tininess.h>.
67889         (round_and_return): Do not set errno for exact underflow cases.
67890         Force an underflow exception when setting errno for underflow.
67891         Determine underflow based on rounding to normal precision if
67892         TININESS_AFTER_ROUNDING.
67893         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
67894         ERANGE for exact underflow cases.
67895         * stdlib/Makefile (tests): Add tst-tininess and
67896         tst-strtod-underflow.
67897         ($(objpfx)tst-tininess): Use $(link-libm).
67898         ($(objpfx)tst-strtod-underflow): Likewise.
67900 2012-10-30  Andreas Jaeger  <aj@suse.de>
67902         [BZ#14767]
67903         * elf/Makefile (tests): Remove conditional for have-initfini-array
67904         since this is now always required and the variable does not exist
67905         anymore.
67906         (tests-static): Likewise.
67907         (modules-names): Likewise.
67909         * po/eo.po: Add Esperanto translation from translation project.
67911         * elf/tst-array1.c (fini_array): Make writeable so that it can be
67912         merged with constructor/destructor.
67913         (init_array): Likewise.
67914         * elf/tst-array2dep.c (fini_array): Likewise.
67915         (init_array): Likewise.
67917 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
67919         * manual/message.texi: Delete @cartouche tags.
67921 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
67923         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
67924         EOPNOTSUPP.
67925         * sysdeps/mach/hurd/fsync.c: Likewise.
67927         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
67928         [_POSIX_REALTIME_SIGNALS]: Change condition to
67929         [_POSIX_REALTIME_SIGNALS > 0].
67931 2012-10-27  Andreas Jaeger  <aj@suse.de>
67933         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
67934         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
67935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
67936         [__WORDSIZE != 64]: Likewise.
67938 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
67940         *  iconvdata/tst-table.sh: Remove ${SHELL}.
67941         *  iconvdata/tst-tables.sh: Likewise.
67943 2012-10-25  David S. Miller  <davem@davemloft.net>
67945         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67946         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
67947         of strtoull.
67949         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
67950         ifunc-impl-list.c
67951         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67952         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
67953         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
67954         file.
67956 2012-10-25  Roland McGrath  <roland@hack.frob.com>
67958         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67959         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
67960         __getdirentries.
67962 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67963             Jim Blandy  <jimb@codesourcery.com>
67965         * scripts/cross-test-ssh.sh: New file.
67966         * manual/install.texi (Configuring and compiling): Document use of
67967         cross-test-ssh.sh.
67968         * INSTALL: Regenerated.
67970 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
67972         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
67973         EOPNOTSUPP.
67975 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
67977         * Makeconfig (run-program-prefix): Fix comment.
67979 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
67980             Jim Blandy  <jimb@codesourcery.com>
67982         * Makeconfig (test-wrapper): New variable,
67983         (test-wrapper-env): Likewise.
67984         [$(cross-compiling) = yes && $(test-wrapper) != ""]
67985         (run-built-tests): Define to yes.
67986         (run-program-prefix): Use $(test-wrapper).
67987         (built-program-cmd): Likewise.
67988         * Rules (make-test-out): Use $(test-wrapper-env) and
67989         $(host-built-program-cmd).
67990         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
67991         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
67992         tst-pathopt.sh.
67993         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
67994         $(test-wrapper-env) to tst-rtld-load-self.sh.
67995         ($(objpfx)order2.out): Use $(test-wrapper).
67996         ($(objpfx)tst-initorder.out): Likewise.
67997         ($(objpfx)tst-initorder2.out): Likewise.
67998         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
67999         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68000         (test_wrapper_env): New variable.  Use it to run ld.so.
68001         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68002         Use it to run ld.so.
68003         (test_wrapper_env): Likewise.
68004         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68005         $(test-wrapper) to run-iconv-test.sh.
68006         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68007         (ICONV): Use $test_wrapper.
68008         * posix/Makefile ($(objpfx)globtest.out): Pass
68009         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68010         globtest.sh, not $(run-program-prefix).
68011         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68012         (test_wrapper): Likewise.
68013         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68014         set together with run_via_rtld_prefix.
68015         (run_program_prefix): Define in terms of test_wrapper and
68016         run_via_rtld_prefix.
68018 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68020         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68021         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68022         Targets removed.
68024         [BZ #14743]
68025         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68026         Declare __clock_getres, __clock_gettime, __clock_settime,
68027         __clock_nanosleep, and __clock_getcpuclockid.
68028         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68029         Remove librt_hidden_def (clock_gettime).
68030         * sysdeps/unix/clock_gettime.c: Likewise.
68031         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68032         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68033         * rt/clock_getres.c: Define __clock_getres as an alias.
68034         * sysdeps/posix/clock_getres.c: Likewise.
68035         * rt/clock_settime.c: Define __clock_settime as an alias.
68036         * sysdeps/unix/clock_settime.c: Likewise.
68037         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68038         * sysdeps/unix/clock_nanosleep.c: Likewise.
68039         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68040         * rt/clock-compat.c: New file.
68041         * rt/Makefile (librt-routines): Add clock-compat and move
68042         $(clock-routines) to ...
68043         (routines): ... here, new variable.
68044         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68045         Don't add get_clockfreq here.
68046         * rt/Versions (libc: GLIBC_2.17): New version set.
68047         Add clock_* symbols here.
68048         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68049         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68050         (GLIBC_2.17): Add clock_* symbols.
68051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68053         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68055         Likewise.
68056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68057         Likewise.
68058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68060         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68062         * NEWS: Mention the move.
68064         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68065         Use __open, __read, __close rather than their public counterparts.
68066         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68067         (__get_clockfreq_via_cpuinfo): Likewise.
68068         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68069         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68071         * config.h.in (HAVE_IFUNC): New #undef.
68072         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68073         was successful.
68074         * configure: Regenerated.
68076 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68078         * configure.in: Move READELF check to start of file.
68079         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68080         libc_cv_asm_gnu_indirect_function in the process.
68081         * configure: Regenerated.
68083 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68085         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68086         send the output to /dev/null.
68087         (libc_cv_cc_with_libunwind): Likewise.
68088         (libc_cv_as_noexecstack): Likewise.
68089         * configure: Regenerate.
68091 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68093         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68095         * posix/globtest.sh (TMPDIR): Do not set.
68096         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68097         (testout): Likewise.
68099 2012-10-24  Andreas Jaeger  <aj@suse.de>
68101         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68102         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68103         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68104         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68105         posix_fadvise64, posix_fallocate64.
68107         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68108         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68109         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68110         Likewise.
68111         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68112         Likewise.
68113         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68116         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68117         <bits/fcntl-linux.h>.
68118         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68121         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68122         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68123         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68124         [__WORDSIZE != 64]: Likewise.
68126 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68128         * Makeconfig (run-built-tests): New variable.
68129         * Rules [$(cross-compiling) = yes]: Change condition to
68130         [$(run-built-tests) = no].
68131         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68132         to [$(run-built-tests) = yes].
68133         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68134         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68135         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68136         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68137         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68138         * io/Makefile [$(cross-compiling) = no]: Likewise.
68139         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68140         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68141         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68142         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68143         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68144         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68145         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68146         * string/Makefile [$(cross-compiling) = no]: Likewise.
68148         * posix/Makefile ($(objpfx)globtest.out): Pass
68149         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68150         $(rtld-installed-name).
68151         * posix/globtest.sh (elf_objpfx): Remove variable.
68152         (rtld_installed_name): Likewise.
68153         (library_path): Likewise.
68154         (run_program_prefix): New variable.  Use for running globtest
68155         binary.
68157 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68158             Joseph Myers  <joseph@codesourcery.com>
68160         * Makeconfig (host-built-program-cmd): New variable.
68161         * elf/Makefile (tst-stackguard1-ARGS): Use
68162         $(host-built-program-cmd).
68163         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68164         (tst-spawn-ARGS): Likewise.
68165         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68167 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68168             Jim Blandy  <jimb@codesourcery.com>
68170         * Makeconfig (run-via-rtld-prefix): New variable.
68171         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68172         (built-program-cmd): Likewise.
68174 2012-10-22  Andreas Jaeger  <aj@suse.de>
68176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68177         __O_RSYNC if it exists, otherwise to O_SYNC.
68179 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68180             Joseph Myers  <joseph@codesourcery.com>
68182         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68183         /dev/null.
68184         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68185         from /dev/null
68186         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68187         /dev/null.
68189 2012-10-22  Andreas Jaeger  <aj@suse.de>
68191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68192         Define always.
68193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68196         bits/fcntl-linux.h.
68198         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68199         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68202         to __O_LARGEFILE.
68203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68204         to __O_LARGEFILE.
68206 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68207             Joseph Myers  <joseph@codesourcery.com>
68209         * config.make.in (NM): New variable.
68211 2012-10-21  Andreas Jaeger  <aj@suse.de>
68213         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68214         definitions and declarations that are provided by
68215         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68217 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68219         [BZ #14683]
68220         * elf/Makefile (tests-static): Add tst-leaks1-static.
68221         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68222         ($(objpfx)tst-leaks1-static): New rule.
68223         ($(objpfx)tst-leaks1-static-mem): Likewise.
68224         (tst-leaks1-static-ENV): New macro.
68225         * elf/dl-open.c (dl_open_worker): Check the main application
68226         only if SHARED is defined.
68227         * elf/tst-leaks1-static.c: New file.
68229 2012-10-20  Andreas Jaeger  <aj@suse.de>
68231         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68232         generic values for Linux.
68233         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68234         and declarations that are provided by <bits/fcntl-linux.h> and
68235         include <bits/fcntl-linux.h>.
68236         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68239 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68241         * io/fcntl.h: Move include of <bits/types.h> to the top and
68242         include it unconditionally.
68244 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68246         * wcsmbs/Makefile (tests-ifunc): New variable.
68247         (tests): Add $(tests-ifunc).
68248         * wcsmbs/test-wcschr-ifunc.c: New file.
68249         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68250         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68251         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68252         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68253         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68255         * string/Makefile (tests-ifunc): New variable.
68256         (tests): Add $(tests-ifunc).
68257         * string/test-memccpy.c (TEST_NAME): New macro.
68258         * string/test-memchr.c (TEST_NAME): Likewise.
68259         * string/test-memcmp.c (TEST_NAME): Likewise.
68260         * string/test-memcpy.c (TEST_NAME): Likewise.
68261         * string/test-memmem.c (TEST_NAME): Likewise.
68262         * string/test-memmove.c (TEST_NAME): Likewise.
68263         * string/test-memset.c (TEST_NAME): Likewise.
68264         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68265         * string/test-stpcpy.c (TEST_NAME): Likewise.
68266         * string/test-stpncpy.c (TEST_NAME): Likewise.
68267         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68268         * string/test-strcasestr.c (TEST_NAME): Likewise.
68269         * string/test-strcat.c (TEST_NAME): Likewise.
68270         * string/test-strchr.c (TEST_NAME): Likewise.
68271         * string/test-strcmp.c(TEST_NAME): Likewise.
68272         * string/test-strcpy.c (TEST_NAME): Likewise.
68273         * string/test-strcspn.c (TEST_NAME): Likewise.
68274         * string/test-strlen.c (TEST_NAME): Likewise.
68275         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68276         * string/test-strncmp.c (TEST_NAME): Likewise.
68277         * string/test-strncpy.c (TEST_NAME): Likewise.
68278         * string/test-strnlen.c (TEST_NAME): Likewise.
68279         * string/test-strpbrk.c (TEST_NAME): Likewise.
68280         * string/test-strrchr.c (TEST_NAME): Likewise.
68281         * string/test-strspn.c (TEST_NAME): Likewise.
68282         * string/test-strstr.c (TEST_NAME): Likewise.
68283         * string/test-bcopy-ifunc.c: New file.
68284         * string/test-bzero-ifunc.c: Likewise.
68285         * string/test-memccpy-ifunc.c: Likewise.
68286         * string/test-memchr-ifunc.c: Likewise.
68287         * string/test-memcmp-ifunc.c: Likewise.
68288         * string/test-memcpy-ifunc.c: Likewise.
68289         * string/test-memmem-ifunc.c: Likewise.
68290         * string/test-memmove-ifunc.c: Likewise.
68291         * string/test-mempcpy-ifunc.c: Likewise.
68292         * string/test-memset-ifunc.c: Likewise.
68293         * string/test-rawmemchr-ifunc.c: Likewise.
68294         * string/test-stpcpy-ifunc.c: Likewise.
68295         * string/test-stpncpy-ifunc.c: Likewise.
68296         * string/test-strcasecmp-ifunc.c: Likewise.
68297         * string/test-strcasestr-ifunc.c: Likewise.
68298         * string/test-strcat-ifunc.c: Likewise.
68299         * string/test-strchr-ifunc.c: Likewise.
68300         * string/test-strchrnul-ifunc.c: Likewise.
68301         * string/test-strcmp-ifunc.c: Likewise.
68302         * string/test-strcpy-ifunc.c: Likewise.
68303         * string/test-strcspn-ifunc.c: Likewise.
68304         * string/test-strlen-ifunc.c: Likewise.
68305         * string/test-strncasecmp-ifunc.c: Likewise.
68306         * string/test-strncat-ifunc.c: Likewise.
68307         * string/test-strncmp-ifunc.c: Likewise.
68308         * string/test-strncpy-ifunc.c: Likewise.
68309         * string/test-strnlen-ifunc.c: Likewise.
68310         * string/test-strpbrk-ifunc.c: Likewise.
68311         * string/test-strrchr-ifunc.c: Likewise.
68312         * string/test-strspn-ifunc.c: Likewise.
68313         * string/test-strstr-ifunc.c: Likewise.
68315         * debug/Makefile (tests-ifunc): New variable.
68316         (tests): Add $(tests-ifunc).
68317         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68318         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68319         * debug/test-stpcpy_chk-ifunc.c: New file.
68320         * debug/test-strcpy_chk-ifunc.c: Likewise.
68322 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68324         [BZ #13601]
68325         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68326         header is not read in.
68328 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68330         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68331         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68332         directly.  Pass built executable to script as
68333         $(built-program-cmd).
68334         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68335         $testprogram without using LD_LIBRARY_PATH and $ldso.
68337         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68338         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68339         $(rtld-installed-name).
68340         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68341         (rtld_installed_name): Likewise.
68342         (library_path): Likewise.
68343         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68344         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68345         $(run-program-prefix) to tst-tables.sh.
68346         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68347         it to run tst-table-from and tst-table-to.
68348         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68349         Pass it to tst-table.sh.
68350         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68351         $(run-program-prefix) to tst-gettext.sh.
68352         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68353         tst-translit.sh.
68354         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68355         tst-gettext2.sh.
68356         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68357         to run tst-gettext.
68358         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68359         to run tst-gettext2.
68360         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68361         to run tst-translit.
68362         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68363         $(run-program-prefix) to tst-mtrace.sh.
68364         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68365         to run tst-mtrace.
68366         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68367         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68368         $(rtld-installed-name).
68369         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68370         (rtld_installed_name): Likewise.
68371         (run_program_prefix): New variable.  Use it to run wordexp-test.
68373         * Makeconfig (ARCH): Remove all definitions.
68374         (machine): Likewise.
68375         [ARCH]: Remove conditional code.
68376         [!objdir]: Give error.
68377         [!objdir] (objpfx): Remove.
68378         [!objdir] (common-objpfx): Likewise.
68379         [!objdir] (common-objdir): Likewise.
68380         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68381         AC_CONFIG_FILES call.
68382         * configure: Regenerated.
68384         [BZ #13888]
68385         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68386         or TMPDIR.
68387         (testout): Likewise.
68389         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68390         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68391         $(rtld-installed-name).
68392         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68393         (rtld_installed_name): Likewise.
68394         (runit): Remove function.
68395         (run_getconf): New variable,  Use it for running getconf binary.
68397 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68399         [BZ #14716]
68400         * string/test-memmem.c (check_result): New function.
68401         (do_one_test): Use it.
68402         (check1): New function.
68403         (test_main): Use it.
68405 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68407         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68409 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68411         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68412         (_G_LSEEK64): Likewise.
68413         (_G_MMAP64): Likewise.
68414         (_G_FSTAT64): Likewise.
68415         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68416         (_G_LSEEK64): Likewise.
68417         (_G_MMAP64): Likewise.
68418         (_G_FSTAT64): Likewise.
68419         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68420         unconditional.  Call __mmap64 directly.
68421         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68422         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68423         __lseek64 directly.
68424         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68425         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68426         __mmap64 directly.
68427         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68428         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68429         __lseek64 directly.
68430         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68431         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68432         __lseek64 directly.
68433         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68434         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68435         __lseek64 directly.
68436         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68437         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68438         __fxstat64 directly.
68439         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68440         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68441         unconditional.
68442         (freopen64) [!_G_OPEN64]: Remove conditional code.
68443         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68444         unconditional.
68445         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68446         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68447         unconditional.
68448         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68449         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68450         unconditional.
68451         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68452         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68453         unconditional.
68454         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68455         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68456         unconditional.
68457         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68458         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68459         unconditional.
68460         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68461         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68462         unconditional.
68463         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68465 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68467         [BZ #12140]
68468         * manual/memory.texi (Malloc Tunable Parameters): Add note
68469         about free list pointers overwriting some perturb bytes.
68470         Wording suggested by Roland McGrath.
68472 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68474         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68475         (lgamma_test): Likewise.
68476         (tgamma_test): Likewise.
68478 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68480         [BZ #14700]
68481         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68482         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68484 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68486         * NEWS: Mention BZ #14716.
68487         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68488         when removing AVAILABLE1_USES_J macro.
68490 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68492         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68493         (__bswap_64): __uint64_t for unsigned 64-bit int.
68495 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68497         * include/string.h (memmem): Declare libc hidden alias.
68498         * string/memmem.c (memmem): Define libc hidden alias.
68499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68500         __read, __close instead of open, read, close.
68502 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68505         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68506         global and hidden.
68507         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68508         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68509         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68510         Likewise.
68511         (__rawmemchr_sse2): Likewise.
68512         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68513         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68514         (__strchr_sse2): Likewise.
68515         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68516         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68517         (__strcasecmp_sse2): Likewise.
68518         (__strncasecmp_sse2): Likewise.
68519         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68520         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68521         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68522         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68523         (__strrchr_sse2): Likewise.
68524         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68525         ifunc-impl-list.c.
68526         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68527         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68528         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68529         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68530         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68531         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68532         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68533         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68534         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68535         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68536         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68537         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68538         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68539         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68540         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68541         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68542         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68543         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68544         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68545         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68546         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68547         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68548         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68549         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68550         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68551         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68552         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68553         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68554         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68555         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68557         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68558         global and hidden.
68559         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68560         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68561         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68562         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68563         Likewise.
68564         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68565         Likewise.
68566         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68567         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68568         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68569         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68570         ifunc-impl-list.c.
68571         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68572         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68573         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68574         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68575         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68576         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68577         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68578         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68579         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68580         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68581         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68582         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68583         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68584         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68585         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68586         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68587         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68588         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68589         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68590         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68591         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68592         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68593         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68594         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68595         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68596         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68597         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68598         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68599         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68600         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68601         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68602         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68603         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68604         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68605         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68606         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68607         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68608         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68609         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68610         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68611         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68613         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68614         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68615         * include/ifunc-impl-list.h: New file.
68616         * misc/ifunc-impl-list.c: Likewise.
68617         * misc/Makefile (routines): Add ifunc-impl-list.
68618         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68619         * string/test-string.h: Include <ifunc-impl-list.h>.
68620         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68621         TEST_NAME]: New variables.
68622         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68623         are defined.
68624         (test_init): Call __libc_ifunc_impl_list to initialize
68625         func_list if TEST_IFUNC and TEST_NAME are defined.
68627         * string/Makefile (strop-tests): Add bcopy and bzero.
68628         * string/test-bcopy.c: New file.
68629         * string/test-bzero.c: Likewise.
68630         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68631         defined.
68632         * string/test-memset.c: Support bzero test if TEST_BZERO is
68633         defined.
68634         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68635         __libc_memmove.
68636         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68637         __libc_memset.
68638         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68639         of memset.
68641 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68643         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68644         * configure: Regenerated.
68646         * Makeconfig (+link-static-before-libc): Don't include
68647         $(link-static-libc).
68649         * libio/libio.h (_IO_pos_t): Remove.
68651 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68653         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68654         McGrath.
68656 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68658         * crypt/crypt-entry.c: Include fips-private.h.
68659         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68660         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68661         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68662         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68664 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68666         * crypt/crypt-private.h: Include stdbool.h.
68667         (_ufc_setup_salt_r): Return bool.
68668         * crypt/crypt-entry.c: Include errno.h.
68669         (__crypt_r): Return NULL with EINVAL for bad salt.
68670         * crypt/crypt_util.c (bad_for_salt): New.
68671         (_ufc_setup_salt_r): Check that salt is long enough and within
68672         the specified alphabet.
68673         * crypt/badsalttest.c: New file.
68674         * crypt/Makefile (tests): Add it.
68675         ($(objpfx)badsalttest): New.
68677 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68679         * NEWS: Add entry for BZ #14602.
68681 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68683         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68684         type-generic.
68685         * math/libm-test.inc: Update comment listing what functions and
68686         macros are tested.
68687         (isgreater_test): New function.
68688         (isgreaterequal_test): Likewise.
68689         (isless_test): Likewise.
68690         (islessequal_test): Likewise.
68691         (islessgreater_test): Likewise.
68692         (isunordered_test): Likewise.
68693         (main): Call the new functions.
68695 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68697         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68698         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68699         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68700         * sysdeps/i386/configure: Regenerated.
68701         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68702         * sysdeps/mach/configure: Regenerated.
68703         * sysdeps/mach/hurd/configure: Regenerated.
68704         * sysdeps/powerpc/configure: Regenerated.
68705         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68706         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68707         * sysdeps/s390/s390-32/configure: Regenerated.
68708         * sysdeps/s390/s390-64/configure: Regenerated.
68709         * sysdeps/sh/configure: Regenerated.
68710         * sysdeps/sparc/configure: Regenerated.
68711         * sysdeps/unix/sysv/linux/configure: Regenerated.
68712         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68713         * sysdeps/x86_64/configure: Regenerated.
68715         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68716         defined.  Don't check if MAP is NULL.
68718 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68720         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
68721         (_G_stat64): Likewise.
68722         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
68723         (_G_stat64): Likewise.
68724         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
68725         instead of struct _G_stat64.
68726         * libio/fileops.c (mmap_remap_check): Likewise.
68727         (decide_maybe_mmap): Likewise.
68728         (_IO_new_file_seekoff): Likewise.
68729         (_IO_file_stat): Likewise.
68730         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
68731         _G_off64_t.
68732         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
68733         instead of struct _G_stat64.
68734         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
68736 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
68738         [BZ #14602]
68739         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68740         Replace with ...
68741         (CHECK_EOL): New macro.
68742         (two_way_short_needle): Check beginning of haystack for EOL.  Use
68743         CHECK_EOL.
68744         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68745         Replace with CHECK_EOL.
68746         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
68747         Replace with CHECK_EOL.
68749 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
68751         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
68752         type-generic.
68753         * math/libm-test.inc: Update comment listing what functions and
68754         macros are tested.
68755         (finite_test): New function.
68756         (isinf_test): Likewise.
68757         (isnan_test): Likewise.
68758         (fpclassify_test): Test subnormal input.
68759         (isfinite_test): Likewise.
68760         (isnormal_test): Likewise.
68761         (main): Call the new functions.
68763 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
68765         [BZ #14660]
68766         * Makerules (%.dynsym): Force C locale when running
68767         $(OBJDUMP) --dynamic-syms.
68769 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
68771         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
68772         <stdint.h>.
68774 2012-10-06  David S. Miller  <davem@davemloft.net>
68776         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
68777         upper 32-bits of the length value in %o2 since we use branch-on-register
68778         tests which consider the entire 64-bit register.
68780 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
68782         * string/test-strstr.c (check2): Add a test for page boundary.
68784 2012-10-05  David S. Miller  <davem@davemloft.net>
68786         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
68787         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
68788         file.
68789         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
68790         sysdep_routines.
68791         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
68792         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
68793         and bzero when HWCAP_SPARC_CRYPTO is present.
68795 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
68797         [BZ #14602]
68798         * string/test-strstr.c (check2): New function.
68799         (test_main): Call check2.
68801         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
68802         and bug-strchr1.
68803         * string/bug-strcasestr1.c (do_test): Moved to ...
68804         * string/test-strcasestr.c (check1): Here.  New function.
68805         (do_one_test): Break out result checking code into ...
68806         (check_result): This.  New function.
68807         (do_one_test): Call check_result.
68808         (test_main): Call check1.
68809         * string/bug-strchr1.c (do_test): Moved to ...
68810         * string/test-strchr.c (check1): Here.  New function.
68811         (do_one_test): Break out result checking code into ...
68812         (check_result): This.  New function.
68813         (do_one_test): Call check_result.
68814         (test_main): Call check1.
68815         * string/bug-strstr1.c (main): Moved to ...
68816         * string/test-strstr.c (check1): Here.  New function.
68817         (do_one_test): Break out result checking code into ...
68818         (check_result): This.  New function.
68819         (do_one_test): Call check_result.
68820         (test_main): Call check1.
68821         * string/bug-strcasestr1.c: Removed.
68822         * string/bug-strchr1.c: Likewise.
68823         * string/bug-strstr1.c: Likewise.
68825         * elf/Makefile (dl-routines): Add hwcaps.
68826         * elf/dl-support.c (_dl_important_hwcaps): Removed.
68827         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
68828         (_dl_important_hwcaps): Moved to ...
68829         * elf/dl-hwcaps.c: Here.  New file.
68830         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
68832         [BZ #14557]
68833         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
68834         if IS_IN_rtld isn't defined.
68836         * elf/dl-support.c (_dl_sysinfo_map): New.
68837         Include "get-dynamic-info.h" and "setup-vdso.h".
68838         (_dl_non_dynamic_init): Call setup_vdso.
68839         * elf/dynamic-link.h: Don't include <assert.h>.
68840         (elf_get_dynamic_info): Moved to ...
68841         * elf/get-dynamic-info.h: Here.  New file.
68842         * elf/dynamic-link.h: Include "get-dynamic-info.h".
68843         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
68844         * elf/setup-vdso.h: Here.  New file.
68845         * elf/rtld.c: Include "setup-vdso.h".
68846         (dl_main): Call setup_vdso.
68848 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
68850         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
68851         creal in comment listing functions tested.  List finite, isinf,
68852         isnan, isless, islessequal, isgreater, isgreaterequal,
68853         islessgreater, isunordered, lgamma_r and pow10 as functions and
68854         macros not tested.  Mention which functions not tested are aliases
68855         for other functions.  Fix typo.  Note that signs of NaNs are not
68856         tested.
68858         * scripts/config.guess: Update from config.git.
68859         * scripts/config.sub: Likewise.
68861 2012-10-04  Roland McGrath  <roland@hack.frob.com>
68863         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
68864         * misc/madvise.c (madvise): Renamed to __madvise.
68865         Make madvise a weak alias.
68866         * include/sys/mman.h: Declare __madvise.
68867         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
68868         * sysdeps/unix/syscalls.list
68869         (madvise): Make __madvise the strong name, and madvise a weak alias.
68870         * sysdeps/unix/sysv/linux/syscalls.list
68871         (madvise, mmap): Remove redundant entries.
68872         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
68873         * malloc/malloc.c (mtrim): Likewise.
68874         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
68876 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68878         * sysdeps/mach/hurd/dl-cache.c: File removed.
68879         * config.h.in (USE_LDCONFIG): New #undef.
68880         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
68881         * configure: Regenerated.
68882         * elf/Makefile (dl-routines): Add dl-cache only under
68883         [$(use-ldconfig) = yes].
68884         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
68885         cache on [USE_LDCONFIG].
68886         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
68887         [USE_LDCONFIG].
68888         * elf/rtld.c (dl_main): Likewise.
68890 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
68892         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
68893         _SC_LEVEL4_CACHE_LINESIZE.
68895 2012-10-03  Roland McGrath  <roland@hack.frob.com>
68897         * sysdeps/unix/bsd/confstr.h: File removed.
68899 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
68901         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
68902         sys/sdt-config.h.
68904 2012-10-02  Roland McGrath  <roland@hack.frob.com>
68906         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
68907         Make 'mapoff' field ElfW(Off) rather than off_t.
68909 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
68911         * nscd/Makefile: Remove nscd-cflags and all its users.
68912         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
68913         (CFLAGS-nonlib): Add compiler flags for nscd modules.
68915         [BZ #10631]
68916         * malloc.c (malloc_printerr): Clarify error message.
68918 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
68920         [BZ #14648]
68921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68922         Set bit_FMA_Usable if FMA is supported.
68923         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
68924         macro.
68925         (bit_FMA4_Usable): Updated.
68926         (index_FMA_Usable): New macro.
68927         (CPUID_FMA): Likewise.
68928         (HAS_FMA): Defined with bit_FMA_Usable.
68930 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68932         * bits/types.h (__swblk_t): Type removed.
68933         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
68934         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
68935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68936         (__SWBLK_T_TYPE): Likewise.
68937         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68938         (__SWBLK_T_TYPE): Likewise.
68939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68940         (__SWBLK_T_TYPE): Likewise.
68941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68942         (__SWBLK_T_TYPE): Likewise.
68944 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
68945             Honza Horak <hhorak@redhat.com>
68947         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
68948         (xdr_mapname): Use YPMAXMAP as maxsize.
68949         (xdr_peername): Use YPMAXPEER as maxsize.
68950         (xdr_keydat): Use YPAXRECORD as maxsize.
68951         (xdr_valdat): Use YPMAXRECORD as maxsize.
68953 2012-10-01  Roland McGrath  <roland@hack.frob.com>
68955         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
68957         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
68958         * csu/init-first.c: ... here.
68959         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
68960         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
68961         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
68962         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
68963         * sysdeps/i386/init-first.c: File removed.
68964         * sysdeps/sh/init-first.c: File removed.
68966 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
68968         [BZ #14645]
68969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
68970         if x * y might underflow to zero and z is zero.
68971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68973         * math/libm-test.inc (min_subnorm_value): New variable.
68974         (fma_test): Add more tests.
68975         (fma_test_towardzero): Likewise.
68976         (fma_test_downward): Likewise.
68977         (fma_test_upward): Likewise.
68978         (initialize): Set min_subnorm_value.
68980 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
68982         [BZ #14638]
68983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
68984         0 + 0.
68985         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
68986         mode for addition resulting in exact zero.
68987         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
68988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
68989         exact 0 + 0.
68990         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68992         * math/libm-test.inc (fma_test): Add more tests.
68993         (fma_test_towardzero): New function.
68994         (fma_test_downward): Likewise.
68995         (fma_test_upward): Likewise.
68996         (main): Call the new functions.
68998 2012-09-28  David S. Miller  <davem@davemloft.net>
69000         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69002 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69004         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69005         instead of SIGALRM.
69007         * sysdeps/gnu/_G_config.h: Moved to ...
69008         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69009         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69010         * sysdeps/generic/_G_config.h: ... here.
69012         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69014         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69016         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69017         Conditionalize target on [libnss_test1.so-version].
69019         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69021         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69022         (elfobjdir): Move out of conditionals.
69024         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69025         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69026         (__nss_lookup_function): Conditionalize label remove_from_tree on
69027         [!DO_STATIC_NSS || SHARED], matching its only use.
69029 2012-09-28  David S. Miller  <davem@davemloft.net>
69031         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69032         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69033         file.
69034         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69035         sysdep_routines.
69036         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69038         when HWCAP_SPARC_CRYPTO is present.
69040 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69042         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69044 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69046         [BZ #6530]
69047         * stdio-common/vfprintf.c (process_string_arg): Revert
69048         2000-07-22 change.
69050 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69052         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69053         for testcase.
69054         * stdio-common/tst-sprintf.c: Include <locale.h>
69055         (main): Test sprintf's handling of incomplete multibyte
69056         characters.
69058 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69060         * elf/dl-runtime.c (VERSYMIDX): Removed.
69061         * elf/dl-version.c (VERSYMIDX): Likewise.
69062         * elf/do-rel.h (VERSYMIDX): Likewise.
69063         (VALIDX): Likewise.
69064         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69065         * elf/rtld.c (VALIDX): Likewise.
69066         (ADDRIDX): Likewise.
69067         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69068         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69069         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69070         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69071         (VALIDX): Likewise.
69072         (ADDRIDX): Likewise.
69074 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69076         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69078 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69080         [BZ #11438]
69081         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69082         to global scope.
69083         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69084         addresses are in the same scope as 192.0.2/24.
69085         * posix/gai.conf: Document new scope table defaults.
69087 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69089         [BZ #5298]
69090         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69091         for ftell.  Compute offsets from write pointers instead.
69092         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69094 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69096         [BZ #14543]
69097         * libio/Makefile (tests): New test case tst-fseek.
69098         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69099         combination works in wide mode.
69100         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69101         state when the external buffer state changes.
69103 2012-09-27  David S. Miller  <davem@davemloft.net>
69105         [BZ #14376]
69106         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69107         pass reloc->r_addend in as the 'high' argument to
69108         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69112 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69114         * rt/tst-aio2.c: Include <pthread.h>.
69115         * rt/tst-aio3.c: Likewise.
69117 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69119         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69121 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69123         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69124         contents on [SHARED].
69126 2012-09-26  Marek Polacek  <polacek@redhat.com>
69128         [BZ #14530]
69129         [BZ #13741]
69130         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69131         for C++ and GCC <4.3 as well as for non GCC compilers.
69133 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69137 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69139         * Makefile.in (all, install): Declare with .PHONY.
69140         Reported by Michael Hope <michael.hope@linaro.org>.
69142 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69144         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69145         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69146         system header.
69147         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69148         Likewise.
69149         (sydep_routines): Add the new and the internal functions.
69150         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69151         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69153         (GLIBC_2.17): Add the new function.
69154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69155         (GLIBC_2.17): Likewise.
69156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69157         (GLIBC_2.17): Likewise.
69158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69159         (GLIBC_2.17): Likewise.
69160         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69162 2012-09-25  Alan Modra  <amodra@gmail.com>
69164         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69165         Add release barrier before setting once_control to say
69166         initialisation is done.  Add hints on lwarx.  Use macro in
69167         place of isync.
69168         (clear_once_control): Add release barrier.
69170 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69172         [BZ #13629]
69173         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69174         specially.
69175         * math/s_clog10.c (__clog10): Likewise.
69176         * math/s_clog10f.c (__clog10f): Likewise.
69177         * math/s_clog10l.c (__clog10l): Likewise.
69178         * math/s_clogf.c (__clogf): Likewise.
69179         * math/s_clogl.c (__clogl): Likewise.
69180         * math/Makefile (libm-calls): Add x2y2m1.
69181         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69182         (__x2y2m1): Likewise.
69183         (__x2y2m1l): Likewise.
69184         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69185         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69186         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69187         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69188         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69189         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69190         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69191         * sysdeps/i386/fpu/libm-test-ulps: Update.
69192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69194         [BZ #14621]
69195         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69196         int as type of variable DEPTH.
69197         (glob): Use size_t instead of int as type of variables NEWCOUNT
69198         and OLD_PATHC.
69200 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69202         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69203         Add s_sincosf-sse2.
69204         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69205         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69206         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69207         macros for using routine as __sincosf_ia32.
69208         Use macro for function declaration and weak_alias.
69209         * sysdeps/i386/fpu/libm-test-ulps: Update.
69211         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69214         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69215         subnormal argument.
69216         * math/s_cexpf.c (__cexpf): Likewise.
69217         * math/s_csinf.c (__csinf): Likewise.
69218         * math/s_csinhf.c (__csinhf): Likewise.
69219         * math/s_ctanf.c (__ctanf): Likewise.
69220         * math/s_ctanhf.c (__ctanhf): Likewise.
69221         * math/s_ccosh.c (__ccoshf): Likewise.
69222         * math/s_cexp.c (__cexpl): Likewise.
69223         * math/s_csin.c (__csin): Likewise.
69224         * math/s_csinh.c (__csinh): Likewise.
69225         * math/s_ctan.c (__ctan): Likewise.
69226         * math/s_ctanh.c (ctanh): Likewise.
69227         * math/s_ccoshl.c (__ccoshl): Likewise.
69228         * math/s_cexpl.c (__cexpl): Likewise.
69229         * math/s_csinl.c (__csinl): Likewise.
69230         * math/s_csinhl.c (__csinhl): Likewise.
69231         * math/s_ctanl.c (__ctanl): Likewise.
69232         * math/s_ctanhl.c (__ctanhl): Likewise.
69234 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69236         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69237         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69238         (_IO_off_t): Define to __off_t, not _G_off_t.
69239         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69240         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69241         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69242         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69243         type of __dummy and __dummy2 fields.
69244         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69245         (_G_ssize_t): Likewise.
69246         (_G_off_t): Likewise.
69247         (_G_pid_t): Likewise.
69248         (_G_uid_t): Likewise.
69249         (_G_wchar_t): Likewise.
69250         (_G_wint_t): Likewise.
69251         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69252         (_G_ssize_t): Likewise.
69253         (_G_off_t): Likewise.
69254         (_G_pid_t): Likewise.
69255         (_G_uid_t): Likewise.
69256         (_G_wchar_t): Likewise.
69257         (_G_wint_t): Likewise.
69258         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69259         (_G_ssize_t): Likewise.
69260         (_G_off_t): Likewise.
69261         (_G_pid_t): Likewise.
69262         (_G_uid_t): Likewise.
69263         (_G_wchar_t): Likewise.
69264         (_G_wint_t): Likewise.
69266 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69268         * malloc/arena.c: Include malloc-sysdep.h.
69269         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69270         is sufficient to shrink the heap or an unmap is needed.
69271         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69272         new function check_may_shrink_heap.
69273         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69274         new function check_may_shrink_heap.
69276 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69278         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69279         comments.
69281 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69283         * catgets/test-gencat.sh: Add "set -e".
69284         * elf/tst-pathopt.sh: Likewise.
69285         * grp/tst_fgetgrent.sh: Likewise.
69286         * iconvdata/run-iconv-test.sh: Likewise.
69287         * intl/tst-gettext.sh: Likewise.
69288         * intl/tst-gettext2.sh: Likewise.
69289         * intl/tst-gettext4.sh: Likewise.
69290         * intl/tst-gettext6.sh: Likewise.
69291         * intl/tst-translit.sh: Likewise.
69292         * io/ftwtest-sh: Likewise.
69293         * libio/test-freopen.sh: Likewise.
69294         * malloc/tst-mtrace.sh: Likewise.
69295         * posix/globtest.sh: Likewise.
69296         * posix/tst-getconf.sh: Likewise.
69297         * posix/wordexp-tst.sh: Likewise.
69298         * stdio-common/tst-printf.sh: Likewise.
69299         * stdio-common/tst-unbputc.sh: Likewise.
69300         * stdlib/tst-fmtmsg.sh: Likewise.
69301         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69302         * catgets/Makefile: Do not specify -e option when running
69303         testsuite shell scripts.
69304         * elf/Makefile: Likewise.
69305         * grp/Makefile: Likewise.
69306         * iconvdata/Makefile: Likewise.
69307         * intl/Makefile: Likewise.
69308         * io/Makefile: Likewise.
69309         * libio/Makefile: Likewise.
69310         * malloc/Makefile: Likewise.
69311         * posix/Makefile: Likewise.
69312         * stdio-common/Makefile: Likewise.
69313         * stdlib/Makefile: Likewise.
69314         * sysdeps/x86_64/Makefile: Likewise.
69316         * io/ftwtest-sh: Add copyright header.
69317         * posix/globtest.sh: Likewise.
69318         * posix/tst-getconf.sh: Likewise.
69319         * posix/wordexp-tst.sh: Likewise.
69320         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69322 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69324         [BZ #13679]
69325         * Makeconfig (+link): Defined as $(+link-static) if
69326         $(build-shared) isn't yes.
69327         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69328         isn't yes.
69329         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69331         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69333         [BZ #14562]
69334         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69335         new chunk size with MALLOC_ALIGN_MASK.
69337 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69339         [BZ #5044]
69340         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69341         <rounding-mode.h>.
69342         (__printf_fphex): Determine rounding using get_rounding_mode and
69343         round_away.
69344         * stdio-common/tst-printf-round.c (struct hex_test): New
69345         structure.
69346         (hex_tests): New variable.
69347         (test_hex_in_one_mode): New function.
69348         (do_test): Also run tests for hex float output.
69350 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69352         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69353         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69354         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69355         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69356         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69357         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69358         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69359         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69361 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69363         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69364         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69365         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69366         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69368 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69370         [BZ #14579]
69371         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69372         mode only.
69373         * elf/tst-rtld-load-self.sh: New test.
69374         * elf/Makefile: Run it.
69376 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69378         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69379         (tst-writev-ENV): Remove.
69380         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69382 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69384         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69386 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69388         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69389         unconditional.
69390         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69391         Likewise.
69392         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69393         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69394         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69395         Likewise.
69397 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69399         [BZ #14587]
69400         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69401         * config.make.in (have-cpp-asm-debuginfo): Removed.
69402         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69403         * configure: Regenerated.
69405 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69407         [BZ #5044]
69408         * stdio-common/printf_fp.c: Include <stdbool.h> and
69409         <rounding-mode.h>.
69410         (___printf_fp): Determine rounding using get_rounding_mode and
69411         round_away.
69412         * stdio-common/tst-printf-round.c: New file.
69413         * stdio-common/Makefile (tests): Add tst-printf-round.
69414         (link-libm): New variable.
69415         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69417 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69419         [BZ #14576]
69420         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69421         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69422         Likewise.
69423         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69424         Likewise.
69426 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69428         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69429         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69430         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69431         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69433 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69435         [BZ #14518]
69436         * include/rounding-mode.h: New file.
69437         * sysdeps/generic/get-rounding-mode.h: Likewise.
69438         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69439         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69440         (MAX_VALUE): New macro.
69441         (MIN_VALUE): Likewise.
69442         (overflow_value): New function.
69443         (underflow_value): Likewise.
69444         (round_and_return): Use overflow_value and underflow_value to
69445         determine return values in overflow and underflow cases.  Use
69446         round_away to determine rounding depending on rounding mode.
69447         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69448         determine return values in overflow and underflow cases.
69449         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69450         (struct test_results): New structure.
69451         (struct test): Use struct test_results to store expected results
69452         for all rounding modes.
69453         (TEST): Include expected results for all rounding modes.
69454         (test_in_one_mode): New function.
69455         (do_test): Use test_in_one_mode to compute and check results.
69456         Check results for all rounding modes.
69457         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69458         $(link-libm).
69460 2012-12-09  Allan McRae  <allan@archlinux.org>
69462         * sysdeps/i386/fpu/libm-test-ulps: Update
69464 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69466         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69467         (_G_int32_t): Likewise.
69468         (_G_uint16_t): Likewise.
69469         (_G_uint32_t): Likewise.
69470         (_G_HAVE_BOOL): Likewise.
69471         (_G_HAVE_ATEXIT): Likewise.
69472         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69473         (_G_HAVE_IO_FILE_OPEN): Likewise.
69474         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69475         (_G_int32_t): Likewise.
69476         (_G_uint16_t): Likewise.
69477         (_G_uint32_t): Likewise.
69478         (_G_HAVE_BOOL): Likewise.
69479         (_G_HAVE_ATEXIT): Likewise.
69480         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69481         (_G_HAVE_IO_FILE_OPEN): Likewise.
69482         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69483         (_G_int32_t): Likewise.
69484         (_G_uint16_t): Likewise.
69485         (_G_uint32_t): Likewise.
69486         (_G_HAVE_BOOL): Likewise.
69487         (_G_HAVE_ATEXIT): Likewise.
69488         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69489         (_G_HAVE_IO_FILE_OPEN): Likewise.
69491 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69493         * csu/libc-tls.c: Update copyright years.
69495 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69497         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69498         [!_G_USING_THUNKS]: Remove conditional code.
69499         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69500         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69502         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69503         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69504         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69505         (_G_VTABLE_LABEL_PREFIX): Likewise.
69506         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69507         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69508         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69509         (_G_VTABLE_LABEL_PREFIX): Likewise.
69510         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69511         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69512         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69513         (_G_VTABLE_LABEL_PREFIX): Likewise.
69514         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69516 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69518         * libio/Makefile: Include ../Makeconfig before tests.
69519         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69520         only if $(build-shared) is yes.
69522         * iconv/gconv_db.c: Update copyright years.
69524 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69526         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69527         unwind info if defined PIC. Fix special cases description.
69528         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69530         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69531         DP_HI_MASK entry.
69532         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69534 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69536         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69538         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69539         is NULL.
69541         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69542         (LDLIBS-tst-chk4): This.
69543         (LDFLAGS-tst-chk5): Renamed to ...
69544         (LDLIBS-tst-chk5): This.
69545         (LDFLAGS-tst-chk6): Renamed to ...
69546         (LDLIBS-tst-chk6): This.
69547         (LDFLAGS-tst-lfschk4): Renamed to ...
69548         (LDLIBS-tst-lfschk4): This.
69549         (LDFLAGS-tst-lfschk5): Renamed to ...
69550         (LDLIBS-tst-lfschk5): This.
69551         (LDFLAGS-tst-lfschk6): Renamed to ...
69552         (LDLIBS-tst-lfschk6): This.
69554         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69555         on $(common-objpfx)soversions.mk.
69557 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69559         [BZ #10014]
69560         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69561         example host name.
69563 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69565         * malloc/arena.c (arena_get_retry): New function that gets
69566         another arena for the caller to try its request on.
69567         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69568         current arena cannot fulfill the request.
69569         (__libc_memalign): Likewise.
69570         (__libc_memalign): Likewise.
69571         (__libc_pvalloc): Likewise.
69572         (__libc_calloc): Likewise.
69574 2012-09-05  John Tobey  <john.tobey@gmail.com>
69576         [BZ #13542]
69577         * manual/arith.texi (Operations on Complex): Fix description
69578         of carg branch cut.
69580 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69582         [BZ #10014]
69583         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69584         host name.
69586         [BZ #10038]
69587         * manual/memory.texi (Memory): Make order of menu items match
69588         order of sections.
69590 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69592         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69593         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69594         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69596 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69598         * csu/libc-tls.c (static_dtv): Renamed to ...
69599         (_dl_static_dtv): This.  Make it global.
69600         (_dl_initial_dtv): Removed.
69601         (__libc_setup_tls): Updated.
69602         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69603         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69604         DL_INITIAL_DTV.
69606 2012-09-06  Petr Machata  <pmachata@redhat.com>
69608         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69609         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69610         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69611         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69613 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69615         [BZ #14545]
69616         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69617         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69618         freeing dtv[-1].
69620 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69622         [BZ #14544]
69623         * Makeconfig (link-static-before-libc): Replace $(+prector)
69624         with $(+prectorT).
69625         (link-static-after-libc): Replace $(+postctor) with
69626         $(+postctorT).
69627         (link-bounded): Replace $(+prector)/$(+postctor) with
69628         $(+prectorT)/$(+postctorT).
69629         (+prectorT): New macro.
69630         (+postctorT): Likewise.
69632 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69634         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69635         (round_str): Handle values above the maximum for IBM long double
69636         as inexact.
69637         * stdlib/tst-strtod-round.c (tests): Regenerated.
69639 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69641         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69642         assembler flag.
69643         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69644         zarch_nohighgprs around the zarch optimized routines.
69645         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69646         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69647         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69648         for zarch.
69650 2012-09-05  David S. Miller  <davem@davemloft.net>
69652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69654         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69655         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69656         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69657         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69658         entries.
69660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69662         * malloc/arena.c: Fold copyright years.
69663         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69665 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69667         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69669 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69671         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69673 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69675         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69676         change internal state upon failure.
69678 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69680         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69681         * malloc/memusage.c (mmap): Likewise.
69682         (mmap64, mremap): Likewise.  Adjust name in comment.
69684 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69686         * libio/fileops.c: Fix typos in comments.
69687         * libio/oldfileops.c: Likewise.
69688         * libio/wfileops.c: Likewise.
69690 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69692         [BZ #1349]
69693         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69694         (tst-malloc-usable-ENV): Set environment for test case.
69695         * malloc/hooks.c (malloc_check_get_size): New function to get
69696         requested size.
69697         * malloc/malloc.c (musable): Use malloc_check_get_size.
69698         * malloc/tst-malloc-usable.c: New test case.
69700 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69702         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69704 2012-09-05  Allan McRae  <allan@archlinux.org>
69706         [BZ #13966]
69707         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69708         determine header location.
69709         * configure: Regenerated.
69711 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69713         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69714         float format.
69715         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69716         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69717         format.
69718         (test): Regenerate.
69720 2012-09-04  David S. Miller  <davem@davemloft.net>
69722         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
69723         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
69724         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
69726 2012-09-04  Florian Weimer  <fweimer@redhat.com>
69728         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
69729         failures.
69731         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
69733 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
69735         [BZ #9914]
69736         * libio/iogetdelim.c: Include <limits.h>.
69737         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
69738         + len + 1 would overflow.
69740 2012-09-03  Andreas Jaeger  <aj@suse.de>
69742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69743         * sysdeps/i386/fpu/libm-test-ulps: Update.
69745 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69747         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69748         Add s_sinf-sse2, s_conf-sse2.
69750         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
69751         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
69752         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
69753         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
69755         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
69756         for using routine as __sinf_ia32.
69757         Use macro for function declaration and weak_alias.
69758         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
69759         for using routine as __cosf_ia32.
69760         Use macro for function declaration and weak_alias.
69762         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
69763         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
69765         * sysdeps/x86_64/fpu/s_sinf.S: New file.
69766         * sysdeps/x86_64/fpu/s_cosf.S: New file.
69767         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69769         * math/libm-test.inc (cos_test): Add more test cases.
69770         (sin_test): Likewise.
69771         (sincos_test): Likewise.
69773 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69775         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
69776         (IFUNC_RESOLVE): Make pointers to the specialized implementations
69777         hidden.
69778         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69780 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
69782         [BZ #14538]
69783         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
69784         first element of the GOT.
69785         (elf_machine_load_address): Return the difference between
69786         the runtime address of _DYNAMIC and elf_machine_dynamic ().
69788 2012-09-01  Allan McRae  <allan@archlinux.org>
69790         [BZ #13412]
69791         * configure.in (AWK): Require gawk version 3.0 or later.
69792         * configure: Regenerated.
69794 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
69796         * sysdeps/unix/sysv/linux/kernel-features.h
69797         (__ASSUME_POSIX_CPU_TIMERS): Remove.
69798         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
69799         [__NR_clock_getres]: Make code unconditional.
69800         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
69801         (clock_getcpuclockid): Remove code left unreachable by removal of
69802         conditionals.
69803         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
69804         code unconditional.
69805         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69806         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69807         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69808         Make code unconditional.
69809         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
69810         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69811         * sysdeps/unix/sysv/linux/clock_settime.c
69812         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
69813         conditional code.
69814         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
69815         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
69817 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
69819         [BZ #14476]
69820         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
69821         scripts/test-installation.pl.
69823         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
69824         and $ld_so_version if it is set.
69826 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69828         [BZ #14516]
69829         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
69830         failure if reading from procfs failed.
69831         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
69833 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69835         * sysdeps/unix/sysv/linux/kernel-features.h
69836         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
69837         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69838         Remove conditional code.
69839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69840         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
69841         Remove conditional code.
69842         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69843         * sysdeps/unix/sysv/linux/i386/fxstat.c
69844         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69845         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69846         * sysdeps/unix/sysv/linux/i386/fxstatat.c
69847         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69848         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69849         * sysdeps/unix/sysv/linux/i386/lxstat.c
69850         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
69851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69852         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
69853         Remove conditional code.
69854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69855         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
69856         Remove conditional code.
69857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69858         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
69859         <kernel-features.h>.
69860         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
69861         Remove.
69862         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
69863         Remove conditional code.
69864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
69865         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
69866         Remove conditional.
69868 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
69870         [BZ #5400]
69871         * NEWS: Add fixed bug number.
69873 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
69875         [BZ #14519]
69876         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
69877         underflowing exponent in case of negative sign.
69878         * stdlib/tst-strtod-round-data: Add more tests.
69879         * stdlib/tst-strtod-round.c (tests): Regenerated.
69881         [BZ #3479]
69882         * stdlib/strtod_l.c (NDIG): Remove.
69883         (HEXNDIG): Likewise.
69884         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
69885         smallest representable value.
69886         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
69887         lie within an exact representation of 1/2 ulp of the result.
69888         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
69889         unconditionally.
69890         (TENS_P9_IDX): Define unconditionally.
69891         (TENS_P9_SIZE): Likewise.
69892         (TENS_P10_IDX): Likewise.
69893         (TENS_P10_SIZE): Likewise.
69894         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
69895         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
69896         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
69897         entries for 10^2^13 and 10^2^14.
69898         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
69899         (TENS_P13_IDX): Define.
69900         (TENS_P13_SIZE): Likewise.
69901         (TENS_P14_IDX): Likewise.
69902         (TENS_P14_SIZE): Likewise.
69903         (_fpioconst_pow10): Change array size to
69904         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
69905         unconditional.
69906         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
69907         1024]: Add entries for 10^2^13 and 10^2^14.
69908         [LAST_POW10 > _LAST_POW10]: Remove #error.
69909         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
69910         (_fpioconst_pow10): Change array size to
69911         FPIOCONST_POW10_ARRAY_SIZE.
69912         * stdlib/gen-fpioconst.c: New file.
69913         * stdlib/gen-tst-strtod-round.c: Likewise.
69914         * stdlib/tst-strtod-round-data: Likewise.
69915         * stdlib/tst-strtod-round.c: Likewise.
69916         * stdlib/Makefile (tests): Add tst-strtod-round.
69918         [BZ #14459]
69919         * stdlib/strtod_l.c: Include <stdint.h>.
69920         (NDEBUG): Do not define.
69921         (round_and_return): Change EXPONENT parameter to type intmax_t.
69922         Rearrange calculations to avoid internal overflow possibilities.
69923         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
69924         Rearrange calculations to avoid internal overflow possibilities.
69925         Assert that number fits inside MPNSIZE limbs.
69926         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
69927         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
69928         calculations and add assertions to avoid internal overflow
69929         possibilities.  Add casts to avoid signed/unsigned operations.
69930         * stdlib/tst-strtod-overflow.c: New file.
69931         * stdlib/Makefile (tests): Add tst-strtod-overflow.
69933 2012-08-25  Marek Polacek  <polacek@redhat.com>
69935         * time/time.h: Fix some typos in comments.
69937 2012-08-23  Roland McGrath  <roland@hack.frob.com>
69939         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
69940         * posix/tst-rfc3484-2.c: Likewise.
69941         * posix/tst-rfc3484-3.c: Likewise.
69943 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
69945         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
69946         (EF_ARM_ABI_FLOAT_HARD): Likewise.
69948 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
69950         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
69951         #include of fxstatat64.c.
69953 2012-08-22  Roland McGrath  <roland@hack.frob.com>
69955         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
69956         * shadow/getspent_r.c: Likewise.
69957         * shadow/getspnam.c: Likewise.
69958         * shadow/getspnam_r.c: Likewise.
69959         * gshadow/getsgent.c: Likewise.
69960         * gshadow/getsgent_r.c: Likewise.
69961         * gshadow/getsgnam.c: Likewise.
69962         * gshadow/getsgnam_r.c: Likewise.
69963         * inet/getnetbyad.c: Likewise.
69964         * inet/getnetbyad_r.c: Likewise.
69965         * inet/getnetbynm.c: Likewise.
69966         * inet/getnetbynm_r.c: Likewise.
69967         * inet/getnetent.c: Likewise.
69968         * inet/getnetent_r.c: Likewise.
69969         * inet/getproto.c: Likewise.
69970         * inet/getproto_r.c: Likewise.
69971         * inet/getprtent.c: Likewise.
69972         * inet/getprtent_r.c: Likewise.
69973         * inet/getprtname.c: Likewise.
69974         * inet/getprtname_r.c: Likewise.
69975         * inet/getrpcbyname.c: Likewise.
69976         * inet/getrpcbyname_r.c: Likewise.
69977         * inet/getrpcbynumber.c: Likewise.
69978         * inet/getrpcbynumber_r.c: Likewise.
69979         * inet/getrpcent.c: Likewise.
69980         * inet/getrpcent_r.c: Likewise.
69981         * inet/getaliasent.c: Likewise.
69982         * inet/getaliasent_r.c: Likewise.
69983         * inet/getaliasname.c: Likewise.
69984         * inet/getaliasname_r.c: Likewise.
69985         * nscd/getgrgid_r.c: Likewise.
69986         * nscd/getgrnam_r.c: Likewise.
69987         * nscd/gethstbyad_r.c: Likewise.
69988         * nscd/gethstbynm3_r.c: Likewise.
69989         * nscd/getpwnam_r.c: Likewise.
69990         * nscd/getpwuid_r.c: Likewise.
69991         * nscd/getsrvbynm_r.c: Likewise.
69992         * nscd/getsrvbypt_r.c: Likewise.
69993         * nscd/gai.c: Likewise.
69995         * configure.in (build_nscd): New substituted variable, set
69996         by --disable-build-nscd and defaults to $use_nscd.
69997         * configure: Regenerated.
69998         * config.make.in (build-nscd): New substituted variable.
69999         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70000         Change conditional to require [$(build-nscd) = yes] as well.
70001         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70003         [BZ# 13696]
70004         * configure.in (use_nscd): New substituted variable, set by
70005         --disable-nscd.  If enabled, define USE_NSCD.
70006         * configure: Regenerated.
70007         * config.h.in: Add USE_NSCD.
70008         * config.make.in (use-nscd): New substituted variable.
70009         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70010         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70011         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70012         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70013         (CFLAGS-getgrnam_r.c): Likewise.
70014         (CFLAGS-initgroups.c): Likewise.
70015         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70016         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70017         Variables removed.
70018         * inet/getnetgrent_r.c
70019         (nscd_setnetgrent): New function, broken out of ...
70020         (setnetgrent): ... here.  Call it.
70021         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70022         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70023         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70024         * nscd/Makefile (routines, aux): Move definitions after include of
70025         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70026         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70027         Conditionalize on [USE_NSCD].
70028         (is_nscd, nscd_init_cb): Likewise.
70029         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70030         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70031         * nss/nss_db/db-init.c: Likewise.
70032         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70033         [USE_NSCD].
70034         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70035         (make_request): Use it.
70036         (cache_valid_p): New function.
70037         (__check_pf): Use it.
70038         * NEWS: Add item for --disable-nscd.
70040 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70042         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70043         to support sed >= 4.2.1-20-ga9bf076.
70044         * configure: Regenerated.
70046 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70048         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70049         Conditionalize whole body on [IREL].
70051 2012-08-22  Jeff Law <law@redhat.com>
70053         [BZ #14505]
70054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70055         if the family is PF_UNSPEC.
70057 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70059         * Makerules (lib-version): Rename from V.
70060         (install-lib-nosubdir): Change V to lib-version.
70062 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70064         [BZ #14252]
70065         * powerpc32/power6/wcschr.c: New file.
70066         * powerpc32/power6/wcscpy.c: New file.
70067         * powerpc32/power6/wcsrchr.c: New file.
70068         * powerpc64/power6/wcschr.c: New file.
70069         * powerpc64/power6/wcscpy.c: New file.
70070         * powerpc64/power6/wcsrchr.c: New file.
70072 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70074         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70075         (two_way_short_needle): Use it.
70076         * string/strstr.c (AVAILABLE1_USES_J): Define.
70077         * string/strcasestr.c: Likewise.
70079         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70080         array references.
70081         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70083         [BZ #11607]
70084         * NEWS: Add an entry.
70085         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70086         define their defaults.
70087         (two_way_short_needle): Detect end-of-string on-the-fly.
70088         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70089         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70090         * string/bug-strcasestr1.c: New test.
70091         * string/Makefile: Run it.
70093 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70095         [BZ #11607]
70096         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70097         the first character.
70099 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70101         * csu/elf-init.c (__libc_csu_irel): Function removed.
70102         * csu/libc-start.c (apply_irel): New function.
70103         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70105 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70107         * sysdeps/unix/sysv/linux/kernel-features.h
70108         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70109         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70110         <kernel-features.h>.
70111         [__NR_fadvise64_64]: Make code unconditional.
70112         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70113         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70114         !__NR_fadvise64_64)]: Likewise.
70115         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70116         !__NR_fadvise64_64))]: Likewise.
70117         [__NR_fadvise64]: Make code unconditional.
70118         [!__NR_fadvise64]: Remove conditional code.
70119         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70120         <kernel-features.h>.
70121         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70122         unconditional.
70123         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70124         conditional code.
70125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70126         not include <kernel-features.h>.
70127         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70128         unconditional.
70129         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70130         conditional code.
70131         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70132         include <kernel-features.h>.
70133         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70134         unconditional.
70135         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70136         conditional code.
70138 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70140         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70141         slight instruction rearrangements per scrollpipe analysis.
70142         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70144 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70146         * manual/syslog.texi (syslog; vsyslog, closelog):
70147         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70148         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70150         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70151         DSOCAPS to match condition on defining it.
70153 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70155         * sysdeps/unix/sysv/linux/kernel-features.h
70156         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70158         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70159         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70161         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70162         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70164         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70165         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70167         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70168         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70170         * sysdeps/unix/sysv/linux/kernel-features.h
70171         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70172         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70173         unconditional.
70174         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70175         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70176         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70177         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70178         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70179         Make code unconditional.
70180         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70181         (__mmap64) [!__NR_mmap2]: Likewise.
70182         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70183         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70184         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70185         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70186         [__NR_mmap2]: Make code unconditional.
70187         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70188         (__mmap64) [!__NR_mmap2]: Likewise.
70190 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70192         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70194 2012-08-18  Andreas Jaeger  <aj@suse.de>
70196         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70198 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70200         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70201         * include/unistd.h (__have_sock_cloexec): Likewise.
70202         (__have_pipe2): Likewise.
70203         (__have_dup3): Likewise.
70205 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70207         [BZ #9685]
70208         * include/unistd.h (__have_pipe2): Change define into an extern int.
70209         (__have_dup3): Likewise.
70210         * socket/have_sock_cloexec.c: Include fcntl.h.
70211         (__have_pipe2): New variable.
70212         (__have_dup3): Likewise.
70214 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70216         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70218 2012-08-17  Marek Polacek  <polacek@redhat.com>
70220         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70221         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70223 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70225         * configure.in: Add AC_SUBST for sysheaders.
70226         * configure: Regenerated.
70227         * config.make.in (sysheaders): New substituted variable.
70229         * sysdeps/unix/mkfifo.c: Moved ...
70230         * sysdeps/posix/mkfifo.c: ... here.
70231         * sysdeps/unix/mkfifoat.c: Moved ...
70232         * sysdeps/posix/mkfifoat.c: ... here.
70234         * sysdeps/unix/utime.c: Moved ...
70235         * sysdeps/posix/utime.c: ... here.
70237         * sysdeps/unix/time.c: Moved ...
70238         * sysdeps/posix/time.c: ... here.
70239         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70240         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70242         * sysdeps/unix/nice.c: Moved ...
70243         * sysdeps/posix/nice.c: ... here.
70245         * sysdeps/unix/alarm.c: Moved ...
70246         * sysdeps/posix/alarm.c: ... here.
70248         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70250 2012-08-17  Jeff Law <law@redhat.com>
70252         * intl/Makefile (codeset_mo): New variable.
70253         ($(codeset_mo)): New target.
70254         (tst-codeset.out): Depend on that.  Remove explicit rule.
70255         (tst-gettext3.out, tst-gettext5.out): Likewise.
70256         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70257         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70258         * intl/tst-codeset.sh: Remove.
70259         * intl/tst-gettext3.sh: Likewise.
70260         * intl/tst-gettext5.sh: Likewise.
70262 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70264         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70265         * sysdeps/unix/syscalls.list: ... here.
70267         * sysdeps/posix/getaddrinfo.c
70268         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70269         (gaiconf_init, gaiconf_reload): Use them.
70270         [!_STATBUF_ST_NSEC]
70271         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70272         Define using time_t rather than struct timespec.
70274         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70275         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70276         Macros removed.
70277         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70278         [!NO_THREADS].
70279         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70280         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70281         Likewise.
70283         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70284         __libc_cleanup_push argument.
70286         * bits/param.h: New file.
70287         * misc/sys/param.h: New file.
70288         * include/sys/param.h: New file.
70289         * misc/Makefile (headers): Add bits/param.h.
70290         * sysdeps/generic/sys/param.h: File removed.
70291         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70292         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70293         * sysdeps/mach/hurd/bits/param.h: New file.
70294         * sysdeps/mach/hurd/sys/param.h: File removed.
70296         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70297         last change.
70299         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70300         [_IO_MTSAFE_IO].
70301         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70302         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70303         New macros.
70305         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70306         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70307         rather than -D_IO_MTSAFE_IO conditionally.
70308         * stdio-common/Makefile (CPPFLAGS): Likewise.
70309         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70310         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70311         Use $(libio-mtsafe).
70312         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70313         of -D_IO_MTSAFE_IO.
70314         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70315         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70316         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70317         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70318         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70319         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70320         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70321         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70322         (CFLAGS-fread_u_chk.c): Likewise.
70323         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70324         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70325         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70326         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70327         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70328         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70329         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70330         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70331         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70333         * libio/Makefile: Test [$(libc-reentrant) = yes]
70334         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70336         * Makeconfig
70337         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70338         * sysdeps/pthread/configure: File removed.
70339         * sysdeps/pthread/Makeconfig: New file.
70340         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70341         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70343 2012-08-16  Gary Benson  <gbenson@redhat.com>
70345         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70346         unmapping the first object in a namespace.
70348 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70350         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70351         (__internal_setnetgrent): ... this.  Add internal_function to
70352         definition.  Add libc_hidden_def.
70353         (setnetgrent): Update caller.
70354         (internal_endnetgrent): Renamed to ...
70355         (__internal_endnetgrent): ... this.  Add internal_function to
70356         definition.  Add libc_hidden_def.
70357         (endnetgrent): Update caller.
70358         (internal_getnetgrent_r): Renamed to ...
70359         (__internal_getnetgrent_r): ... this.  Add internal_function to
70360         definition.  Add libc_hidden_def.
70361         (__getnetgrent_r): Update caller.
70362         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70364 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70366         * stdlib/longlong.h: Update from GCC.
70368 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70370         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70371         on _QL, which is set by umul_ppmm but never used.
70372         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70373         variables, which are set by GMP macros but never used.
70374         * stdio-common/_itowa.c (_itowa): Likewise.
70375         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70376         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70378 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70380         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70381         struct La_sh_regs is not constant.
70382         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70383         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70384         and struct La_sparc64_regs are not constant.
70386 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70388         * sysdeps/unix/sysv/linux/kernel-features.h
70389         (__ASSUME_POSIX_TIMERS): Remove.
70390         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70391         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70392         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70393         Make code unconditional.
70394         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70395         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70396         Make code unconditional.
70397         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70398         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70399         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70400         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70401         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70402         Make code unconditional.
70403         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70404         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70405         (__libc_missing_posix_timers): Remove.
70407 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70409         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70410         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70412         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70414         * elf/dl-sym.c: Include <stdlib.h>.
70416         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70417         constants, which avoids warnings in 32-bit builds.
70419         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70420         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70422         * misc/lseek.c: File moved to ...
70423         * io/lseek.c: ... here.
70425         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70427         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70428         shifting LEN more than 31 bits at once.
70430 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70432         [BZ #14195]
70433         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70434         segmentation fault for a case of two empty input strings.
70435         * string/test-strncasecmp.c (check1): Renamed to...
70436         (bz12205): ...this.
70437         (bz14195): Add new testcase for two empty input strings and N > 0.
70438         (test_main): Call new testcase, adapt for renamed function.
70440 2012-08-15  Andreas Jaeger  <aj@suse.de>
70442         [BZ #14090]
70443         * crypt/md5test2.c: New test, based on test supplied by Serge
70444         Belyshev <belyshev@depni.sinp.msu.ru>.
70445         * crypt/Makefile (xtests): Add md5test-giant..
70446         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70448 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70450         [BZ #14090]
70451         * crypt/md5.c (md5_process_block): Don't assume the buffer
70452         length is less than 2**32.
70453         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70454         length is less than 2**64.
70456 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70458         * string/str-two-way.h: Include <sys/param.h>.
70459         (MAX): Macro removed.
70461         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70462         Move #define and #undef of memmove to just before and after
70463         including <string.h>.
70465         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70466         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70467         and after including <string.h>.  Move declarations of
70468         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70469         to before #include "string/memmove.c".
70471         * include/dirent.h: Declare __getdirentries.
70473         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70474         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70476 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70478         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70479         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70480         * sysdeps/i386/configure: Regenerated.
70481         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70482         STABS_CURRENT_FILE, and STABS_FUN.
70483         (END): Remove call to STABS_FUN_END.
70484         (STABS_CURRENT_FILE1): Delete.
70485         (STABS_CURRENT_FILE): Likewise.
70486         (STABS_FUN): Likewise.
70487         (STABS_FUN_END): Likewise.
70488         (STABS_FUN2): Likewise.
70489         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70490         * sysdeps/x86_64/configure: Regenerated.
70492 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70494         * elf/dl-open.c: Include <atomic.h>.
70495         * elf/dl-lookup.c: Likewise.
70497 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70499         * sysdeps/unix/sysv/linux/kernel-features.h
70500         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70501         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70502         unconditionally.
70503         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70504         unconditionally.
70505         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70506         condition on __ASSUME_CLONE_THREAD_FLAGS.
70508 2012-08-14  Andreas Jaeger  <aj@suse.de>
70510         * sysdeps/i386/fpu/libm-test-ulps: Update.
70512 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70514         * include/atomic.h (atomic_exchange_and_add): Split into ...
70515         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70516         New atomic macros.
70518 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70522 2012-08-13  Jeff Law <law@redhat.com>
70524         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70525         null byte in the output string.
70527 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70529         * sysdeps/unix/sysv/linux/kernel-features.h
70530         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70531         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70532         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70533         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70534         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70535         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70536         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70538 2012-08-09  Jeff Law <law@redhat.com>
70540         [BZ #13939]
70541         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70542         When avoid_arena is set, don't retry in the that arena.  Pick the
70543         next one, whatever it might be.
70544         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70545         (arena_lock): Pass in new parameter to arena_get2.
70546         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70547         arena_get2.
70548         (__libc_malloc): Unify retrying after main arena failure with
70549         __libc_memalign version.
70550         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70552 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70554         [BZ #14166]
70555         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70556         to __redirect_strstr.
70557         (__strstr_sse42): Use typeof __redirect_strstr.
70558         (__strstr_ia32): Likewise.
70559         (__libc_strstr): New prototype.
70560         (strstr): Renamed to ...
70561         (__libc_strstr): This.
70562         (strstr): New strong alias of __libc_strstr.
70563         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70564         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70565         __redirect_time.
70566         Include <time.h>.
70567         (__libc_time): New prototype.
70568         (time_ifunc): Replace time with __libc_time.
70569         (time): New strong alias and hidden definition of __libc_time.
70570         (__GI_time): Remove strong alias.
70571         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70572         Include <stddef.h>.
70573         (memmove): Redefined to __redirect_memmove.
70574         (__memmove_sse2): Use typeof __redirect_memmove.
70575         (__memmove_ssse3): Likewise.
70576         (__memmove_ssse3_back): Likewise.
70577         (__libc_memmove): New prototype.
70578         (memmove): Renamed to ...
70579         (__libc_memmove): This.
70580         (memmove): New strong alias of __libc_memmove.
70582 2012-08-08  Mark Salter  <msalter@redhat.com>
70584         * elf/elf.h
70585         (R_MN10300_TLS_GD): Define.
70586         (R_MN10300_TLS_LD): Likewise.
70587         (R_MN10300_TLS_LDO): Likewise.
70588         (R_MN10300_TLS_GOTIE): Likewise.
70589         (R_MN10300_TLS_IE): Likewise.
70590         (R_MN10300_TLS_LE): Likewise.
70591         (R_MN10300_TLS_DTPMOD): Likewise.
70592         (R_MN10300_TLS_DTPOFF): Likewise.
70593         (R_MN10300_TLS_TPOFF): Likewise.
70594         (R_MN10300_SYM_DIFF): Likewise.
70595         (R_MN10300_ALIGN): Likewise.
70596         (R_MN10300_NUM): Update.
70598 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70601         Remove.
70603 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70605         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70607         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70608         sysdeps/unix -> sysdeps/posix move.
70609         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70611 2012-08-07      Allan McRae     <allan@archlinux.org>
70613         [BZ #14303]
70614         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70615         (SUNOS_CPP): Likewise.
70616         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70617         not found.
70618         (open_input): Call CPP using execvp.
70620 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70622         * sysdeps/unix/sysv/linux/kernel-features.h
70623         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70624         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70625         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70626         (__ASSUME_WAITID_SYSCALL): Likewise.
70627         * sysdeps/unix/sysv/linux/dl-execstack.c
70628         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70629         code unconditional.
70630         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70631         conditional code.
70632         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70633         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70634         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70635         code.
70636         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70637         unconditional.
70638         [__ASSUME_WAITID_SYSCALL]: Likewise.
70639         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70641 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70643         * sysdeps/unix/closedir.c: Renamed to ...
70644         * sysdeps/posix/closedir.c: ... here.
70645         * sysdeps/unix/dirfd.c: Renamed to ...
70646         * sysdeps/posix/dirfd.c: ... here.
70647         * sysdeps/unix/dirstream.h: Renamed to ...
70648         * sysdeps/posix/dirstream.h: ... here.
70649         * sysdeps/unix/fdopendir.c: Renamed to ...
70650         * sysdeps/posix/fdopendir.c: ... here.
70651         * sysdeps/unix/opendir.c: Renamed to ...
70652         * sysdeps/posix/opendir.c: ... here.
70653         * sysdeps/unix/readdir.c: Renamed to ...
70654         * sysdeps/posix/readdir.c: ... here.
70655         * sysdeps/unix/readdir_r.c: Renamed to ...
70656         * sysdeps/posix/readdir_r.c: ... here.
70657         * sysdeps/unix/rewinddir.c: Renamed to ...
70658         * sysdeps/posix/rewinddir.c: ... here.
70659         * sysdeps/unix/seekdir.c: Renamed to ...
70660         * sysdeps/posix/seekdir.c: ... here.
70661         * sysdeps/unix/telldir.c: Renamed to ...
70662         * sysdeps/posix/telldir.c: ... here.
70663         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70664         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70665         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70666         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70668         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70669         * bits/fcntl.h: ... here.
70671         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70672         not 0.
70673         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70674         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70675         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70676         (struct flock): Move l_start, l_len to the beginning.
70677         Use __pid_t for l_pid.
70678         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70679         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70680         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70681         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70682         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70683         [__USE_LARGEFILE64] (struct flock64): New type.
70684         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70686         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70687         * bits/dirent.h: ... here.
70689         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70690         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70692 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70694         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70695         Change from 2.6.0 to 2.6.16.
70696         * sysdeps/unix/sysv/linux/configure: Regenerated.
70697         * sysdeps/unix/sysv/linux/kernel-features.h
70698         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70699         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70700         version.
70701         (__ASSUME_UTIMES): Likewise.
70702         (__ASSUME_CLONE_STOPPED): Remove.
70703         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70704         architectures, not kernel version.
70705         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70706         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70707         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70708         (__ASSUME_WAITID_SYSCALL): Likewise.
70709         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70710         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70711         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70712         refer to older versions.
70714 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70716         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70717         Define alphasort64 as an alias.
70718         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
70719         Define versionsort64 as an alias.
70720         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
70721         Define scandir64 as an alias.
70722         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
70723         Define scandirat64 as an alias.
70724         * dirent/alphasort64.c (alphasort64):
70725         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
70726         * dirent/versionsort64.c: Likewise.
70727         * dirent/scandir64.c: Likewise.
70728         * dirent/scandirat64.c: Likewise.
70729         * sysdeps/wordsize-64/alphasort.c: File removed.
70730         * sysdeps/wordsize-64/alphasort64.c: File removed.
70731         * sysdeps/wordsize-64/scandir.c: File removed.
70732         * sysdeps/wordsize-64/scandir64.c: File removed.
70733         * sysdeps/wordsize-64/scandirat.c: File removed.
70734         * sysdeps/wordsize-64/scandirat64.c: File removed.
70735         * sysdeps/wordsize-64/versionsort.c: File removed.
70736         * sysdeps/wordsize-64/versionsort64.c: File removed.
70737         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
70738         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
70739         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
70740         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
70741         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
70742         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
70743         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
70744         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
70746         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
70747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70748         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
70749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70750         [defined __arch64__ || defined __sparcv9]
70751         (__INO_T_MATCHES_INO64_T): New macro.
70752         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70753         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
70754         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
70755         * sysdeps/unix/sysv/linux/bits/dirent.h
70756         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
70757         (_DIRENT_MATCHES_DIRENT64): New macro.
70759         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
70760         Define lockf64 as an alias.
70761         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
70762         Define fseeko64 as an alias.
70763         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
70764         Define ftello64 as an alias.
70765         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
70766         Define _IO_fgetpos64 and fgetpos64 as aliases.
70767         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
70768         Define _IO_fsetpos64 and fsetpos64 as aliases.
70769         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
70770         Conditionalize body on this.
70771         * libio/fseeko64.c: Likewise.
70772         * libio/ftello64.c: Likewise.
70773         * libio/iofgetpos64.c: Likewise.
70774         * libio/iofsetpos64.c: Likewise.
70775         * sysdeps/wordsize-64/lockf.c: File removed.
70776         * sysdeps/wordsize-64/lockf64.c: File removed.
70777         * sysdeps/wordsize-64/fseeko.c: File removed.
70778         * sysdeps/wordsize-64/fseeko64.c: File removed.
70779         * sysdeps/wordsize-64/ftello.c: File removed.
70780         * sysdeps/wordsize-64/ftello64.c: File removed.
70781         * sysdeps/wordsize-64/iofgetpos.c: File removed.
70782         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
70783         * sysdeps/wordsize-64/iofsetpos.c: File removed.
70784         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
70785         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
70786         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
70787         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
70788         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
70789         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
70790         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
70791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
70792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
70793         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
70794         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
70796         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70797         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
70798         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
70799         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70800         [defined __arch64__ || defined __sparcv9]
70801         (__OFF_T_MATCHES_OFF64_T): New macro.
70802         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70803         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
70804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70805         (__OFF_T_MATCHES_OFF64_T): New macro.
70807 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70809         * stdlib/secure-getenv.c (__secure_getenv): Replace
70810         GLIBC_2_16 with GLIBC_2_17.
70812 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
70814         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
70815         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70817 2012-08-03  David S. Miller  <davem@davemloft.net>
70819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70821 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70823         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
70824         Remove.
70825         (__ASSUME_CORRECT_SI_PID): Likewise.
70826         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
70827         (__ASSUME_TMPFS_NAME): Likewise.
70828         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
70829         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
70830         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
70831         (HAVE_AUX_SECURE): Make definition unconditional.
70832         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
70833         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
70835 2012-08-03  Roland McGrath  <roland@hack.frob.com>
70837         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
70838         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
70839         * sysdeps/mach/hurd/eloop-threshold.h: New file.
70840         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
70841         __eloop_threshold instead of SYMLOOP_MAX.
70843         * sysdeps/generic/eloop-threshold.h: New file.
70844         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
70845         of MAXSYMLINKS.
70846         * elf/chroot_canon.c (chroot_canon): Likewise.
70848 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
70850         [BZ #13717]
70851         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70852         Change to 2.6.0 everywhere.
70853         * sysdeps/unix/sysv/linux/configure: Regenerated.
70854         * sysdeps/unix/sysv/linux/kernel-features.h
70855         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
70856         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
70857         kernel versions.
70858         (__ASSUME_POSIX_TIMERS): Define unconditionally.
70859         (__ASSUME_FUTEX_REQUEUE): Remove.
70860         (__ASSUME_STATFS64): Define unconditionally.
70861         (__ASSUME_AT_SECURE): Likewise.
70862         (__ASSUME_CORRECT_SI_PID): Likewise.
70863         (__ASSUME_TGKILL): Define without depending on kernel version for
70864         i386.
70865         (__ASSUME_UTIMES): Likewise.
70866         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
70867         kernel version.
70868         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
70869         (__ASSUME_TMPFS_NAME): Likewise.
70870         * README: Update reference to Linux kernel versions.
70872 2012-08-02  Marek Polacek  <polacek@redhat.com>
70874         [BZ# 14150]
70875         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
70876         libc_cv_asm_type_prefix with %.
70877         * configure: Regenerated.
70878         * include/libc-symbols.h: Remove comment about
70879         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70880         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
70881         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
70882         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
70883         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
70884         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
70885         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
70886         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
70887         * elf/tst-unique2mod1.c: Likewise.
70888         * elf/tst-unique1mod2.c: Likewise.
70889         * elf/tst-unique1mod1.c: Likewise.
70890         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
70891         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
70892         Replace ASM_TYPE_DIRECTIVE with .type.
70893         * sysdeps/s390/s390-64/sysdep.h: Likewise.
70894         * sysdeps/i386/sysdep.h: Likewise.
70895         * sysdeps/x86_64/sysdep.h: Likewise.
70896         * sysdeps/sh/sysdep.h: Likewise.
70897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
70898         Do not define ASM_TYPE_DIRECTIVE.
70899         * sysdeps/powerpc/sysdep.h: Likewise.
70900         * sysdeps/powerpc/powerpc32/sysdep.h:
70901         Replace ASM_TYPE_DIRECTIVE with .type.
70902         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
70903         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
70904         * sysdeps/i386/fpu/e_powf.S: Likewise.
70905         * sysdeps/i386/fpu/e_expl.S: Likewise.
70906         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70907         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70908         * sysdeps/i386/fpu/e_pow.S: Likewise.
70909         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70910         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70911         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70912         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70913         * sysdeps/i386/fpu/e_log2.S: Likewise.
70914         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70915         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70916         * sysdeps/i386/fpu/e_powl.S: Likewise.
70917         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70918         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70919         * sysdeps/i386/fpu/e_logl.S: Likewise.
70920         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70921         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70922         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70923         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70924         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70925         * sysdeps/i386/fpu/e_log.S: Likewise.
70926         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70927         * sysdeps/i386/fpu/e_logf.S: Likewise.
70928         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70929         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70930         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70931         * sysdeps/i386/fpu/e_log10.S: Likewise.
70932         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70933         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70934         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70935         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70936         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70937         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
70938         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70939         * sysdeps/i386/i686/strtok.S: Likewise.
70940         * sysdeps/i386/i386-mcount.S: Likewise.
70941         * sysdeps/i386/strtok.S: Likewise.
70942         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
70943         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70944         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70945         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70946         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70947         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70948         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70949         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70950         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70951         * sysdeps/x86_64/_mcount.S: Likewise.
70952         * sysdeps/x86_64/strtok.S: Likewise.
70953         * sysdeps/sh/_mcount.S: Likewise.
70955 2012-08-01  Roland McGrath  <roland@hack.frob.com>
70957         * libio/iofopen.c: Include <fcntl.h>.
70958         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
70959         (_IO_fopen64, fopen64): Define as aliases.
70960         * libio/iofopen64.c: Include <fcntl.h>.
70961         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
70962         Conditionalize body on this.
70963         * sysdeps/wordsize-64/iofopen.c: File removed.
70964         * sysdeps/wordsize-64/iofopen64.c: File removed.
70966 2012-08-01  Marek Polacek  <polacek@redhat.com>
70968         * libc/Makeconfig: Use elf in place of binfmt-subdir.
70969         Use dlfcn directly instead of a variable.
70970         (binfmt-subdir): Do not define.
70971         (dlfcn): Likewise.
70973 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
70975         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
70976         Remove all definitions.
70977         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
70978         <kernel-features.h>.
70979         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70980         (miss_F_GETOWN_EX): Remove all definitions.
70981         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
70982         macro definition.
70983         [!__ASSUME_FCNTL64]: Remove conditional code.
70984         [__ASSUME_FCNTL64]: Make code unconditional.
70985         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
70986         <kernel-features.h>.
70987         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
70988         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
70989         (lockf64) [__NR_fcntl64]: Make code unconditional.
70990         (lockf64) [__ASSUME_FCNTL64]: Likewise.
70992         * sysdeps/unix/sysv/linux/kernel-features.h
70993         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
70994         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
70995         Make code unconditional.
70996         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
70997         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
70998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
70999         [__NR_vfork]: Make code unconditional.
71000         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71001         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71003         [__NR_vfork]: Make code unconditional.
71004         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71005         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71007 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71009         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71010         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71012         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71013         Define mkstemp64 as an alias.
71014         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71015         Define mkstemps64 as an alias.
71016         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71017         Define mkostemp64 as an alias.
71018         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71019         Define mkostemps64 as an alias.
71020         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71021         Conditionalize body on this.
71022         * misc/mkostemp64.c: Likewise.
71023         * misc/mkostemps64.c: Likewise.
71024         * misc/mkstemps64.c: Likewise.
71025         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71026         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71027         * sysdeps/wordsize-64/mkostemp.c: File removed.
71028         * sysdeps/wordsize-64/mkstemp.c: File removed.
71029         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71030         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71031         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71032         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71034         [BZ #14138]
71035         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71036         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71037         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71038         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71040         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71041         compat_symbol macros from <shlib-compat.h> rather than the underlying
71042         default_symbol_version and symbol_version macros, so that DEFAULT
71043         lines in shlib-versions are respected.
71044         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71046 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71048         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71049         Declare with warn_unused_result.
71050         (setgid, setregid, setegid, setresgid): Likewise.
71051         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71052         Likewise.
71053         * WUR-REPORT: Remove set*id functions.
71055 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71057         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71059 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71061         [BZ #10191]
71062         * include/sys/socket.h (__libc_accept, __libc_accept4):
71063         Add attribute_hidden.
71064         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71066         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71067         use of PTR_MANGLE.
71068         * inet/getnetgrent_r.c (setup): Likewise.
71070         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71072 2012-07-31  David S. Miller  <davem@davemloft.net>
71074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71076 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71078         [BZ #13629]
71079         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71080         value between 1.0 and 2.0 and smaller part has absolute value less
71081         than 1.0.
71082         * math/s_clog10.c (__clog10): Likewise.
71083         * math/s_clog10f.c (__clog10f): Likewise.
71084         * math/s_clog10l.c (__clog10l): Likewise.
71085         * math/s_clogf.c (__clogf): Likewise.
71086         * math/s_clogl.c (__clogl): Likewise.
71087         * math/libm-test.inc (clog_test): Add more tests.
71088         (clog10_test): Likewise.
71089         * sysdeps/i386/fpu/libm-test-ulps: Update.
71090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71092 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71094         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71095         Exit with zero in case no suitable GID is found, and write a
71096         message to standard error.
71098 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71100         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71101         rather than to 1.
71102         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71103         (MAXPATHLEN): Removed.
71104         (NOGROUP, NODEV): New macros.
71105         (setbit, clrbit, isset, isclr): New macros.
71106         (howmany, roundup, powerof2): New macros.
71107         (DEV_BSIZE): New macro.
71109         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71110         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71112         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71113         definition on [!__NO_LONG_DOUBLE_MATH].
71115         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71116         PTR_MANGLE and PTR_DEMANGLE.
71118         * socket/accept4.c (accept4): Rename to __libc_accept4.
71119         Define accept4 as a weak alias.
71121         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71122         on [_DIRENT_HAVE_D_TYPE].
71123         * io/ftw.c (ftw_dir): Likewise.
71125         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71127         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71129         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71130         Use the BSD numbers rather than the arbitrary ones we had.
71131         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71132         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71133         (SIGXCPU, SIGXFSZ): New macros.
71134         (_NSIG): Now 32.
71136         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71137         initializer on [_LIBC_REENTRANT].
71139         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71140         definitions inside [_POSIX_MAPPED_FILES].
71142         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71144         * dirent/opendir.c: Include <fcntl.h>.
71146         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71147         (__libc_getspecific): Likewise.
71148         (__libc_key_create): Likewise.
71150         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71151         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71152         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71153         (tmpfile64): Define as alias.
71154         * sysdeps/wordsize-64/tmpfile.c: File removed.
71155         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71156         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71157         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71159         * stdio-common/vfscanf.c: Include <stdbool.h>.
71160         * nss/makedb.c: Likewise.
71161         * stdio-common/_i18n_number.h: Likewise.
71162         * argp/argp-help.c: Likewise.
71163         * posix/wordexp.c: Likewise.
71164         * sysdeps/posix/spawni.c: Likewise.
71165         * nss/nss_files/files-initgroups.c: Likewise.
71166         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71167         * nss/nss_files/files-initgroups.c: Likewise.
71168         * nss/nss_db/db-netgrp.c: Likewise.
71169         * nss/nss_db/db-initgroups.c: Likewise.
71170         * io/fchmodat.c: Include <sys/stat.h>.
71172         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71173         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71175         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71176         [HAVE_MMAP].
71178         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71179         Add multiple inclusion protection.
71181 2012-07-27  David S. Miller  <davem@davemloft.net>
71183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71185 2012-07-27  Gary Benson  <gbenson@redhat.com>
71187         [BZ #14298]
71188         * elf/rtld.c: Include <stap-probe.h>.
71189         (dl_main): Added static probes "init_start" and "init_complete".
71190         * elf/dl-load.c: Include <stap-probe.h>.
71191         (lose): Take new parameter "nsid".
71192         Added static probe "map_failed".
71193         (_dl_map_object_from_fd): Pass namespace id to lose.
71194         Added static probe "map_start".
71195         (open_verify): Pass namespace id to lose.
71196         * elf/dl-open.c: Include <stap-probe.h>.
71197         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71198         and "reloc_complete".
71199         * elf/dl-close.c: Include <stap-probe.h>.
71200         (_dl_close_worker): Added static probes "unmap_start" and
71201         "unmap_complete".
71202         * elf/rtld-debugger-interface.txt: New file documenting the above.
71204 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71206         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71207         rather than a string variable.
71208         * sunrpc/rpc_main.c (h_output): Likewise.
71209         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71211 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71213         * inet/check_native.c: New file.
71215 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71217         [BZ #13629]
71218         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71219         if larger part has absolute value 1.0.
71220         * math/s_clog10.c (__clog10): Likewise.
71221         * math/s_clog10f.c (__clog10f): Likewise.
71222         * math/s_clog10l.c (__clog10l): Likewise.
71223         * math/s_clogf.c (__clogf): Likewise.
71224         * math/s_clogl.c (__clogl): Likewise.
71225         * math/libm-test.inc (clog_test): Add more tests.
71226         (clog10_test): Likewise.
71227         * sysdeps/i386/fpu/libm-test-ulps: Update.
71228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71230         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71231         (pltexit): Likewise.
71232         (La_regs): Likewise.
71233         (La_retval): Likewise.
71234         (int_retval): Likewise.
71235         Update #error for removed macros to refer only to definitions in
71236         tst-audit.h.
71237         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71238         macro.
71239         (pltexit): Likewise.
71240         (La_regs): Likewise.
71241         (La_retval): Likewise.
71242         (int_retval): Likewise.
71243         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71244         macro.
71245         (pltexit): Likewise.
71246         (La_regs): Likewise.
71247         (La_retval): Likewise.
71248         (int_retval): Likewise.
71249         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71250         macro.
71251         (pltexit): Likewise.
71252         (La_regs): Likewise.
71253         (La_retval): Likewise.
71254         (int_retval): Likewise.
71255         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71256         macro.
71257         (pltexit): Likewise.
71258         (La_regs): Likewise.
71259         (La_retval): Likewise.
71260         (int_retval): Likewise.
71261         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71262         macro.
71263         (pltexit): Likewise.
71264         (La_regs): Likewise.
71265         (La_retval): Likewise.
71266         (int_retval): Likewise.
71267         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71268         macro.
71269         (pltexit): Likewise.
71270         (La_regs): Likewise.
71271         (La_retval): Likewise.
71272         (int_retval): Likewise.
71273         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71274         macro definitions in tst-audit.h.
71275         * sysdeps/i386/tst-audit.h: New file.
71276         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71277         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71278         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71279         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71280         * sysdeps/sh/tst-audit.h: Likewise.
71281         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71282         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71283         * sysdeps/x86_64/tst-audit.h: Likewise.
71285 2012-07-26  Andreas Jaeger  <aj@suse.de>
71287         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71288         ptrace.
71290         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71291         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71292         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71293         PTRACE_O_MASK.
71294         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71295         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71296         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71298         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71299         value.
71301         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71302         _sigsys.
71303         (si_call_addr, si_syscall, si_arch): Define new macro.
71304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71305         _sigsys.
71306         (si_call_addr, si_syscall, si_arch): Define new marcro.
71307         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71308         _sigsys.
71309         (si_call_addr, si_syscall, si_arch): Define new macro.
71310         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71311         _sigsys.
71312         (si_call_addr, si_syscall, si_arch): Define new macro.
71314 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71316         [BZ #13717]
71317         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71318         Change to 2.4.21 where previously 2.4.1.
71319         * sysdeps/unix/sysv/linux/configure: Regenerated.
71320         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71321         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71322         Linux kernel version.
71323         (__ASSUME_STD_AUXV): Remove.
71324         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71325         kernel version.
71326         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71327         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71328         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71329         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71330         (__ASSUME_NETLINK_SUPPORT): Likewise.
71331         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71332         (__no_netlink_support): Remove conditional definition.
71333         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71334         Remove.
71335         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71336         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71337         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71338         (if_nameindex_ioctl): Remove.
71339         (if_nameindex_netlink): Do not handle __no_netlink_support.
71340         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71341         code.
71342         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71343         Remove conditional code.
71344         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71345         code.
71346         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71347         unconditional.
71348         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71349         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71350         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71351         Remove.
71352         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71353         [!__ASSUME_STD_AUXV]: Remove conditional code.
71354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71355         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71356         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71358         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71359         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71360         code.
71361         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71363         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71364         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71365         conditional code.
71366         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71368         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71369         code.
71370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71371         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71372         conditional code.
71373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71374         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71375         code unconditional.
71376         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71377         conditional code.
71378         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71379         unconditional.
71380         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71381         conditional code.
71382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71383         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71384         unconditional.
71385         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71386         conditional code.
71387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71388         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71389         code unconditional.
71390         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71391         conditional code.
71392         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71393         unconditional.
71394         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71395         conditional code.
71396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71397         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71398         code unconditional.
71399         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71400         conditional code.
71401         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71402         unconditional.
71403         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71404         conditional code.
71406 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71408         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71409         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71410         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71411         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71412         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71413         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71414         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71415         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71416         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71417         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71418         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71419         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71420         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71421         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71422         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71423         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71424         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71425         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71426         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71428         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71429         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71432 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71434         * Versions.def: Add GLIBC_2.17.
71435         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71436         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71437         Introduce __libc_secure_getenv.
71438         * stdlib/Versions (2.17): Add secure_getenv
71439         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71440         * stdlib/secure-getenv.c: Rename __secure_getenv to
71441         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71442         symbol __secure_getenv for GLIBC_2.0.
71443         * stdlib/tst-secure-getenv.c: New.
71444         * stdlib/Makefile (tests): Add testcase.
71445         * manual/startup.texi (Environment Access): Document
71446         secure_getenv.
71447         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71448         __libc_secure_getenv.
71449         * inet/ruserpass.c (ruserpass): Likewise.
71450         * malloc/mtrace.c (mtrace): Likewise.
71451         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71452         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71453         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71454         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71455         HAVE_SECURE_GETENV.
71456         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71457         __secure_getenv to __libc_secure_getenv.
71458         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71460         Likewise.
71461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71462         Likewise.
71463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71465         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71471 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71473         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71474         (struct La_i86_retval): Likewise.
71475         (struct La_x86_64_regs): Likewise.
71476         (struct La_x86_64_retval): Likewise.
71477         (struct La_x32_regs): Likewise.
71478         (struct La_x32_retval): Likewise.
71479         (struct La_ppc32_regs): Likewise.
71480         (struct La_ppc32_retval): Likewise.
71481         (struct La_ppc64_regs): Likewise.
71482         (struct La_ppc64_retval): Likewise.
71483         (struct La_sh_regs): Likewise.
71484         (struct La_sh_retval): Likewise.
71485         (struct La_s390_32_regs): Likewise.
71486         (struct La_s390_32_retval): Likewise.
71487         (struct La_s390_64_regs): Likewise.
71488         (struct La_s390_64_retval): Likewise.
71489         (struct La_sparc32_regs): Likewise.
71490         (struct La_sparc32_retval): Likewise.
71491         (struct La_sparc64_regs): Likewise.
71492         (struct La_sparc64_retval): Likewise.
71493         (struct audit_ifaces): Remove architecture-specific pltenter and
71494         pltexit members.
71495         * sysdeps/i386/ldsodefs.h: New file.
71496         * sysdeps/powerpc/ldsodefs.h: Likewise.
71497         * sysdeps/s390/ldsodefs.h: Likewise.
71498         * sysdeps/sh/ldsodefs.h: Likewise.
71499         * sysdeps/sparc/ldsodefs.h: Likewise.
71500         * sysdeps/x86_64/ldsodefs.h: Likewise.
71502 2012-07-25  Marek Polacek  <polacek@redhat.com>
71504         [BZ #6808]
71505         * math/libm-test.inc (yn_test): Add another test.
71506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71507         to ERANGE when the result is +-Inf.
71508         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71509         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71510         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71511         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71513 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71515         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71516         equal to 0.
71517         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71518         clock_t.
71519         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71521 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71523         * configure.in <sysdeps resolving>: Correct printing
71524         Implies_before.
71525         * configure: Regenerate.
71527 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71529         * math/w_ilogb.c: Include <limits.h>.
71530         * math/w_ilogbl.c: Likewise.
71532 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71534         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71535         va_copy.  Document allowing for unavailable va_copy only as
71536         pre-C99 compatibility.
71537         * manual/string.texi (Copying and Concatenation): Use va_copy
71538         instead of __va_copy in concat example.
71540 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71542         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71543         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71544         it if not null.
71546         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71547         with O_NOLINK passed to __file_name_lookup.
71549         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71550         with O_NOLINK passed to __file_name_lookup.
71552         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71553         negative N or less than NGIDS.
71555         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71556         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71557         enough.  Use memcpy instead of strncpy.
71559 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71561         * elf/Makefile (check-data): Remove.
71562         (localplt.data): New vpath directive.
71563         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71564         instead of $(check-data).
71565         * scripts/data/localplt-generic.data: Move to ...
71566         * sysdeps/generic/localplt.data: ... here.
71567         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71568         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71569         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71571         ... here.
71572         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71574         ... here.
71575         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71577         ... here.
71578         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71580         ... here.
71581         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71583         ... here.
71584         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71586         ... here.
71588 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71590         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71591         PPC32 and PPC64 files.
71592         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71593         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71595 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71597         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71598         __makecontext_ret to ...
71599         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71600         ... here and call exit if uc_link is NULL.  New file.
71601         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71602         __makecontext_ret.S.
71603         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71604         __makecontext_ret to ...
71605         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71606         ... here and call exit if uc_link is NULL.  New file.
71607         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71608         __makecontext_ret.S.
71610 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71612         * elf/elf.h (R_390_IRELATIVE): New definition.
71613         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71614         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71615         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71617         (elf_machine_lazy_rel): Likewise.
71618         * sysdeps/s390/dl-irel.h: New file.
71619         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71620         * sysdeps/s390/s390-64/memset.S: New asm code.
71621         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71622         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71623         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71624         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71625         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71626         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71627         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71628         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71629         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71630         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71631         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71632         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71633         * sysdeps/s390/s390-32/memset.S: New asm code.
71634         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71636 2012-07-17  Marek Polacek  <polacek@redhat.com>
71638         [BZ #14349]
71639         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71640         * sysdeps/s390/s390-64/configure.in: Likewise.
71641         * sysdeps/sparc/configure.in: Likewise.
71642         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71643         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71644         * sysdeps/i386/configure.in: Likewise.
71645         * sysdeps/x86_64/configure.in: Likewise.
71646         * sysdeps/sh/configure.in: Likewise.
71647         * sysdeps/s390/s390-32/configure: Regenerated.
71648         * sysdeps/s390/s390-64/configure: Likewise.
71649         * sysdeps/x86_64/configure: Likewise.
71650         * sysdeps/sh/configure: Likewise.
71651         * sysdeps/powerpc/powerpc64/configure: Likewise.
71652         * sysdeps/powerpc/powerpc32/configure: Likewise.
71653         * sysdeps/sparc/configure: Likewise.
71654         * sysdeps/i386/configure: Likewise.
71656         * elf/dl-open.c: Comment fixes.
71658 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71660         * Makefile [CXX] (check-data): Remove.
71661         [CXX] (c++-types.data): New vpath directive.
71662         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71663         vpath.  Do not allow for C++ type data being missing.
71664         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71665         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71666         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71667         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71668         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71669         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71670         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71672         ... here.
71673         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71675         ... here.
71676         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71678         ... here.
71679         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71681         ... here.
71682         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71684         ... here.
71685         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71687         ... here.
71688         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71690         ... here.
71691         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71694         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71695         definitions to architecture-specific files.
71696         (TLS_IE): Likewise.
71697         (TLS_LD): Likewise.
71698         (TLS_GD): Likewise.
71699         * sysdeps/i386/tls-macros.h: New file.
71700         * sysdeps/powerpc/tls-macros.h: Likewise.
71701         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71702         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71703         * sysdeps/sh/tls-macros.h: Likewise.
71704         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71705         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71706         * sysdeps/x86_64/tls-macros.h: Likewise.
71708 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71710         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71711         zero value for regular exit case.
71713         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71714         (__start_context): Preserve zero value for regular exit case.
71716 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71717             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71719         * manual/setjmp.texi (setcontext): Clarify normal process
71720         termination when uc_link is the null pointer.
71721         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
71722         exit call.
71724 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
71726         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
71727         preprocessor.  Test for each exception mask separately.
71729 2012-07-16  Andreas Jaeger  <aj@suse.de>
71731         * po/ru.po: Update from translation team.
71733 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
71735         * conform/data/string.h-data (NULL): Use macro-constant.  Require
71736         equal to 0.
71737         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
71738         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
71739         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
71740         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
71741         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71743 2012-07-13  Andreas Jaeger  <aj@suse.de>
71745         * po/fr.po: Update from translation team.
71747 2012-07-12  Marek Polacek  <polacek@redhat.com>
71749         [BZ #14173]
71750         * math/libm-test.inc (yn_test): Add test for BZ #14173.
71751         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
71752         loop condition.
71754 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
71756         [BZ #13717]
71757         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71758         Change to 2.4.1 where previously 2.4.0.
71759         * sysdeps/unix/sysv/linux/configure: Regenerated.
71760         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
71761         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
71762         version.
71763         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
71764         (__ASSUME_AT_CLKTCK): Remove.
71765         (__ASSUME_AT_PAGESIZE): Likewise.
71766         (__ASSUME_AT_XID): Likewise.
71767         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
71768         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
71769         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
71770         unconditionally.
71771         (HAVE_AUX_PAGESIZE): Likewise.
71772         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
71773         [__ASSUME_AT_CLKTCK]: Make code unconditional.
71774         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
71776 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
71778         [BZ #14307]
71779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
71780         the temporary buffer used to invoke __gethostbyname2_r,
71781         __gethostbyaddr_r and gethostbyname4_r to make room for struct
71782         host_data / struct gaih_addrtuple.
71783         * resolv/nss_dns/dns-host.c (global scope): Move definition of
71784         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
71785         header file nss/nsswitch.h.
71786         * nss/nsswitch.h (global scope): Add definition of implementation
71787         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
71788         resolv/nss_dns/dns-host.c).
71790 2012-07-11  Andreas Jaeger  <aj@suse.de>
71792         * po/fr.po: Update from translation team.
71794         * po/sv.po: Update from translation team
71795         * po/fr.po: Another update from translation team.
71797 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71799         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
71800         for subnormals or multiply small sinh result by itself.
71801         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71804 2012-07-11  David S. Miller  <davem@davemloft.net>
71806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71808 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
71810         [BZ #14347]
71811         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
71812         (INTERNAL_MARK): Shift it here.
71814 2012-07-10  Marek Polacek  <polacek@redhat.com>
71816         [BZ #14151]
71817         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
71818         libc_cv_asm_global_directive with .globl.
71819         * configure: Regenerated.
71820         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
71821         with .globl.
71822         * sysdeps/i386/configure: Regenerated.
71823         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
71824         with .globl.
71825         * sysdeps/x86_64/configure: Regenerated.
71826         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
71827         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
71828         * elf/tst-unique2mod2.c: Likewise.
71829         * elf/tst-unique2mod1.c: Likewise.
71830         * elf/tst-unique1mod2.c: Likewise.
71831         * elf/tst-unique1mod1.c: Likewise.
71832         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71833         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71834         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71835         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71836         * sysdeps/mach/sysdep.h: Likewise.
71837         * sysdeps/i386/sysdep.h: Likewise.
71838         * sysdeps/i386/i386-mcount.S: Likewise.
71839         * sysdeps/x86_64/_mcount.S: Likewise.
71840         * sysdeps/x86_64/sysdep.h: Likewise.
71841         * sysdeps/sh/_mcount.S: Likewise.
71842         * sysdeps/sh/sysdep.h: Likewise.
71843         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
71844         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
71845         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
71846         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71847         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
71848         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
71849         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
71850         * locale/localeinfo.h: Likewise.
71851         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
71852         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
71854 2012-07-09  Roland McGrath  <roland@hack.frob.com>
71856         [BZ #14336]
71857         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
71858         system".
71859         * manual/message.texi (The Uniforum approach): Likewise.
71860         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
71861         (glibc iconv Implementation): Likewise.
71863 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
71865         [BZ #14337]
71866         * math/s_clog.c (__clog): Avoid scaling a value down where that
71867         could result in underflow.
71868         * math/s_clog10.c (__clog10): Likewise.
71869         * math/s_clog10f.c (__clog10f): Likewise.
71870         * math/s_clog10l.c (__clog10l): Likewise.
71871         * math/s_clogf.c (__clogf): Likewise.
71872         * math/s_clogl.c (__clogl): Likewise.
71873         * math/libm-test.inc (clog_test): Add more tests.
71874         (clog10_test): Likewise.
71875         * sysdeps/i386/fpu/libm-test-ulps: Update.
71876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71878 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
71880         [BZ #14283]
71881         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
71882         by 7 not 8 to examine high bit of fractional part.
71884         [BZ #14042]
71885         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
71886         for call to __mcount_internal.
71887         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
71888         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
71889         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
71891 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
71893         [BZ #14154]
71894         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
71895         approximation for values within 0x1p-13f of an odd multiple of
71896         pi/4.
71897         * math/libm-test.inc (tan_test): Do not allow spurious underflow
71898         exception.  Add more tests.
71899         * sysdeps/i386/fpu/libm-test-ulps: Update.
71901         [BZ #6778]
71902         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
71903         inputs and return -1 for them.  Do not check for +Inf in case not
71904         reachable for +Inf.
71905         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
71906         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
71907         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71908         and return -1 for them.  Do not check for +Inf in case not
71909         reachable for +Inf.
71910         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
71911         define.
71912         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
71913         and return -1 for them.  Do not check for +Inf in case not
71914         reachable for +Inf.
71915         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
71916         spurious underflow.
71917         * sysdeps/i386/fpu/libm-test-ulps: Update.
71918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71920 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
71922         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
71924 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
71926         [BZ #14157]
71927         [BZ #14331]
71928         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
71929         could result in spurious underflow.  Scale down values above
71930         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
71931         * math/s_csqrtf.c (__csqrtf): Likewise.
71932         * math/s_csqrtl.c (__csqrtl): Likewise.
71933         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
71934         spurious underflow.
71935         * sysdeps/i386/fpu/libm-test-ulps: Update.
71936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71938 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
71940         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
71941         xopen-msg.sed.
71942         * catgets/xopen-msg.awk: New file.
71943         * catgets/xopen-msg.sed: Removed.
71945         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
71946         po2text.sed.
71947         * intl/po2test.awk: New file.
71948         * intl/po2test.sed: Removed.
71950 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
71952         [BZ #14328]
71953         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
71954         or multiply small sinh result by itself.
71955         * math/s_ctanf.c (__ctanf): Likewise.
71956         * math/s_ctanh.c (__ctanh): Likewise.
71957         * math/s_ctanhf.c (__ctanhf): Likewise.
71958         * math/s_ctanhl.c (__ctanhl): Likewise.
71959         * math/s_ctanl.c (__ctanl): Likewise.
71960         * math/libm-test.inc (ctan_test_tonearest): New function.
71961         (ctan_test_towardzero): Likewise.
71962         (ctan_test_downward): Likewise.
71963         (ctan_test_upward): Likewise.
71964         (ctanh_test_tonearest): Likewise.
71965         (ctanh_test_towardzero): Likewise.
71966         (ctanh_test_downward): Likewise.
71967         (ctanh_test_upward): Likewise.
71968         (main): Call these new functions.
71969         * sysdeps/i386/fpu/libm-test-ulps: Update.
71970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71972 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
71974         * .gitignore: Delete /ports entry.
71976 2012-07-03  Andreas Jaeger  <aj@suse.de>
71978         * po/bg.po: Update from translation team.
71979         * po/cs.po: Likewise.
71980         * po/de.po: Likewise.
71981         * po/hr.po: Likewise.
71982         * po/nl.pl: Likewise.
71983         * po/pl.po: Likewise.
71984         * po/vi.po: Likewise.
71986 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
71988         * Makeconfig [!+link] (+link-before-libc): New variable.
71989         [!+link] (+link-after-libc): Likewise.
71990         [!+link] (+link-tests): Likewise.
71991         [!+link] (+link): Define in terms of $(+link-before-libc) and
71992         $(+link-after-libc).
71993         [!+link-static] (+link-static-before-libc): New variable.
71994         [!+link-static] (+link-static-after-libc): Likewise.
71995         [!+link-static] (+link-static-tests): Likewise.
71996         [!+link-static] (+link-static): Define in terms of
71997         $(+link-static-before-libc) and $(+link-static-after-libc).
71998         [build-shared] (link-libc-before-gnulib): New variable.
71999         [build-shared] (link-libc-tests): Likewise.
72000         [build-shared] (link-libc): Define in terms of
72001         $(link-libc-before-gnulib).
72002         [!build-shared] (link-libc-tests): New variable.
72003         (link-libc-static-tests): New variable.
72004         [!gnulib] (gnulib-arch): New variable.
72005         [!gnulib] (gnulib-tests): Likewise.
72006         [!gnulib] (static-gnulib-arch): Likewise.
72007         [!gnulib] (static-gnulib-tests): Likewise.
72008         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72009         Define with "=" instead of ":=".
72010         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72011         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72012         * Rules (binaries-all-notests): New variable.
72013         (binaries-all-tests): Likewise.
72014         (binaries-static-notests): Likewise.
72015         (binaries-static-tests): Likewise.
72016         (binaries-all): Define using $(binaries-all-notests) and
72017         $(binaries-all-tests).
72018         (binaries-static): Define using $(binaries-static-notests) and
72019         $(binaries-static-tests).
72020         (binaries-shared-tests): New variable.
72021         (binaries-shared-notests): Likewise.
72022         (binaries-shared): Remove variable.
72023         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72024         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72025         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72026         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72027         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72028         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72029         * elf/Makefile (sln-modules): New variable.
72030         (extra-objs): Add $(sln-modules:=.o).
72031         (ldconfig-modules): Add static-stubs.
72032         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72033         * elf/static-stubs.c: New file.
72035         [BZ #14283]
72036         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72037         by 7 not 8 to examine high bit of fractional part.  Use volatile
72038         variables when splitting into final array of floats if
72039         __FLT_EVAL_METHOD__ != 0.
72040         * math/libm-test.inc (cos_test): Add another test.
72041         (sin_test): Likewise.
72042         * sysdeps/i386/fpu/libm-test-ulps: Update.
72044         [BZ #14273]
72045         * math/libm-test.inc (cosh_test): Add more tests.
72047         * version.h (RELEASE): Set to "development".
72048         (VERSION): Set to "2.16.90".
72050 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72052         * NEWS: Update copyright. Remove last-updated date.
72053         Mention math library bug fixes and timezone data changes.
72054         * README: Mention GNU/Hurd, x32, and HPPA support status.
72056 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72058         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72060 2012-06-27  Andreas Jaeger  <aj@suse.de>
72062         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72064 2012-06-25  Andreas Jaeger  <aj@suse.de>
72066         * sysdeps/s390/fpu/libm-test-ulps: Update.
72068 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72069             Thomas Schwinge  <thomas@codesourcery.com>
72071         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72072         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72074         fanotify_mark.
72076 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72078         * sysdeps/mach/start.c: Remove file.
72079         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72080         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72081         * sysdeps/sh/init-first.c: Likewise.
72083         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72084         registers for frame unwinding purposes, add CFI directives.
72085         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72086         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72087         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72088         Likewise.
72090         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72091         __fortify_fail returning.
72092         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72094         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72095         sysdeps/sh/____longjmp_chk.S.
72096         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72097         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72098         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72099         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72101         * sysdeps/sh/abort-instr.h: New file.
72102         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72103         process in case exit returns.
72105         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72106         initialize the GOT register before use.
72108         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72109         calculation of ARGC > 4.
72111         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72112         meaningful names to some local labels.
72114 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72115             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72117         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72118         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72119         (__arch_compare_and_exchange_val_16_acq): Likewise.
72120         (__arch_compare_and_exchange_val_32_acq): Likewise.
72121         (atomic_exchange_and_add): Fix gUSA sequence.
72122         (atomic_add): Likewise.
72123         (atomic_add_negative): Likewise.
72124         (atomic_add_zero): Likewise.
72125         (atomic_bit_test_set): Likewise.
72127 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72129         [BZ #13579]
72130         * include/link.h (struct link_map): Add l_free_initfini.
72131         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72132         l_initfini.
72133         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72134         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72135         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72136         set.
72138 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72140         * configure.in: Use AC_LANG_SOURCE.
72141         * configure: Regenerate.
72143 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72145         * configure.in (libc_cv_localstatedir): New substituted variable.
72146         * configure: Regenerated.
72147         * config.make.in (localstatedir): New variable, substituted from
72148         libc_cv_localstatedir.
72149         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72150         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72151         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72152         * sysdeps/gnu/configure: Regenerated.
72154 2012-06-21  Jeff Law  <law@redhat.com>
72156         [BZ #14277]
72157         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72158         free.  Simplify list management for _LIBC case.
72160 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72162         [BZ #14273]
72163         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72164         Clear sign bit of 64-bit integer value before comparing against
72165         overflow value.
72167         * sysdeps/mach/configure: Regenerated.
72169 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72171         [BZ #14278]
72172         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72174 2012-06-21  Jeff Law  <law@redhat.com>
72176         [BZ #13882]
72177         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72178         uint16_t for elements in the "seen" array to avoid char overflows.
72179         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72180         * elf/dl-open.c (dl_open_worker): Likewise.
72182 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72184         * scripts/list-sources.sh: Scan PORTS for translations.
72185         * po/libc.pot: Regenerated.
72187 2012-06-21  Andreas Jaeger  <aj@suse.de>
72189         [BZ #12194]
72190         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72191         warning.
72192         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72193         * bits/byteswap-16.h (__bswap_16): Likewise.
72194         * bits/byteswap.h (__bswap_constant_16): Likewise.
72196 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72198         [BZ #14117]
72199         * sysdeps/i386/fpu_control.h: Removed.
72200         * sysdeps/x86_64/fpu_control.h: Moved to ...
72201         * sysdeps/x86/fpu_control.h: Here.
72203         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72204         (_FPU_SETCW): Likewise.
72206 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72208         [BZ #14117]
72209         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72210         * sysdeps/x86/fpu/bits/mathinline.h: This.
72211         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72213         [BZ #14050]
72214         [BZ #14117]
72215         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72216         functions if __x86_64__ is defined.
72218 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72220         * string/endian.h: Add !__ASSEMBLER__ condition for including
72221         conversion interfaces.
72223 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72225         [BZ #14241]
72226         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72227         of ABS(x) in calculating zero to negative powers other than odd
72228         integers.
72229         * math/libm-test.inc (pow_test): Add more tests.
72231 2012-06-15  Andreas Jaeger  <aj@suse.de>
72233         * manual/contrib.texi (Contributors): Update entry of Liubov
72234         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72235         Machado Filho.
72237 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72239         * string/string.h: Add __wur to GNU version of strerror_r.
72241 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72243         [BZ #14229]
72244         * string/Makefile (tests): Add tst-strtok_r.
72245         * string/tst-strtok_r.c: New file.
72246         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72247         RAX_LP/RDX_LP on SAVE_PTR.
72249 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72251         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72253 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72255         * libm_test.inc (csqrt_test): Allow more spurious underflow
72256         exceptions.
72257         (j0_test): Likewise.
72258         (j1_test): Likewise.
72259         (y0_test): Likewise.
72260         (y1_test): Likewise.
72262 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72264         * po/Makefile (libc.pot): Use UTF-8 charset.
72266 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72268         [BZ #14210]
72269         Suppress sign-conversion warning from FD_SET.
72270         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72271         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72272         not unsigned long int.
72273         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72275 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72277         [BZ #14050]
72278         [BZ #14117]
72279         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72280         __extern_always_inline instead of __extern_inline.
72281         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72282         (__signbit): Likewise.
72283         (__signbitl): Support C++ namespace.
72284         (lrintf): New inline function.
72285         (lrint): Likewise.
72286         (llrintf): Likewise.
72287         (llrint): Likewise.
72288         (fmaxf): Likewise.
72289         (fmax): Likewise.
72290         (fminf): Likewise.
72291         (fmin): Likewise.
72292         (rint): Likewise.
72293         (rintf): Likewise.
72294         (ceil): Likewise.
72295         (ceilf): Likewise.
72296         (floor): Likewise.
72297         (floorf): Likewise.
72298         (nearbyint): Likewise.
72299         (nearbyintf): Likewise.
72301 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72303         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72304         non-default versions.
72306 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72308         [BZ #14218]
72309         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72311 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72313         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72314         (FE_UPWARD, FE_DOWNWARD): Don't define.
72315         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72316         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72318         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72319         reading it.
72320         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72321         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72323 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72325         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72326         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72327         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72328         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72330 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72332         [BZ #14117]
72333         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72334         * sysdeps/i386/fpu/Implies: New file.
72335         * sysdeps/x86_64/fpu/Implies: Likewise.
72336         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72337         * sysdeps/x86/fpu/bits/fenv.h: This.
72339         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72340         __SSE_MATH__.
72342 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72344         [BZ #14134]
72345         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72346         character 0xffff that matches the last element of the
72347         conversion table.
72349 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72351         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72352         fmodl commit.
72354 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72356         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72357         values higher than 25.6283.
72359 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72362         subnormal exponent extraction and add some __builtin_expect.
72363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72364         Fix for subnormal mantissa calculation.
72366 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72368         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72369         cpu2 is -1 and errno is not ENOSYS.
72371 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72373         [BZ #14117]
72374         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72375         * sysdeps/x86/bits/string.h: This.
72376         * sysdeps/x86_64/bits/string.h: Removed.
72378         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72379         if not compiling for x86-64, but compiling for >= i486.
72381         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72382         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72384         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72385         New macro from Linux kernel 3.4.0.
72386         (FP_XSTATE_MAGIC2): Likewise.
72387         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72388         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72389         (struct _fpx_sw_bytes): New struct.
72390         (struct _xsave_hdr): Likewise.
72391         (struct _ymmh_state): Likewise.
72392         (struct _xstate): Likewise.
72394         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72395         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72396         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72397         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72398         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72399         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72401         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72402         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72403         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72404         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72405         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72406         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72408 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72410         [BZ #13743]
72411         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72412         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72413         (sysdep_headers): Include sys/platform/ppc.h.
72414         * sysdeps/powerpc/test-gettimebase.c: Test for
72415         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72416         * manual/Makefile (appendices): Include platform.texi.
72417         * manual/contrib.texi (Contributors): Update @node pointers.
72418         * manual/maint.texi (Maintenance): Likewise.
72419         (Platform): New node.
72420         * manual/platform.texi: New file.  Document the new features.
72422 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72423             Jakub Jelinek  <jakub@redhat.com>
72425         [BZ #14188]
72426         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72427         where __builtin_expect is unavailable.
72429 2012-06-03  David S. Miller  <davem@davemloft.net>
72431         * stdlib/longlong.h: Updated from GCC.
72433 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72435         [BZ #14042]
72436         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72437         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72438         __mcount_internal.
72439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72440         (GLIBC_2.16): Likewise.
72442 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72444         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72446 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72449         (default-abi): New variable.
72450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72451         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72452         variable.
72453         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72454         Likewise.
72455         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72456         Likewise.
72457         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72458         Likewise.
72460         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72461         definition.  Document in comment.
72463 2012-06-01  David S. Miller  <davem@davemloft.net>
72465         * stdlib/longlong.h: Updated from GCC.
72467 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72469         [BZ #14117]
72470         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72471         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72472         sys/debugreg.h sys/io.h here.
72473         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72474         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72475         sys/io.h.
72476         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72477         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72478         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72479         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72480         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72481         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72483         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72484         Define only if __x86_64__ is defined.
72486 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72488         [BZ #14048]
72489         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72490         Use int64_t for variable i.
72491         * math/libm-test.inc (fmod_test): Add more tests.
72493         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72494         z computation is not scheduled after fetestexcept.
72495         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72496         Use math_force_eval instead of asm to ensure calculation scheduled
72497         before exception test.
72498         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72499         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72501 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72504         computation is not scheduled after fetestexcept.
72506 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72508         [BZ #14117]
72509         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72510         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72512 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72514         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72515         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72517 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72519         [BZ #14117]
72520         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72521         <bits/wordsize.h>.
72522         (__WCHAR_MIN): Support __WORDSIZE == 64.
72523         (__WCHAR_MAX): Likewise.
72525         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72526         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72528         [BZ #14183]
72529         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72530         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72532         [BZ #14117]
72533         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72534         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72536         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72537         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72539         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72540         Defined to 1 if __x86_64__ isn't defined.
72541         (_STAT_VER_LINUX_OLD): New.
72542         (st_atime): Remove duplicate.
72543         (st_mtime): Likewise.
72544         (st_ctime): Likewise.
72546 2012-05-31  David S. Miller  <davem@davemloft.net>
72548         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72549         entries.
72551 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72553         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72554         gen-libm-test.pl.
72556         [BZ #14132]
72557         * elf/dl-reloc.c: Include <_itoa.h>.
72558         (_dl_reloc_bad_type): Remove use of INTUSE.
72559         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72560         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72561         * stdio-common/psiginfo.c (psiginfo): Likewise.
72562         * stdio-common/psignal.c (psignal): Likewise.
72563         * string/strsignal.c (strsignal): Likewise.
72564         * include/signal.h (_sys_siglist): Declare hidden proto.
72565         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72566         INTVARDEF with libc_hidden_data_def.
72567         * stdio-common/itoa-udigits.c: Likewise.
72568         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72569         (_itoa_lower_digits_internal): Remove declaration.
72570         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72571         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72572         (_sys_sigabbrev_internal): Remove aliases.
72573         (_sys_siglist): Define hidden alias.
72575 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72577         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72578         bits/sysctl.h.
72580 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72582         [BZ #14117]
72583         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72584         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72586         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72587         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72588         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72589         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72590         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72591         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72593         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72594         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72595         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72597         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72598         with __addr.
72599         (insw): Likewise.
72600         (insl): Likewise.
72601         (outsb): Likewise.
72602         (outsw): Likewise.
72603         (outsl): Likewise.
72605         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72606         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72607         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72609         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72610         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72611         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72612         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72613         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72614         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72616         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72617         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72619         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72620         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72622         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72623         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72624         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72626         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72627         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72628         to ...
72629         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72631         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72632         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72633         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72635         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72636         for x86-64.
72637         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72639 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72641         * math/math.h (M_El): Use two more decimal places.
72642         (M_LOG2El): Likewise.
72643         (M_LOG10El): Likewise.
72644         (M_LN2l): Likewise.
72645         (M_LN10l): Likewise.
72646         (M_PIl): Likewise.
72647         (M_PI_2l): Likewise.
72648         (M_PI_4l): Likewise.
72649         (M_1_PIl): Likewise.
72650         (M_2_PIl): Likewise.
72651         (M_2_SQRTPIl): Likewise.
72652         (M_SQRT2l): Likewise.
72653         (M_SQRT1_2l): Likewise.
72655 2012-05-31  David S. Miller  <davem@davemloft.net>
72657         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72658         values between float registers.
72659         * sysdeps/sparc/sparc64/memset.S: Likewise.
72660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72662 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72664         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72665         -D_FORTIFY_SOURCE=1.
72666         (CPPFLAGS-tst-longjmp_chk.c): Define.
72667         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72668         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72669         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72670         CFLAGS-tst-wchar-h.c.
72672 2012-05-31  Marek Polacek  <polacek@redhat.com>
72674         [BZ #14132]
72675         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72676         __endmntent_internal): Remove declaration.
72677         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72678         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72679         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72681 2012-05-30  David S. Miller  <davem@davemloft.net>
72683         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72684         (___Q_simulate_exceptions): Use real FP ops rather than writing
72685         into the %fsr.
72686         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72687         Likewise.
72689 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72691         [BZ #14117]
72692         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72693         * sysdeps/x86/bits/xtitypes.h: This.
72695         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72696         * sysdeps/x86/bits/wordsize.h: This.
72698         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72699         * sysdeps/x86/bits/huge_vall.h: This.
72701         * sysdeps/i386/bits/select.h: Removed.
72702         * sysdeps/x86_64/bits/select.h: Renamed to ...
72703         * sysdeps/x86/bits/select.h: This.
72705         * sysdeps/i386/bits/setjmp.h: Removed.
72706         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72707         * sysdeps/x86/bits/setjmp.h: This.
72709         * sysdeps/i386/bits/mathdef.h: Removed.
72710         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72711         * sysdeps/x86/bits/mathdef.h: This.
72713 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72715         [BZ #14132]
72716         * include/sys/socket.h (__connect_internal)
72717         (__libc_sa_len_internal): Remove declaration.
72718         (__connect, __libc_sa_len): Declare hidden_proto.
72719         (SA_LEN): Remove use of INTUSE.
72720         * socket/connect.c: Add libc_hidden_def.
72721         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
72722         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
72723         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
72724         alias.
72725         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
72726         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
72727         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
72728         of adding _internal alias.
72730 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72732         [BZ #14117]
72733         * sysdeps/i386/bits/link.h: Removed.
72734         * sysdeps/i386/bits/linkmap.h: Likewise.
72735         * sysdeps/x86_64/bits/link.h: Renamed to ...
72736         * sysdeps/x86/bits/link.h: This.
72737         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
72738         * sysdeps/x86/bits/linkmap.h: This.
72740         * sysdeps/i386/bits/endian.h: Removed.
72741         * sysdeps/x86_64/bits/endian.h: Renamed to ...
72742         * sysdeps/x86/bits/endian.h: This.
72744         * sysdeps/i386/bits/byteswap.h: Removed.
72745         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72746         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
72747         * sysdeps/x86/bits/byteswap.h: This.
72748         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
72749         * sysdeps/x86/bits/byteswap-16.h: This.
72750         * sysdeps/i386/Implies: Add x86.
72751         * sysdeps/x86_64/Implies: Likewise.
72753 2012-05-30  David S. Miller  <davem@davemloft.net>
72755         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
72756         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
72757         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
72758         (FP_TRAPPING_EXCEPTIONS): Define.
72759         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
72760         (FP_TRAPPING_EXCEPTIONS): Define.
72761         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
72762         subnormals only when inexact has been signalled or underflow
72763         exceptions are enabled.
72764         (_FP_PACK_CANONICAL): Likewise.
72766 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72768         [BZ #14183]
72769         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
72770         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
72772 2012-05-30  Richard Henderson  <rth@twiddle.net>
72774         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
72775         with #ifndef NOT_IN_libc.
72777         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
72778         marked to avoid plt entry.
72780 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72782         [BZ #14112]
72783         * Makeconfig (default-abi): New macro.
72784         (abi-includes): Likewise.
72785         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
72786         $(abi-$(default-abi)-lib-soname) for soname if defined.
72787         ($(common-objpfx)gnu/lib-names.stmp): Generate from
72788         abi-variants.
72789         * Makefile (installed-stubs): Likewise.
72790         * include/stubs-biarch.h: Removed.
72791         * scripts/lib-names.awk: Only handle one library at a time.
72792         * scripts/soversions.awk: Remove WORDSIZE support.
72793         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
72794         entries.
72795         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
72796         Removed.
72797         (syscall-list-default-condition): Likewise.
72798         (syscall-list-default-condition): Likewise.
72799         (syscall-list-includes): Likewise.
72800         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
72801         syscall-list-* with abi-*.  Handle undefined abi-variants.
72802         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
72803         * sysdeps/unix/sysv/linux/i386/Implies: New file.
72804         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
72805         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
72806         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
72807         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72808         Removed.
72809         (syscall-list-32-options): Likewise.
72810         (syscall-list-32-condition): Likewise.
72811         (syscall-list-64-options): Likewise.
72812         (syscall-list-64-condition): Likewise.
72813         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
72814         macro.
72815         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
72816         Renamed to ...
72817         (abi-*): This.
72818         (abi-64-ld-soname): New macro.
72819         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
72820         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
72821         Renamed to ...
72822         (abi-*): This.
72823         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
72824         * sysdeps/x86_64/x32/shlib-versions: Likewise.
72826 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
72828         * sysdeps/unix/sysv/linux/kernel-features.h
72829         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
72830         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
72831         include <kernel-features.h>.
72832         [!__NR_ftruncate64]: Remove conditional code.
72833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72834         [__NR_ftruncate64]: Make code unconditional.
72835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72836         * sysdeps/unix/sysv/linux/truncate64.c: Do not
72837         include <kernel-features.h>.
72838         [!__NR_ftruncate64]: Remove conditional code.
72839         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72840         [__NR_ftruncate64]: Make code unconditional.
72841         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
72843         include <kernel-features.h>.
72844         [!__NR_ftruncate64]: Remove conditional code.
72845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72846         [__NR_ftruncate64]: Make code unconditional.
72847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
72849         include <kernel-features.h>.
72850         [!__NR_ftruncate64]: Remove conditional code.
72851         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72852         [__NR_ftruncate64]: Make code unconditional.
72853         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
72855         * configure.in (libc_cv_fpie): Weaken to a compile test using
72856         LIBC_TRY_CC_OPTION.
72857         * configure: Regenerated.
72859 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
72862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
72863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
72864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
72865         Refreshed.
72866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
72867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
72868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
72869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
72870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
72871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
72872         Refreshed.
72874 2012-05-27  David S. Miller  <davem@davemloft.net>
72876         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
72877         (___Q_zero): New.
72878         (__Q_simulate_exceptions): Return void.  Change to simulate
72879         exceptions by writing into the %fsr.
72880         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
72881         (__Qp_handle_exceptions): Likewise.
72882         (numbers): Delete.
72883         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
72884         __Qp_handle_exceptions.
72885         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
72886         __Qp_handle_exceptions.
72887         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72888         as unused and give dummy FP_RND_NEAREST initializer.
72889         (FP_INHIBIT_RESULTS): Define.
72890         (___Q_simulate_exceptions): Update declaration.
72891         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
72892         formatting.
72893         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
72894         as unused and give dummy FP_RND_NEAREST initializer.
72895         (__Qp_handle_exceptions): Update declaration.
72896         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
72897         formatting.
72899 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
72901         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
72902         the temporary FPU control word.
72903         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
72904         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
72905         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
72906         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72907         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
72908         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
72909         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
72910         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72911         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72912         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
72913         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72915 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72917         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
72918         fields.
72920 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
72922         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
72923         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
72924         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
72925         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
72926         Likewise.
72927         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
72928         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
72929         Likewise.
72931 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
72933         * po/h.po: Update from translation team.
72935 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
72937         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
72939         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
72940         handling of denormals.
72941         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72942         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
72943         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72944         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
72947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
72948         Likewise.
72950 2012-05-26  Marek Polacek  <polacek@redhat.com>
72952         [BZ #14152]
72953         * math/libm-test.inc (fma_test): Don't always expect underflow
72954         exception.
72956 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
72958         [BZ #12416]
72959         * elf/tst-execstack.c: Include stackinfo.h.
72960         (do_test): Adjust test case to ensure that pthread_getattr_np
72961         behaviour remains the same after marking stack executable.
72963 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
72965         * sysdeps/unix/sysv/linux/kernel-features.h
72966         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
72967         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
72968         kernel-features.h.
72969         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72970         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72971         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
72972         kernel-features.h.
72973         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72974         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
72976 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
72978         * configure.in: Define the default includes to being none.
72979         * configure: Regenerated.
72981 2012-05-25  Roland McGrath  <roland@hack.frob.com>
72983         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
72984         * sysdeps/x86_64/setjmp.S: Likewise.
72985         * sysdeps/i386/bsd-setjmp.S: Likewise.
72986         * sysdeps/i386/bsd-_setjmp.S: Likewise.
72987         * sysdeps/i386/setjmp.S: Likewise.
72988         * sysdeps/i386/__longjmp.S: Likewise.
72989         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
72990         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
72992         * include/stap-probe.h: New file.
72993         * configure.in: Handle --enable-systemtap.
72994         * configure: Regenerated.
72995         * config.h.in (USE_STAP_PROBE): New #undef.
72996         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
72997         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
72998         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73000 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73002         [BZ #13717]
73003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73004         to 2.4.0 where earlier.
73005         * sysdeps/unix/sysv/linux/configure: Regenerated.
73006         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73007         <kernel-features.h>.
73008         [__ASSUME_32BITUIDS]: Make code unconditional.
73009         [!__ASSUME_32BITUIDS]: Remove conditional code.
73010         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73011         <kernel-features.h>.
73012         [__ASSUME_32BITUIDS]: Make code unconditional.
73013         [!__ASSUME_32BITUIDS]: Remove conditional code.
73014         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73015         [__ASSUME_32BITUIDS]: Make code unconditional.
73016         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73017         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73018         <kernel-features.h>.
73019         [__ASSUME_32BITUIDS]: Make code unconditional.
73020         [!__ASSUME_32BITUIDS]: Remove conditional code.
73021         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73022         <kernel-features.h>.
73023         [__ASSUME_32BITUIDS]: Make code unconditional.
73024         [!__ASSUME_32BITUIDS]: Remove conditional code.
73025         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73026         <kernel-features.h>.
73027         [__ASSUME_32BITUIDS]: Make code unconditional.
73028         [!__ASSUME_32BITUIDS]: Remove conditional code.
73029         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73030         <kernel-features.h>.
73031         [__ASSUME_32BITUIDS]: Make code unconditional.
73032         [!__ASSUME_32BITUIDS]: Remove conditional code.
73033         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73034         <kernel-features.h>.
73035         [__ASSUME_32BITUIDS]: Make code unconditional.
73036         [!__ASSUME_32BITUIDS]: Remove conditional code.
73037         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73038         <kernel-features.h>.
73039         [__ASSUME_32BITUIDS]: Make code unconditional.
73040         [!__ASSUME_32BITUIDS]: Remove conditional code.
73041         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73042         <kernel-features.h>.
73043         [__ASSUME_32BITUIDS]: Make code unconditional.
73044         [!__ASSUME_32BITUIDS]: Remove conditional code.
73045         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73046         <kernel-features.h>.
73047         [__ASSUME_32BITUIDS]: Make code unconditional.
73048         [!__ASSUME_32BITUIDS]: Remove conditional code.
73049         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73050         <kernel-features.h>.
73051         [__ASSUME_32BITUIDS]: Make code unconditional.
73052         [!__ASSUME_32BITUIDS]: Remove conditional code.
73053         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73054         <kernel-features.h>.
73055         [__ASSUME_32BITUIDS]: Make code unconditional.
73056         [!__ASSUME_32BITUIDS]: Remove conditional code.
73057         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73058         <kernel-features.h>.
73059         [__NR_setresgid] (__setresgid): Do not declare.
73060         [__ASSUME_32BITUIDS]: Make code unconditional.
73061         [!__ASSUME_32BITUIDS]: Remove conditional code.
73062         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73063         <kernel-features.h>.
73064         [__NR_setresuid] (__setresuid): Do not declare.
73065         [__ASSUME_32BITUIDS]: Make code unconditional.
73066         [!__ASSUME_32BITUIDS]: Remove conditional code.
73067         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73068         <kernel-features.h>.
73069         [__ASSUME_32BITUIDS]: Make code unconditional.
73070         [!__ASSUME_32BITUIDS]: Remove conditional code.
73071         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73072         <kernel-features.h>.
73073         [__ASSUME_32BITUIDS]: Make code unconditional.
73074         [!__ASSUME_32BITUIDS]: Remove conditional code.
73075         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73076         <kernel-features.h>.
73077         [__ASSUME_32BITUIDS]: Make code unconditional.
73078         [!__ASSUME_32BITUIDS]: Remove conditional code.
73079         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73080         <kernel-features.h>.
73081         [__ASSUME_32BITUIDS]: Make code unconditional.
73082         [!__ASSUME_32BITUIDS]: Remove conditional code.
73083         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73084         <kernel-features.h>.
73085         [__ASSUME_32BITUIDS]: Make code unconditional.
73086         [!__ASSUME_32BITUIDS]: Remove conditional code.
73087         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73088         <kernel-features.h>.
73089         [__ASSUME_32BITUIDS]: Make code unconditional.
73090         [!__ASSUME_32BITUIDS]: Remove conditional code.
73091         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73092         <kernel-features.h>.
73093         [__ASSUME_32BITUIDS]: Make code unconditional.
73094         [!__ASSUME_32BITUIDS]: Remove conditional code.
73095         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73096         <kernel-features.h>.
73097         [__ASSUME_32BITUIDS]: Make code unconditional.
73098         [!__ASSUME_32BITUIDS]: Remove conditional code.
73099         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73100         <kernel-features.h>.
73101         [__ASSUME_32BITUIDS]: Make code unconditional.
73102         [!__ASSUME_32BITUIDS]: Remove conditional code.
73103         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73104         <kernel-features.h>.
73105         [__ASSUME_32BITUIDS]: Make code unconditional.
73106         [!__ASSUME_32BITUIDS]: Remove conditional code.
73107         * sysdeps/unix/sysv/linux/kernel-features.h
73108         (__ASSUME_SETRESUID_SYSCALL): Remove.
73109         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73110         (__ASSUME_32BITUIDS): Likewise.
73111         (__ASSUME_LDT_WORKS): Likewise.
73112         (__ASSUME_O_DIRECTORY): Likewise.
73113         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73114         architecture but not kernel version.
73115         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73116         (__ASSUME_MMAP2_SYSCALL): Likewise.
73117         (__ASSUME_STAT64_SYSCALL): Likewise.
73118         (__ASSUME_IPC64): Likewise.
73119         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73120         <kernel-features.h>.
73121         [__ASSUME_32BITUIDS]: Make code unconditional.
73122         [!__ASSUME_32BITUIDS]: Remove conditional code.
73123         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73124         <kernel-features.h>.
73125         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73126         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73127         132096]: Remove conditional code.
73128         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73129         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73130         <kernel-features.h>.
73131         [__ASSUME_32BITUIDS]: Make code unconditional.
73132         [!__ASSUME_32BITUIDS]: Remove conditional code.
73133         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73134         <kernel-features.h>.
73135         [__ASSUME_32BITUIDS]: Make code unconditional.
73136         [!__ASSUME_32BITUIDS]: Remove conditional code.
73137         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73138         <kernel-features.h>.
73139         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73140         unconditional.
73141         (__setresgid): Do not declare.
73142         [__ASSUME_32BITUIDS]: Make code unconditional.
73143         [!__ASSUME_32BITUIDS]: Remove conditional code.
73144         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73145         <kernel-features.h>.
73146         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73147         unconditional.
73148         (__setresuid): Do not declare.
73149         [__ASSUME_32BITUIDS]: Make code unconditional.
73150         [!__ASSUME_32BITUIDS]: Remove conditional code.
73151         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73152         <kernel-features.h>.
73153         [__ASSUME_32BITUIDS]: Make code unconditional.
73154         [!__ASSUME_32BITUIDS]: Remove conditional code.
73155         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73156         <kernel-features.h>.
73157         [__ASSUME_32BITUIDS]: Make code unconditional.
73158         [!__ASSUME_32BITUIDS]: Remove conditional code.
73160 2012-05-25  Richard Henderson  <rth@twiddle.net>
73162         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73163         dl_hwcap to ifunc resolver.
73164         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73165         elf_ifunc_invoke.
73166         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73167         dl_hwcap to ifunc resolver.
73168         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73170 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73172         [BZ #14153]
73173         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73174         for |x| <= 2**-26, not 2**-57.
73175         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73176         exception.
73178 2012-05-24  Jeff Law  <law@redhat.com>
73180         * stdio-common/Makefile (tests): Add bug25.
73181         * stdio-common/bug25.c: New test.
73183 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73185         [BZ #13576]
73186         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73187         multiple of MALLOC_ALIGNMENT in size.
73188         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73190 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73192         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73193         Require >= 256.
73194         (FILENAME_MAX): Use macro-int-constant.
73195         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73196         (_IOFBF): Use macro-int-constant.
73197         (_IOLBF): Likewise.
73198         (_IONBF): Likewise.
73199         (SEEK_CUR): Likewise.
73200         (SEEK_END): Likewise.
73201         (SEEK_SET): Likewise.
73202         (TMP_MAX): Likewise.
73203         (EOF): Use macro-int-constant.  Require < 0.
73204         (NULL): Use macro-constant.  Require == 0.
73205         (stdin): Require type to be FILE *.
73206         (stdout): Likewise.
73207         (stderr): Likewise.
73208         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73209         macro-int-constant.
73210         (EXIT_SUCCESS): Likewise.
73211         (NULL): Use macro-constant.  Require == 0.
73212         (RAND_MAX): Use macro-int-constant.
73213         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73214         [C99-based standards] (strtof): Require function.
73215         [C99-based standards] (strtold): Likewise.
73216         [C99-based standards] (strtoll): Likewise.
73217         [C99-based standards] (strtoull): Likewise.
73218         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73219         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73220         [ISO || ISO99 || ISO11] (math.h): Likewise.
73221         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73222         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73223         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73225 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73227         [BZ #14132]
73228         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73229         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73230         * intl/dgettext.c (DCGETTEXT): Likewise.
73231         * intl/gettext.c (DCGETTEXT): Likewise.
73232         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73233         * posix/regex_internal.h (gettext): Likewise.
73234         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73235         Remove declaration.
73236         * include/argz.h (__argz_count_internal)
73237         (__argz_stringify_internal): Remove declaration.
73238         (__argz_count, __argz_stringify): Declare hidden proto.
73239         * intl/dcgettext.c: Remove use of INTDEF.
73240         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73241         * string/argz-stringify.c: Likewise.
73242         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73243         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73244         Declare hidden proto.
73245         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73246         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73247         Declare hidden proto.
73248         * include/stdio.h (__asprintf_internal): Don't declare.
73249         (__asprintf): Don't define as macro.  Declare hidden proto.
73250         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73251         (__fsetlocking): Declare hidden proto.
73252         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73253         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73254         hidden proto.
73255         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73256         (_IO_setlinebuf): Remove use of INTUSE.
73257         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73258         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73259         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73260         Remove declaration.
73261         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73262         (_IO_do_flush): Remove use of INTUSE.
73263         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73264         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73265         (_IO_adjust_column, _IO_least_wmarker)
73266         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73267         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73268         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73269         (_IO_default_doallocate, _IO_wdefault_doallocate)
73270         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73271         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73272         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73273         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73274         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73275         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73276         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73277         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73278         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73279         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73280         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73281         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73282         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73283         proto.
73284         (_IO_flush_all_internal, _IO_adjust_column_internal)
73285         (_IO_default_uflow_internal, _IO_default_finish_internal)
73286         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73287         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73288         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73289         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73290         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73291         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73292         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73293         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73294         (_IO_file_close_internal, _IO_file_close_it_internal)
73295         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73296         (_IO_file_init_internal, _IO_file_attach_internal)
73297         (_IO_file_fopen_internal, _IO_file_read_internal)
73298         (_IO_file_sync_internal, _IO_file_seek_internal)
73299         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73300         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73301         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73302         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73303         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73304         (_IO_list_all_internal, _IO_link_in_internal)
73305         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73306         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73307         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73308         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73309         (_IO_do_write_internal, _IO_padn_internal)
73310         (_IO_getline_info_internal, _IO_getline_internal)
73311         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73312         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73313         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73314         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73315         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73316         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73317         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73318         with libc_hidden_ver, remove use of INTUSE.
73319         * libio/genops.c: Likewise.
73320         * libio/freopen.c: Likewise.
73321         * libio/freopen64.c: Likewise.
73322         * libio/iofclose.c: Likewise.
73323         * libio/iofdopen.c: Likewise.
73324         * libio/iofflush.c: Likewise.
73325         * libio/iofflush_u.c: Likewise.
73326         * libio/iofgets.c: Likewise.
73327         * libio/iofgets_u.c: Likewise.
73328         * libio/iofopen.c: Likewise.
73329         * libio/iofopncook.c: Likewise.
73330         * libio/iofread.c: Likewise.
73331         * libio/iofread_u.c: Likewise.
73332         * libio/ioftell.c: Likewise.
73333         * libio/iofwrite.c: Likewise.
73334         * libio/iogetline.c: Likewise.
73335         * libio/iogets.c: Likewise.
73336         * libio/iogetwline.c: Likewise.
73337         * libio/iopadn.c: Likewise.
73338         * libio/iopopen.c: Likewise.
73339         * libio/ioseekoff.c: Likewise.
73340         * libio/ioseekpos.c: Likewise.
73341         * libio/iosetbuffer.c: Likewise.
73342         * libio/iosetvbuf.c: Likewise.
73343         * libio/ioungetc.c: Likewise.
73344         * libio/ioungetwc.c: Likewise.
73345         * libio/iovdprintf.c: Likewise.
73346         * libio/iovsprintf.c: Likewise.
73347         * libio/iovsscanf.c: Likewise.
73348         * libio/memstream.c: Likewise.
73349         * libio/obprintf.c: Likewise.
73350         * libio/oldfileops.c: Likewise.
73351         * libio/oldiofclose.c: Likewise.
73352         * libio/oldiofdopen.c: Likewise.
73353         * libio/oldiofopen.c: Likewise.
73354         * libio/oldiopopen.c: Likewise.
73355         * libio/oldstdfiles.c: Likewise.
73356         * libio/putc.c: Likewise.
73357         * libio/setbuf.c: Likewise.
73358         * libio/setlinebuf.c: Likewise.
73359         * libio/stdfiles.c: Likewise.
73360         * libio/strops.c: Likewise.
73361         * libio/vasprintf.c: Likewise.
73362         * libio/vscanf.c: Likewise.
73363         * libio/vsnprintf.c: Likewise.
73364         * libio/vswprintf.c: Likewise.
73365         * libio/wfiledoalloc.c: Likewise.
73366         * libio/wfileops.c: Likewise.
73367         * libio/wgenops.c: Likewise.
73368         * libio/wmemstream.c: Likewise.
73369         * libio/wstrops.c: Likewise.
73370         * libio/__fpurge.c: Likewise.
73371         * libio/__fsetlocking.c: Likewise.
73372         * assert/assert.c: Likewise.
73373         * debug/fgets_chk.c: Likewise.
73374         * debug/fgets_u_chk.c: Likewise.
73375         * debug/fread_chk.c: Likewise.
73376         * debug/fread_u_chk.c: Likewise.
73377         * debug/gets_chk.c: Likewise.
73378         * debug/obprintf_chk.c: Likewise.
73379         * debug/vasprintf_chk.c: Likewise.
73380         * debug/vdprintf_chk.c: Likewise.
73381         * debug/vsnprintf_chk.c: Likewise.
73382         * debug/vsprintf_chk.c: Likewise.
73383         * malloc/mtrace.c: Likewise.
73384         * misc/error.c: Likewise.
73385         * misc/syslog.c: Likewise.
73386         * stdio-common/asprintf.c: Likewise.
73387         * stdio-common/fxprintf.c: Likewise.
73388         * stdio-common/getw.c: Likewise.
73389         * stdio-common/isoc99_fscanf.c: Likewise.
73390         * stdio-common/isoc99_scanf.c: Likewise.
73391         * stdio-common/isoc99_vfscanf.c: Likewise.
73392         * stdio-common/isoc99_vscanf.c: Likewise.
73393         * stdio-common/isoc99_vsscanf.c: Likewise.
73394         * stdio-common/printf-prs.c: Likewise.
73395         * stdio-common/printf_fp.c: Likewise.
73396         * stdio-common/printf_fphex.c: Likewise.
73397         * stdio-common/printf_size.c: Likewise.
73398         * stdio-common/putw.c: Likewise.
73399         * stdio-common/scanf.c: Likewise.
73400         * stdio-common/sprintf.c: Likewise.
73401         * stdio-common/tmpfile.c: Likewise.
73402         * stdio-common/vfprintf.c: Likewise.
73403         * stdio-common/vfscanf.c: Likewise.
73404         * stdlib/strfmon_l.c: Likewise.
73405         * sunrpc/openchild.c: Likewise.
73406         * sunrpc/xdr_stdio.c: Likewise.
73407         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73408         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73410 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73412         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73414         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73415         in the third column, to generate for the shared library an IFUNC
73416         that uses _dl_vdso_vsym.
73417         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73418         * Makeconfig (object-suffixes-noshared): New variable.
73420         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73421         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73422         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73423         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73425         [BZ #14132]
73426         * include/sys/time.h (__gettimeofday): Remove macro.
73427         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73428         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73429         Remove INTDEF.
73430         (__gettimeofday): Add libc_hidden_def.
73431         (gettimeofday): Add libc_hidden_weak.
73432         * sysdeps/mach/gettimeofday.c: Likewise.
73433         * sysdeps/posix/gettimeofday.c: Likewise.
73434         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73435         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73437         (__gettimeofday_internal): Remove strong_alias.
73438         (__gettimeofday): Add libc_hidden_def.
73439         (gettimeofday): Add libc_hidden_weak.
73440         * sysdeps/unix/syscalls.list (gettimeofday):
73441         Remove __gettimeofday_internal alias.
73443 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73444             H.J. Lu  <hongjiu.lu@intel.com>
73446         [BZ #12495]
73447         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73448         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73449         (largebin_index_32_big): New.
73450         (largebin_index): Use it for 16-byte alignment.
73451         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73452         correction with front_misalign.
73454 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73458         Likewise.
73459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73460         Likewise.
73461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73462         Likewise.
73463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73464         Likewise.
73465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73466         Likewise.
73467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73468         Likewise.
73469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73470         Likewise.
73471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73472         Likewise.
73473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73474         Likewise.
73475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73476         Likewise.
73477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73478         Likewise.
73479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73480         Likewise.
73482         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73483         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73485 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73487         [BZ #10846]
73488         [BZ #14036]
73489         * math/libm-test.inc (exp_test): Add test from bug 14036.
73490         (pow_test): Add test from bug 10846.
73492         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73493         and other flags.
73494         (special_function): Do not include flags in test name.
73495         (parse_args): Likewise.
73496         * sysdeps/i386/fpu/libm-test-ulps: Update.
73497         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73498         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73499         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73502         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73503         exceptions.
73504         * math/libm-test.inc ("Philosophy"): Update comment about
73505         exception testing.
73506         (UNDERFLOW_EXCEPTION): New macro.
73507         (UNDERFLOW_EXCEPTION_OK): Likewise.
73508         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73509         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73510         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73511         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73512         (INVALID_EXCEPTION_OK): Update value.
73513         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73514         (OVERFLOW_EXCEPTION_OK): Likewise.
73515         (IGNORE_ZERO_INF_SIGN): Likewise.
73516         (test_exceptions): Handle underflow exceptions.
73517         (acos_test): Update for underflow exception expectations.
73518         (cexp_test): Likewise.
73519         (clog_test): Likewise.
73520         (clog10_test): Likewise.
73521         (csqrt_test): Likewise.
73522         (ctan_test): Likewise.
73523         (ctanh_test): Likewise.
73524         (exp_test): Likewise.
73525         (exp10_test): Likewise.
73526         (exp2_test): Likewise.
73527         (expm1_test): Likewise.
73528         (fma_test): Likewise.
73529         (j0_test): Likewise.
73530         (jn_test): Likewise.
73531         (nexttoward_test): Likewise.
73532         (pow_test): Likewise.
73533         (scalbn_test): Likewise.
73534         (scalbln_test): Likewise.
73535         (tan_test): Likewise.
73536         (y1_test): Likewise.
73537         * sysdeps/i386/fpu/libm-test-ulps: Update.
73538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73540 2012-05-23  David S. Miller  <davem@davemloft.net>
73542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73543         (__libc_sigaction): Remove unused local variables.
73545 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73547         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73549 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73551         mktime: avoid signed integer overflow
73552         * time/mktime.c (__mktime_internal): Do not mishandle the case
73553         where diff == INT_MIN.
73555         mktime: simplify computation of average
73556         * time/mktime.c (ranged_convert): Use new time_t_avg function
73557         instead of rolling our own (probably-slower) code.
73559         mktime: do not assume signed right shift propagates sign bit
73560         * time/mktime.c (isdst_differ): New static function.
73561         (__mktime_internal): No need to normalize tm_isdst now.
73562         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73563         tm_isdst values.
73565         mktime: merge another wrapv change from gnulib
73566         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73567         from some compilers.
73569         mktime: remove incorrect attempt at unusual arithmetics
73570         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73571         The code didn't really work on such machines anyway.
73572         (TYPE_MINIMUM): Assume two's complement.
73573         (twos_complement_arithmetic): Verify that long_int and time_t
73574         are two's complement (or unsigned, in the latter case).
73576         mktime: check signed shifts on long_int and time_t, too
73577         * time/mktime.c (SHR): Check that shifts work as desired
73578         on the types long_int and time_t too, as SHR is used on
73579         such types.
73581         mktime: do not assume 'long' is wide enough
73582         * time/mktime.c (verify): Move decl up.
73583         (long_int): New type.
73584         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73585         to remove assumption in the code that 'long' is wide enough to
73586         store year values.  This assumption is not true on x32 and on
73587         some non-glibc platforms.
73589         mktime: merge wrapv change from gnulib
73590         * time/mktime.c (WRAPV): New macro.
73591         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73592         (guess_time_tm, __mktime_internal): Do not assume that signed
73593         integer overflow wraps around; modern compilers generate code
73594         where this assumption is no longer valid.
73596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73598         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73599         Replace "jmp L(pseudo_end)" with "ret".
73600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73601         Likewise.
73603 2012-05-23  Andreas Jaeger  <aj@suse.de>
73605         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73606         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73608 2012-05-23  Andreas Jaeger  <aj@suse.de>
73609             Maximilian Attems  <max@stro.at>
73611         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73612         New macros.
73614 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73616         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73617         code so that pseudo_end is just ret and the stack pointer is
73618         correct also for static library in error case.
73620 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73622         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73623         move to syscalls.list.
73624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73629         * manual/install.texi (Running make install): Do not mention Linux
73630         kernel version for which pt_chown is not needed.
73631         (Linux): Do not mention problems with nscd with 2.0 kernels.
73632         * INSTALL: Regenerated.
73634 2012-05-23  Andreas Jaeger  <aj@suse.de>
73636         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73637         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73638         macro.
73639         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73640         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73641         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73642         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73643         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73644         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73645         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73646         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73647         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73648         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73649         * sysdeps/unix/sysv/linux/bits/in.h
73650         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73652 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73654         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73655         (PREPARE_VERSION): Just use assert instead, it will be elided
73656         under [NDEBUG] anyway.
73658 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73660         * sysdeps/unix/sysv/linux/Makefile: Include
73661         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73662         (sysdep_routines): Remove sysctl.
73663         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73664         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73665         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73666         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73667         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73669 2012-05-22  Andreas Jaeger  <aj@suse.de>
73671         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73672         that pseudo_end is just ret and the stack pointer is correct also
73673         for static library in error case.
73675 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73677         [BZ #14122]
73678         * nss/nsswitch.c (defconfig_entries): New variable.
73679         (__nss_database_lookup): Don't leak defconfig entries.
73680         (nss_parse_service_list): Don't leak on error paths.
73681         (free_database_entries): New function.
73682         (free_defconfig): New function.
73683         (free_mem): Move common code to free_database_entries.
73685 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73687         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73688         Add arch_prctl.
73689         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73691         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73692         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73694         New macro.
73695         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73696         (INTERNAL_SYSCALL_TYPES): Likewise.
73697         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73698         (LOAD_REGS_TYPES_[1-6]): Likewise.
73699         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73700         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73702 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73704         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73705         copysignl for GLIBC_2_0.
73706         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73707         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73708         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73709         logbl for GLIBC_2_0.
73710         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73711         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73713 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73715         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73716         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73718         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73719         Use "neg %eax".
73721         * time/mktime.c: Update copyright years.
73723 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
73725         mktime: merge comment-quoting-style change from gnulib
73726         * time/mktime.c: Quote 'like this' in comments.
73727         The GNU coding standards suggest that we no longer quote `like this',
73728         as "`" and "'" are typically rendered asymmetrically nowadays.
73729         The typical gnulib style is to quote 'like this' when quoting
73730         code, and "like this" when quoting English.
73732         * time/mktime.c (compile-command): Add "-I.".
73734         mktime: merge mktime-internal.h change from gnulib
73735         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
73737         mktime: merge time_r change from gnulib
73738         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
73740         mktime: merge DEBUG change from gnulib
73741         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
73742         case system <time.h> has a #define.
73744         mktime: merge <sys/types.h> change from gnulib
73745         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
73746         since <time.t> is now guaranteed to define time_t.
73748         mktime: merge HAVE_CONFIG_H change from gnulib
73749         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
73751 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73753         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73754         Use "neg %eax".
73756         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
73757         __rlim_t cast.
73758         (struct rusage): Use anonymous union to pad each field to
73759         __syscall_slong_t.
73761 2012-05-21  David S. Miller  <davem@davemloft.net>
73763         * Makefules (o-iterator): Remove .s cases.
73764         (compile-command.s): Delete.
73765         (COMPILE.s): Delete.
73766         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
73768 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
73770         * configure.in (libc_cv_predef_stack_protector): Only consider
73771         "foobar" and "__stack_chk_fail" lines in libc_undefs.
73772         * configure: Regenerated.
73774 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
73777         New macro.  Use R*LP on int and pointer.
73778         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
73779         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
73780         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
73781         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
73783         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
73784         [__WORDSIZE_TIME64_COMPAT32] instead of
73785         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
73786         (struct utmp): Likewise.
73787         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
73788         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
73789         Renamed to ...
73790         (__WORDSIZE_TIME64_COMPAT32): This.
73791         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
73792         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73793         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
73794         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
73795         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
73796         (__WORDSIZE_TIME64_COMPAT32): New macro.
73798 2012-05-21  Andreas Jaeger  <aj@suse.de>
73800         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
73801         only if [SHARED]. Add prototype for __wcschr_ia32.
73803 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73805         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
73806         of %rbp unmolested in the jmp_buf while mangling the low bits.
73807         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
73808         unmolested high bits of %rbp while demangling the low bits.
73809         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73811 2012-05-21  Andreas Jaeger  <aj@suse.de>
73813         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
73814         * sunrpc/svc_simple.c: Use it for registerrpc.
73815         * sunrpc/xcrypt.c: Use it for passwd2des.
73817         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
73819 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73821         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
73822         Don't define if [__SYSCALL_WORDSIZE != 32].
73823         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
73824         New macro.
73826 2012-05-21  Bruno Haible  <bruno@clisp.org>
73827             Andreas Jaeger  <aj@suse.de>
73829         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
73830         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
73831         inptr and inend for must_buffer_ch.
73832         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
73833         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
73834         * stdio-common/Makefile (tests): Remove bug15.
73835         (bug15-ENV): Remove macro.
73836         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
73837         anymore.
73839 2012-05-19  Andreas Jaeger  <aj@suse.de>
73840             Roland McGrath  <roland@hack.frob.com>
73842         * manual/contrib.texi: Completely rewritten. It contains now an
73843         alphabetical list of contributors and their contributions.
73845 2012-05-21  Richard Henderson  <rth@twiddle.net>
73847         * misc/getauxval.c (__getauxval): Use unsigned long int.
73848         * misc/sys/auxv.h: Include <sys/cdefs.h>.
73849         (getauxval): Use unsigned long int.
73851 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
73853         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73855 2012-05-21  Roland McGrath  <roland@hack.frob.com>
73857         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
73858         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
73859         __alignof__ (long double).
73861 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73865 2012-05-20  Richard Henderson  <rth@twiddle.net>
73867         * misc/getauxval.c: New file.
73868         * misc/sys/auxv.h: New file.
73869         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
73870         (routines): Add getauxval.
73871         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
73872         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
73873         * elf/dl-sysdep.c (_dl_auxv): Remove.
73874         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
73875         * elf/dl-support.c (_dl_auxv): New variable.
73876         (_dl_aux_init): Initialize it.
73877         * manual/startup.texi (Auxiliary Vector): New node.
73878         * sysdeps/generic/bits/hwcap.h: New file.
73879         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
73880         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
73881         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
73882         * sysdeps/sparc/sysdep.h: ... here.  Include it.
73883         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
73884         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
73885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73886         Update.
73887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
73888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
73889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
73890         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
73891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
73893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
73894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
73896 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73900 2012-05-19  David S. Miller  <davem@davemloft.net>
73902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73904 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73906         [BZ #14123]
73907         * math/s_ccosh.c: Include <float.h>
73908         (__ccosh): Avoid internal overflow calculating sinh and cosh
73909         values before multiplying by sin and cos values.
73910         * math/s_ccoshf.c: Likewise.
73911         * math/s_ccoshl.c: Likewise.
73912         * math/s_csin.c: Likewise.
73913         * math/s_csinf.c: Likewise.
73914         * math/s_csinl.c: Likewise.
73915         * math/s_csinh.c: Likewise.
73916         * math/s_csinhf.c: Likewise.
73917         * math/s_csinhl.c: Likewise.
73918         * math/libm-test.inc (ccos_test): Add more tests.
73919         (ccosh_test): Likewise.
73920         (csin_test): Likewise.
73921         (csinh_test): Likewise.
73922         * sysdeps/i386/fpu/libm-test-ulps: Update.
73923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73925 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
73927         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
73928         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
73930         * sysdeps/x86_64/x32/_itoa.h: Add comment.
73932 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
73934         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
73935         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
73936         * sysdeps/powerpc/soft-fp/Versions: Likewise.
73937         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
73938         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
73939         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
73940         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
73941         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
73942         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
73943         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
73944         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
73945         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
73946         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
73947         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
73948         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
73949         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
73950         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
73951         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
73952         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
73953         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
73954         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
73955         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
73956         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
73957         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
73958         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
73959         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
73960         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
73961         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
73962         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
73963         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
73964         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
73966 2012-05-18  Andreas Jaeger  <aj@suse.de>
73968         * csu/.gitignore: Delete.
73970 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73972         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
73973         (timex): Use __syscall_slong_t.
73975 2012-05-18  Andreas Jaeger  <aj@suse.de>
73976             Carlos O'Donell  <carlos_odonell@mentor.com>
73978         * manual/install.texi (Configuring and compiling): Update
73979         description about files modified in the source directory.
73980         * INSTALL: Regenerated.
73982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
73984         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
73985         value.  Use "or" to set return value to -1.
73986         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
73987         negate return value.
73989 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73991         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
73992         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
73993         failure if the compiler has Graphite support disabled.
73994         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
73995         Likewise.
73996         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
73997         (CFLAGS-memmove.c): Likewise.
73998         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
73999         Likewise.
74001 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74003         * sysdeps/x86_64/x32/_itoa.h: New file.
74005         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74006         getdents system call only if kernel and user dirents have the
74007         same d_ino and d_off.
74009         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74010         LLONG_MAX != LONG_MAX.
74011         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74012         (_fitoa_word): Likewise.
74014         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74015         years.
74016         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74017         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74018         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74020         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74021         include <bits/wordsize.h>.  Check __x86_64__ instead of
74022         __WORDSIZE.
74023         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74024         if __x86_64__ is defined.  Use anonymous union on fpstate.
74026         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74027         anonymous union.
74029 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74031         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74032         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74033         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74034         Refer to _rtld_local_ro instead of _rtld_global_ro.
74035         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74036         Likewise.
74037         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74038         Likewise.
74039         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74040         Likewise.
74041         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74042         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74043         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74045         [BZ #10882]
74046         * sysdeps/powerpc/powerpc32/dl-machine.c
74047         (__elf_machine_runtime_setup) [PROF]: Don't reference
74048         _dl_prof_resolve.
74050 2012-05-18  Andreas Jaeger  <aj@suse.de>
74052         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74053         function only available for GCCs before 3.4 since GCC 3.4
74054         introduced a builtin.
74055         (lrint): Likewise.
74056         (llrintf): Likewise.
74057         (llrint): Likewise.
74058         (fmaxf): Likewise.
74059         (fmax): Likewise.
74060         (fminf): Likewise.
74061         (fmin): Likewise.
74062         (rint): Likewise.
74063         (rintf): Likewise.
74064         (nearbyint): Likewise.
74065         (nearbyintf): Likewise.
74066         (ceil): Likewise.
74067         (ceilf): Likewise.
74068         (floor): Likewise.
74069         (floorf): Likewise.
74071 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74073         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74074         on both fields and cast pointer to __syscall_ulong_t.
74076         * bits/types.h (__fsword_t): New type.
74077         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74078         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74080         (__FSWORD_T_TYPE): Likewise.
74081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74082         (__FSWORD_T_TYPE): Likewise.
74083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74084         (__FSWORD_T_TYPE): Likewise.
74085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74086         (__FSWORD_T_TYPE): Likewise.
74087         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74088         __SWORD_TYPE with __fsword_t.
74089         (statfs64): Likewise.
74091 2012-05-17  David S. Miller  <davem@davemloft.net>
74093         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74095 2012-05-17  Andreas Jaeger  <aj@suse.de>
74097         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74098         warning.
74100 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74102         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74104 2012-05-17  Andreas Jaeger  <aj@suse.de>
74106         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74107         when it is used.
74109 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74111         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74113 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74115         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74116         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74118 2012-05-17  Andreas Jaeger  <aj@suse.de>
74119             Carlos O'Donell  <carlos_odonell@mentor.com>
74121         [BZ #14059]
74122         * sysdeps/x86_64/multiarch/init-arch.h
74123         (bit_YMM_Usable): Rename to...
74124         (bit_AVX_Usable): ... this.
74125         (bit_FMA4_Usable): New macro.
74126         (bit_XMM_state): New macro.
74127         (bit_YMM_state): New macro.
74128         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74129         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74130         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74131         (CPUID_OSXSAVE): New macro.
74132         (CPUID_AVX): New macro.
74133         (CPUID_FMA4): New macro.
74134         (index_YMM_Usable): Rename to...
74135         (index_AVX_Usable): ... this.
74136         (HAS_AVX): Use HAS_ARCH_FEATURE.
74137         (HAS_FMA4): Likewise.
74138         (HAS_YMM_USABLE): Remove.
74139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74140         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74141         are present.
74142         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74143         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74144         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74145         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74146         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74148 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74150         * math/libm-test.c: Support platforms without multiple rounding modes.
74151         * math/bug-nextafter.c: Support platforms without FP exceptions.
74152         * math/bug-nexttoward.c: Likewise.
74153         * math/test-fenv.c: Likewise.
74154         * math/test-misc.c: Likewise.
74155         * stdlib/bug-getcontext.c: Likewise.
74157 2012-05-17  Andreas Jaeger  <aj@suse.de>
74159         * manual/examples/search.c (critter_cmp): Change signature to
74160         avoid warnings.
74161         * manual/string.texi (Collation Functions): Likewise.
74163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74165         * bits/types.h: Fold copyright years.
74166         * bits/typesizes.h: Likewise.
74167         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74171         * time/time.h: Likewise.
74173 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74175         [BZ #208]
74176         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74177         in instead of returning them.  Return void.
74178         (__libc_mallinfo): Accumulate over all arenas.
74179         (__malloc_stats): Adjust for change in int_mallinfo interface.
74181 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74183         [BZ #10375]
74184         * configure.in (NM): Add AC_CHECK_TOOL for it.
74185         (libc_extra_cflags): New substituted variable.
74186         Check for -fstack-protector being used implicitly.
74187         * configure: Regenerated.
74188         * config.make.in (config-extra-cflags): New variable,
74189         gets @libc_extra_cflags@.
74190         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74192         [BZ #10375]
74193         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74194         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74195         * configure: Regenerated.
74196         * config.make.in (CPPUNDEFS): New substituted variable.
74197         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74198         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74199         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74203         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74204         (mq_attr): Use __syscall_slong_t.
74206 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74209         Check __x86_64__ instead of __WORDSIZE.
74210         (_STAT_VER_LINUX): Likewise.
74211         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74212         __syscall_ulong_t and __syscall_slong_t.
74213         (stat64): Likewise.
74215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74219 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74221         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74223 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74225         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74226         __syscall_ulong_t.
74228         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74229         include <bits/wordsize.h>.  Check __x86_64__ instead of
74230         __WORDSIZE.
74231         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74232         defined.
74233         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74235         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74236         include <bits/wordsize.h>.  Check __x86_64__ instead of
74237         __WORDSIZE.
74238         (user_regs_struct): Use "__extension__ unsigned long long"
74239         instead of "unsigned long" if __x86_64__ is defined.
74240         (user): Likewise.  Pad after pointer field if __ILP32__ is
74241         defined.
74243 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74245         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74246         versions 5 to 9.
74247         * configure: Regenerated.
74248         * manual/install.texi (texinfo): Increase version requirement to
74249         4.5 or later.
74250         * INSTALL: Regenerated.
74252         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74254 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74256         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74258         * sysdeps/x86_64/x32/ffs.c: New file.
74260         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74261         __syscall_ulong_t.
74262         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74263         defined.  Use __syscall_ulong_t.
74264         (shminfo): Use __syscall_ulong_t.
74265         (shm_info): Likewise.
74267         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74268         __syscall_ulong_t.
74270         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74271         <bits/wordsize.h>.
74272         (msgqnum_t): Use __syscall_ulong_t.
74273         (msglen_t): Likewise.
74274         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74275         __syscall_ulong_t.
74277         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74280         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74282         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74283         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74285         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74286         __syscall_slong_t.
74288         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74289         include <bits/wordsize.h>.  Check __x86_64__ instead of
74290         __WORDSIZE.
74292         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74293         "unsigned long long int" if __x86_64__ is defined.
74294         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74296         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74298         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74300         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74301         <stdint.h>.
74302         (GET_PC): Cast to uintptr_t first.
74303         (GET_FRAME): Likewise.
74304         (GET_STACK): Likewise.
74306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74307         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74308         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74309         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74310         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74311         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74312         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74313         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74314         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74320         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74321         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74322         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74323         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74324         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74325         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74326         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74327         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74328         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74329         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74330         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74331         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74332         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74333         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74334         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74336 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74338         * Makerules (+depfiles): Also collect depfiles from .oS in
74339         $(extra-objs).
74340         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74341         .oS, $(libnldbl-routines)).
74343         * Makerules (native-compile-mkdep-flags): Define.
74344         * sunrpc/Makefile (extra-objs): Add $(addprefix
74345         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74346         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74347         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74348         calling $(make-target-directory).
74350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74352         * bits/types.h (__snseconds_t): Removed.
74353         * time/time.h (struct timespec): Replace __snseconds_t with
74354         __syscall_slong_t.
74355         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74356         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74357         Likewise.
74358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74359         (__SNSECONDS_T_TYPE): Likewise.
74360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74361         (__SNSECONDS_T_TYPE): Likewise.
74362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74363         (__SNSECONDS_T_TYPE): Likewise.
74365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74367         * sysdeps/mach/hurd/bits/typesizes.h
74368         (__SYSCALL_SLONG_TYPE): New macro.
74369         (__SYSCALL_ULONG_TYPE): Likewise.
74371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74373         * bits/types.h (__syscall_slong_t): New type.
74374         (__syscall_ulong_t): Likewise.
74376         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74377         (__SYSCALL_ULONG_TYPE): Likewise.
74378         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74379         (__SYSCALL_SLONG_TYPE): Likewise.
74380         (__SYSCALL_ULONG_TYPE): Likewise.
74381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74382         (__SYSCALL_SLONG_TYPE): Likewise.
74383         (__SYSCALL_ULONG_TYPE): Likewise.
74384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74385         (__SYSCALL_SLONG_TYPE): Likewise.
74386         (__SYSCALL_ULONG_TYPE): Likewise.
74388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74390         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74391         Add sigaltstack-offsets.sym.
74392         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74393         <sigaltstack-offsets.h>.
74394         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74395         longjmp_msg pointer.
74396         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74397         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74398         signal stack.
74399         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74401 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74403         * elf/stackguard-macros.h: Remove file.
74404         * sysdeps/generic/stackguard-macros.h: New file.
74405         * sysdeps/i386/stackguard-macros.h: Likewise.
74406         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74407         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74408         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74409         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74410         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74411         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74412         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74413         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74414         <elf/stackguard-macros.h>.
74416         [BZ #14109]
74417         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74418         __aligned__ in attribute.
74419         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74420         (gregset_t): Likewise.
74422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74424         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74425         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74426         * sysdeps/x86_64/x32/Implies-after: New file.
74428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74430         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74431         and access return value for _dl_profile_fixup.  Use R10_LP to
74432         load frame size.
74434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74436         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74440         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74441         * sysdeps/x86_64/x32/sysdep.h: New file.
74443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74445         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74446         * sysdeps/x86_64/setjmp.S: Likewise.
74448 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74450         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74452         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74453         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74454         remove unused global constant.
74456 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74458         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74459         include of <not-cancel.h>.
74461 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74463         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74465 2012-05-15  Jeff Law  <law@redhat.com>
74466             Andreas Jaeger  <aj@suse.de>
74468         [BZ #13594]
74469         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74470         out from...
74471         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74472         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74473         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74474         code changing __hst_map_handle.map.
74476 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74478         * configure.in (sysnames): Look for Implies-before and Implies-after
74479         files.
74480         * configure: Regenerated.
74482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74484         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74485         8-byte data alignment with LP_SIZE alignment.
74487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74489         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74490         into R10_LP.
74492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74494         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74498         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74499         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74500         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74501         Likewise.
74502         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74506         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74507         (stackinfo_sub_sp): Likewise.
74509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74511         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74512         RAX_LP.
74514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74516         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74517         into R*_LP.
74519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74522         sizes into R*_LP.
74524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74526         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74530         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74531         into R11_LP and load __x86_64_shared_cache_size_half into
74532         R8_LP.
74534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74536         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74537         R8_LP.
74539 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74541         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74542         logb for POWER7.
74543         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74544         logbf for POWER7.
74545         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74546         logbl for POWER7.
74547         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74548         powerpc32/power7/fpu/s_logb.c via #include.
74549         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74550         powerpc32/power7/fpu/s_logbf.c via #include.
74551         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74552         powerpc32/power7/fpu/s_logbl.c via #include.
74554 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74556         * README.libm: Remove file.
74558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74560         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74561         count for x32.  Use R*_LP and omit operand-size suffix.
74563 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74565         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74566         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74567         * sysdeps/x86_64/x32/shlib-versions: New file.
74569 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74571         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74572         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74573         Use _dl_fatal_printf instead.
74575 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74577         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74578         set if not set by the user.  Do not allow for being unset.
74579         * sysdeps/unix/sysv/linux/configure: Regenerated.
74581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74583         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74584         the `q' suffix from lea and replace .quad with ASM_ADDR.
74586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74589         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74590         instead of $17.
74591         (PTR_DEMANGLE): Likewise.
74593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74595         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74596         (LP_OP): Likewise.
74597         (ASM_ADDR): Likewise.
74598         (RAX_LP): Likewise.
74599         (RBP_LP): Likewise.
74600         (RBX_LP): Likewise.
74601         (RCX_LP): Likewise.
74602         (RDI_LP): Likewise.
74603         (RSI_LP): Likewise.
74604         (RSP_LP): Likewise.
74605         (R8_LP): Likewise.
74606         (R9_LP): Likewise.
74607         (R10_LP): Likewise.
74608         (R10_LP): Likewise.
74609         (R11_LP): Likewise.
74610         (R12_LP): Likewise.
74611         (R13_LP): Likewise.
74612         (R14_LP): Likewise.
74613         (R15_LP): Likewise.
74615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74617         * sysdeps/x86_64/x32/dl-machine.h: New file.
74619 2012-05-14  Andreas Jaeger  <aj@suse.de>
74621         * manual/Makefile (subdir): Remove export of subdir.
74622         (all): Remove target.
74623         (.PHONY): Remove all from list.
74624         (mkinstalldirs): Remove.
74625         (.PHONY): Remove installdirs from list.
74626         ($(inst_infodir)/libc.info): Use make-target-directory.
74627         (installdirs): Remove.
74628         (subdir_%): Remove.
74629         (glibc-targets): Remove.
74630         (lib): Remove.
74631         (stubs): Remove.
74632         ($(objpfx)stubs ../po/manual.pot): Remove.
74633         ($(objpfx)stamp%): Remove.
74634         (make-target-directory): Remove.
74635         (subdir_install): Remove.
74636         (routines): Remove.
74637         (aux): Remove.
74638         (sources): Remove.
74639         (objects): Remove.
74640         (headers): Remove.
74642         [BZ #13750]
74643         * manual/.gitignore: Remove, it's not needed anymore.
74644         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74645         all files in it.
74646         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74647         directory.
74648         (texis): Renamed to $(objpfx)texis.
74649         (texis-path): New, contains path to generated files.
74650         (chapters.%): Use texis-path for complete path, add extra argument
74651         libc-texinfo.sh.
74652         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74653         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74654         (summary,texi, stamp-summary): Use complete path of
74655         files. Generate files in build dir.
74656         (dir-add.texi): Build in build dir.
74657         (libm-err.texi,stamp-libm-err): Likewise.
74658         (version.texi, stamp-version): Likewise.
74659         (.%c.texi): Likewise.
74660         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74661         (mostlyclean): Remove target.
74662         (realclean): Remove target.
74663         (generated): Add new variable with contents from mostlyclean and
74664         realclean, remove entries duplicated in common-mostlyclean, add
74665         stamp-libm-err and stamp-version.
74666         (generated-dirs): Add libc directory.
74667         ($(inst_infodir)/libc.info): Install files from build dir.
74669         * manual/install.texi (Configuring and compiling): Adjust since
74670         the info files are not part of the tar ball anymore.
74672 2012-05-14  Andreas Jaeger  <aj@suse.de>
74674         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74675         variable.
74677 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74679         [BZ #13717]
74680         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74681         to 2.2.0 where earlier.
74682         * sysdeps/unix/sysv/linux/configure: Regenerated.
74683         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74684         Remove conditional code.
74685         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74686         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74687         Remove conditional code.
74688         [!__NR_lchown]: Likewise.
74689         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74690         [__NR_lchown]: Likewise.
74691         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74692         comment referencing __ASSUME_LCHOWN_SYSCALL.
74693         * sysdeps/unix/sysv/linux/i386/sigaction.c
74694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74696         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74697         Remove conditional code.
74698         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74699         (__protocol_available): Remove #if 0 code.
74700         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74701         conditional code.
74702         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74703         * sysdeps/unix/sysv/linux/kernel-features.h
74704         (__ASSUME_GETCWD_SYSCALL): Don't define.
74705         (__ASSUME_REALTIME_SIGNALS): Likewise.
74706         (__ASSUME_PREAD_SYSCALL): Likewise.
74707         (__ASSUME_PWRITE_SYSCALL): Likewise.
74708         (__ASSUME_POLL_SYSCALL): Likewise.
74709         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74710         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74711         non-SPARC.
74712         (__ASSUME_SIOCGIFNAME): Don't define.
74713         (__ASSUME_MSG_NOSIGNAL): Likewise.
74714         (__ASSUME_SENDFILE): Define unconditionally.
74715         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74716         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74717         conditional code.
74718         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
74719         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
74720         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74721         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74722         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
74723         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
74724         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
74726         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74727         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
74729         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
74732         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74733         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
74735         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74736         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
74738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
74741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
74742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
74744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
74747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74749         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
74750         Remove conditional code.
74751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74752         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74753         Remove conditional code.
74754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74755         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
74756         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
74757         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74758         Remove conditional code.
74759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74760         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
74761         Remove conditional code.
74762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74763         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
74764         Remove conditional code.
74765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74766         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
74767         Remove conditional code.
74768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
74769         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
74770         Remove conditional code.
74771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74772         * sysdeps/unix/sysv/linux/sh/pwrite64.c
74773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
74774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
74775         * sysdeps/unix/sysv/linux/sigaction.c
74776         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74777         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74778         * sysdeps/unix/sysv/linux/sigpending.c
74779         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74780         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74781         * sysdeps/unix/sysv/linux/sigprocmask.c
74782         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74783         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74784         * sysdeps/unix/sysv/linux/sigsuspend.c
74785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74788         (__libc_missing_rt_sigs): Remove.
74789         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
74790         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
74791         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
74792         Remove conditional code.
74793         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
74794         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
74795         return 1.
74796         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
74797         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
74798         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
74799         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
74801 2012-05-14  Andreas Jaeger  <aj@suse.de>
74803         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
74804         it's not used in glibc.
74805         (__coshm1): Likewise.
74806         (__acosh1p): Likewise.
74807         (__sgn): Likewise.
74809         * manual/string.texi (Copying and Concatenation): Add missing
74810         variable in concat example.
74811         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
74813 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74815         [BZ #14103]
74816         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
74817         __builtin_clzl with __builtin_clzll.
74819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74821         [BZ #14104]
74822         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
74823         libc_freeres_ptr.
74825 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74827         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
74828         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
74829         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
74830         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
74832 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
74834         * NEWS: Update ia64 info.
74836 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
74838         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
74839         used as bcopy.
74841 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
74843         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
74844         * sysdeps/unix/syscalls.list (dup3): Likewise.
74845         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
74846         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
74848 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74850         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
74851         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
74853 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
74855         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
74856         thread pointer.
74857         (TLS_IE): Use mov/add instead of movq/addq to load thread
74858         pointer.
74859         (TLS_GD_PREFIX): New.
74860         (TLS_GD): Use it.
74862 2012-05-11  David S. Miller  <davem@davemloft.net>
74864         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
74865         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
74866         (_FPU_SETCW): Likewise.
74868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74870         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
74871         is 32-byte aligned.
74873 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
74875         [BZ #11837]
74876         * iconvdata/gb18030.c: Update tables.
74877         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
74878         characters specially.
74879         (BODY for TO_LOOP): Add encoding of missing ranges.
74881 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
74883         [BZ #13673]
74884         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
74885         * sysdeps/mach/hurd/dup3.c: Likewise.
74886         * sysdeps/mach/hurd/readlinkat.c: Likewise.
74887         * sysdeps/powerpc/memmove.c:: Likewise.
74889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74891         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
74892         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
74894 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
74896         * elf/elf.h (R_X86_64_RELATIVE64): New.
74897         (R_X86_64_NUM): Updated.
74898         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
74899         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
74900         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
74901         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
74902         tst-quad1pie tst-quad2pie
74903         (modules-names): Add tst-quadmod1 tst-quadmod2.
74904         ($(objpfx)tst-quad1): New dependency.
74905         ($(objpfx)tst-quad2): Likewise.
74906         ($(objpfx)tst-quad1pie): Likewise.
74907         ($(objpfx)tst-quad2pie): Likewise.
74908         * sysdeps/x86_64/tst-quad1.c: New file.
74909         * sysdeps/x86_64/tst-quad1pie.c: New file.
74910         * sysdeps/x86_64/tst-quad2.c: Likewise.
74911         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
74912         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
74913         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
74914         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
74915         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
74917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74919         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
74920         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
74921         * streams/stropts.h (t_scalar_t): Define type.
74923         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
74924         (_PATH_PRESERVE): Set to "/var/lib".
74925         (_PATH_RWHODIR): Set to "/var/spool/rwho".
74927         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
74928         instead of int.
74930         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
74931         if __dir_mkfile succeeded.
74933         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
74934         checking for _hurd_dtablesize.  Unlock it right after having
74935         finished _hurd_dtable allocation.
74937 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
74939         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
74940         * sysdeps/mach/hurd/configure: Regenerated.
74941         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
74942         special-casing to...
74943         * sysdeps/gnu/configure.in: ... this new file.
74944         * sysdeps/unix/sysv/linux/configure: Regenerated.
74945         * sysdeps/gnu/configure: New generated file.
74947         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
74948         for Linux: use nsec instead of usec, as well as:
74949         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
74950         members of type struct timespec.
74951         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
74952         New macros.
74953         (struct stat64): Likewise.
74954         (_STATBUF_ST_NSEC): New macro.
74955         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
74957         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
74958         __strtoul_internal rather than strtoul.
74960 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74962         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
74963         and reject them.
74965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74967         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
74968         which preserves existing values.
74969         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
74971 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74973         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
74974         TIMEOUT values.  Return EINVAL for NFDS values either negative or
74975         greater than FD_SETSIZE.
74977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74979         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
74980         allocated, call __vm_protect to finish enabling the existing space, and
74981         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
74982         allocate the remainder.
74984 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
74986         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
74987         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
74989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74991         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
74992         sysdeps/mach/hurd/readlink.c.
74994         * posix/tst-sysconf.c (posix_options): Only use
74995         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
74996         _POSIX_SYNCHRONIZED_IO when they are defined
74997         * sysdeps/mach/hurd/bits/posix_opt.h:
74998         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
74999         (_XOPEN_REALTIME): Undefine macro.
75000         (_XOPEN_REALTIME_THREADS): Undefine macro.
75001         (_XOPEN_SHM): Undefine macro.
75002         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75003         macro to -1.
75004         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75005         macro to -1.
75006         (_POSIX_ASYNC_IO): Undefine macro.
75007         (_POSIX_PRIORITIZED_IO): Undefine macro.
75008         (_POSIX_SPIN_LOCKS): Define macro to -1.
75010         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75011         SA_NODEFER, SA_RESETHAND.
75012         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75013         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75014         F_DUPFD_CLOEXEC.
75016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75018         * elf/Makefile (pldd-modules): Define unconditionally.
75020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75022         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75026         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75027         Return ENOENT when name is empty.
75028         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75030 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75032         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75034         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75038         Fix mlock in all cases except non-readable pages.
75039         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75040         instead of VM_PROT_ALL as parameter to __vm_wire function.
75042         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75043         (__mkdir): When path is `/', just fail with EEXIST.
75044         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75048         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75049         <sys/uio.h> (for writev).
75050         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75051         and <sys/param.h> (for MIN).
75053 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75055         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75056         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75057         if interrupted.
75059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75061         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75062         Depend on against $(link-rpcuserlibs).
75064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75066         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75067         (__libc_stack_end): Do not use attribute_relro.
75068         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75069         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75070         to libthread-provided value.
75071         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75072         attribute_relro.
75074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75076         [BZ #3748]
75077         * bits/libc-lock.h (__libc_once_get): New macro.
75078         * sysdeps/mach/bits/libc-lock.h: Likewise.
75079         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75080         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75081         instead of using implementation details.
75083         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75084         * libio/freopen.c: Likewise.
75085         * libio/freopen64.c: Likewise.
75086         * misc/syslog.c: Likewise.
75087         * nscd/connections.c: Likewise.
75088         * nscd/netgroupcache.c: Likewise.
75089         * sysdeps/posix/getcwd.c: Likewise.
75091 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75093         * math/w_ilogbf.c: Add #include <limits.h>.
75095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75097         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75098         path instead of returning without unlocking.
75100         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75101         immediate-write ioctls.
75102         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75106         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75107         __builtin_frame_address instead of making assumptions about the
75108         location of the return address relative to DATA.  Force early load of
75109         the return address.
75110         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75111         __builtin_frame_address.
75113         dup3 for GNU Hurd.
75114         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75115         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75116         implement dup3 and do some further code clean-ups.
75117         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75118         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75122         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75124         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75125         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75126         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75127         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75128         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75129         d->port.lock.
75131         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75132         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75133         when handler == SIG_ERR, not when handler != SIG_ERR.
75135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75137         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75138         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75139         definitions.
75141         accept4 for GNU Hurd.
75142         * include/sys/socket.h (__libc_accept4): New prototype.
75143         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75144         to implement __libc_accept4.
75145         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75146         __libc_accept4.
75147         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75149         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75150         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75151         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75152         signal-defines.sym.
75154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75156         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75160         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75161         assertion on O_CLOEXEC flag.
75162         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75163         * hurd/intern-fd.c: Likewise.
75164         * hurd/port2fd.c: Likewise.
75166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75168         [BZ #3906]
75169         * bits/in.h (IPV6_PKTINFO): Define new macro.
75170         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75172 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75174         [BZ #13954]
75175         [BZ #13955]
75176         [BZ #13956]
75177         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75179         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75180         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75182         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75183         * math/libm-test.inc (logb_test) : Additional logb tests.
75185 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75186             Andreas Jaeger  <aj@suse.de>
75188         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75189         * configure: Regenerated.
75190         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75191         * config.make.in (link-obsolete-rpc): New substituted variable.
75192         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75193         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75194         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75195         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75196         so that libc.a contains the symbols.
75197         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75198         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75199         * sunrpc/auth_none.c: Likewise.
75200         * sunrpc/auth_unix.c: Likewise.
75201         * sunrpc/authdes_prot.c: Likewise.
75202         * sunrpc/authuxprot.c: Likewise.
75203         * sunrpc/clnt_gen.c: Likewise.
75204         * sunrpc/clnt_perr.c: Likewise.
75205         * sunrpc/clnt_raw.c: Likewise.
75206         * sunrpc/clnt_simp.c: Likewise.
75207         * sunrpc/clnt_tcp.c: Likewise.
75208         * sunrpc/clnt_udp.c: Likewise.
75209         * sunrpc/clnt_unix.c: Likewise.
75210         * sunrpc/des_crypt.c: Likewise.
75211         * sunrpc/des_soft.c: Likewise.
75212         * sunrpc/get_myaddr.c: Likewise.
75213         * sunrpc/key_call.c: Likewise.
75214         * sunrpc/key_prot.c: Likewise.
75215         * sunrpc/netname.c: Likewise.
75216         * sunrpc/pm_getmaps.c: Likewise.
75217         * sunrpc/pm_getport.c: Likewise.
75218         * sunrpc/pmap_clnt.c: Likewise.
75219         * sunrpc/pmap_prot.c: Likewise.
75220         * sunrpc/pmap_prot2.c: Likewise.
75221         * sunrpc/pmap_rmt.c: Likewise.
75222         * sunrpc/publickey.c: Likewise.
75223         * sunrpc/rpc_cmsg.c: Likewise.
75224         * sunrpc/rpc_common.c: Likewise.
75225         * sunrpc/rpc_dtable.c: Likewise.
75226         * sunrpc/rpc_prot.c: Likewise.
75227         * sunrpc/rpc_thread.c: Likewise.
75228         * sunrpc/rtime.c: Likewise.
75229         * sunrpc/svc.c: Likewise.
75230         * sunrpc/svc_auth.c: Likewise.
75231         * sunrpc/svc_raw.c: Likewise.
75232         * sunrpc/svc_run.c: Likewise.
75233         * sunrpc/svc_tcp.c: Likewise.
75234         * sunrpc/svc_udp.c: Likewise.
75235         * sunrpc/svc_unix.c: Likewise.
75236         * sunrpc/svcauth_des.c: Likewise.
75237         * sunrpc/xcrypt.c: Likewise.
75238         * sunrpc/xdr.c: Likewise.
75239         * sunrpc/xdr_array.c: Likewise.
75240         * sunrpc/xdr_float.c: Likewise.
75241         * sunrpc/xdr_intXX_t.c: Likewise.
75242         * sunrpc/xdr_mem.c: Likewise.
75243         * sunrpc/xdr_rec.c: Likewise.
75244         * sunrpc/xdr_ref.c: Likewise.
75245         * sunrpc/xdr_sizeof.c: Likewise.
75246         * sunrpc/xdr_stdio.c: Likewise.
75248 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75250         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75251         change.  Update copyright years.
75253 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75255         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75257 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75258             Joseph Myers  <joseph@codesourcery.com>
75259             Paul Pluzhnikov  <ppluzhnikov@google.com>
75261         [BZ #14012]
75262         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75263         requiring rpcgen.
75264         [cross-compiling] (extra-libs): Likewise.
75265         [cross-compiling] (extra-libs-others): Likewise.
75266         [cross-compiling] (librpcsvc-routines): Likewise.
75267         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75268         [cross-compiling] (omit-deps): Likewise.
75269         (sunrpc-CPPFLAGS): New variable.
75270         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75271         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75272         (cross-rpcgen-objs): New variable.
75273         (extra-objs): Append $(cross-rpcgen-objs).
75274         ($(cross-rpcgen-objs)): New rule.
75275         ($(objpfx)cross-rpcgen): Likewise.
75276         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75277         comment.
75278         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75279         ($(objpfx)x%.stmp): Likewise.
75280         * sunrpc/proto.h [IS_IN_build] (_): Define.
75281         [IS_IN_build] (_libc_intl_domainname): Likewise.
75283 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75285         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75286         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75287         and R_X86_64_TPOFF64.
75289 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75291         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75292         sysdeps/unix/sysv/syscalls.list.
75293         (stime): Likewise.
75294         (utime): Likewise.
75295         * sysdeps/unix/sysv/syscalls.list: Remove file.
75297 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75299         [BZ #3440]
75300         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75301         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75302         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75303         (__LC_IDENTIFICATION): Make these macros useful in #if
75304         expressions, as required by C99.
75306 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75308         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75309         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75310         after this.
75312 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75314         * stdlib/longlong.h: Updated from GCC.
75316 2012-05-09  Andreas Jaeger  <aj@suse.de>
75318         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75319         default is first entry.
75320         (run_mode): Set type.
75321         (main): Remove informal message about syslog.
75322         (options): Fix typo.
75324         [BZ #14053]
75325         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75326         to asm.
75327         (lrint): Likewise.
75328         (llrintf): Likewise.
75329         (llrint): Likewise.
75330         (rint): Likewise.
75331         (rintf): Likewise.
75332         (nearbyint): Likewise.
75333         (nearbyintf): Likewise.
75335 2012-05-09  Andreas Jaeger  <aj@suse.de>
75336             Pedro Alves  <palves@redhat.com>
75338         * nscd/nscd.c (run_mode): Use enum.
75339         (main): Cleanup coding style issue.
75341 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75342             Andreas Jaeger  <aj@suse.de>
75344         * nscd/nscd.c (go_background): Replaced with...
75345         (run_mode): ... this.
75346         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75347         (options): Add -F --foreground.
75348         (main): Implement it.
75349         (parse_opt): Parse it.
75351 2012-05-09  Andreas Jaeger  <aj@suse.de>
75353         [BZ #14083]
75354         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75355         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75356         -Wconversion warning.
75357         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75358         Likewise.
75360 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75362         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75363         == 0.
75364         (LC_ALL): Use macro-int-constant.
75365         (LC_COLLATE): Likewise.
75366         (LC_CTYPE): Likewise.
75367         (LC_MESSAGES): Likewise.
75368         (LC_MONETARY): Likewise.
75369         (LC_NUMERIC): Likewise.
75370         (LC_TIME): Likewise.
75371         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75372         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75373         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75374         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75375         Specify type.
75376         [C99-based standards] (float_t): Expect type.
75377         [C99-based standards] (double_t): Expect type.
75378         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75379         type.
75380         [C99-based standards] (HUGE_VALL): Likewise.
75381         [C99-based standards] (INFINITY): Likewise.
75382         [C99-based standards] (NAN): Likewise.
75383         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75384         [C99-based standards] (FP_NAN): Likewise.
75385         [C99-based standards] (FP_NORMAL): Likewise.
75386         [C99-based standards] (FP_SUBNORMAL): Likewise.
75387         [C99-based standards] (FP_ZERO): Likewise.
75388         [C99-based standards] (FP_FAST_FMA): Use
75389         optional-macro-int-constant.  Specify type.  Require == 1.
75390         [C99-based standards] (FP_FAST_FMAF): Likewise.
75391         [C99-based standards] (FP_FAST_FMAL): Likewise.
75392         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75393         [C99-based standards] (FP_ILOGBNAN): Likewise.
75394         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75395         Specify type.
75396         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75397         [C99-based standards] (math_errhandling): Specify type.
75398         [ISO99 || ISO11] (signgam): Do not allow.
75399         [non-C99-based standards] (copysignf): Do not allow.
75400         [non-C99-based standards] (exp2f): Likewise.
75401         [non-C99-based standards] (log2f): Likewise.
75402         [non-C99-based standards] (modff): Allow.
75403         [non-C99-based standards] (erff): Do not allow.
75404         [non-C99-based standards] (erfcf): Likewise.
75405         [non-C99-based standards] (gammaf): Likewise.
75406         [non-C99-based standards] (hypotf): Likewise.
75407         [non-C99-based standards] (j0f): Likewise.
75408         [non-C99-based standards] (j1f): Likewise.
75409         [non-C99-based standards] (jnf): Likewise.
75410         [non-C99-based standards] (lgammaf): Likewise.
75411         [non-C99-based standards] (tgammaf): Likewise.
75412         [non-C99-based standards] (y0f): Likewise.
75413         [non-C99-based standards] (y1f): Likewise.
75414         [non-C99-based standards] (ynf): Likewise.
75415         [non-C99-based standards] (isnanf): Likewise.
75416         [non-C99-based standards] (acoshf): Likewise.
75417         [non-C99-based standards] (asinhf): Likewise.
75418         [non-C99-based standards] (atanhf): Likewise.
75419         [non-C99-based standards] (cbrtf): Likewise.
75420         [non-C99-based standards] (expm1f): Likewise.
75421         [non-C99-based standards] (ilogbf): Likewise.
75422         [non-C99-based standards] (log1pf): Likewise.
75423         [non-C99-based standards] (logbf): Likewise.
75424         [non-C99-based standards] (nextafterf): Likewise.
75425         [non-C99-based standards] (remainderf): Likewise.
75426         [non-C99-based standards] (rintf): Likewise.
75427         [non-C99-based standards] (scalbf): Likewise.
75428         [non-C99-based standards] (copysignl): Likewise.
75429         [non-C99-based standards] (exp2l): Likewise.
75430         [non-C99-based standards] (log2l): Likewise.
75431         [non-C99-based standards] (modfl): Allow.
75432         [non-C99-based standards] (erfl): Do not allow.
75433         [non-C99-based standards] (erfcl): Likewise.
75434         [non-C99-based standards] (gammal): Likewise.
75435         [non-C99-based standards] (hypotl): Likewise.
75436         [non-C99-based standards] (j0l): Likewise.
75437         [non-C99-based standards] (j1l): Likewise.
75438         [non-C99-based standards] (jnl): Likewise.
75439         [non-C99-based standards] (lgammal): Likewise.
75440         [non-C99-based standards] (tgammal): Likewise.
75441         [non-C99-based standards] (y0l): Likewise.
75442         [non-C99-based standards] (y1l): Likewise.
75443         [non-C99-based standards] (ynl): Likewise.
75444         [non-C99-based standards] (isnanl): Likewise.
75445         [non-C99-based standards] (acoshl): Likewise.
75446         [non-C99-based standards] (asinhl): Likewise.
75447         [non-C99-based standards] (atanhl): Likewise.
75448         [non-C99-based standards] (cbrtl): Likewise.
75449         [non-C99-based standards] (expm1l): Likewise.
75450         [non-C99-based standards] (ilogbl): Likewise.
75451         [non-C99-based standards] (log1pl): Likewise.
75452         [non-C99-based standards] (logbl): Likewise.
75453         [non-C99-based standards] (nextafterl): Likewise.
75454         [non-C99-based standards] (remainderl): Likewise.
75455         [non-C99-based standards] (rintl): Likewise.
75456         [non-C99-based standards] (scalbl): Likewise.
75457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75458         [non-C99-based standards] (FP_*): Do not allow.
75459         [C99-based standards] (FP_*): Change to
75460         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75461         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75462         allow.
75463         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75464         (SIG_ERR): Likewise.
75465         [X/Open-based standards] (SIG_HOLD): Likewise.
75466         (SIG_IGN): Likewise.
75467         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75468         positive value.
75469         (SIGFPE): Likewise.
75470         (SIGILL): Likewise.
75471         (SIGINT): Likewise.
75472         (SIGSEGV): Likewise.
75473         (SIGTER): Likewise.
75474         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75475         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75476         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75477         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75478         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75479         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75480         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75481         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75482         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75483         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75484         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75485         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75486         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75487         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75488         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75489         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75490         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75491         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75492         [X/Open-based standards] (SIGTRAP): Likewise.
75493         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75494         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75495         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75496         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75497         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75498         allow.
75500 2012-05-08  Ian Wienand  <ianw@vmware.com>
75502         [BZ #14080]
75503         * time/tzset.c (__tzset_parse_tz): Update default rules for
75504         daylight time changes in the Energy Policy Act of 2005.
75506 2012-05-09  Andreas Jaeger  <aj@suse.de>
75508         [BZ #13983]
75509         * elf/ldconfig.c (parse_conf): Change string to make clear that
75510         ldconfig only issued a warning if ld.so.conf does not exist.
75512 2012-05-08  David S. Miller  <davem@davemloft.net>
75514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75515         movxtod instead of popping the value on the stack.
75517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75519 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75521         * config.h.in: Add HAVE_ARM_PCS_VFP.
75523 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75525         [BZ #13979]
75526         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75527         checking but the checks are disabled for any reason.
75529 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75531         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75532         and ELF64_R_TYPE with ELFW(R_TYPE).
75534 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75536         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75537         (ulimit): Likewise.
75539         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75540         (settimeofday): Likewise.
75542 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75544         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75545         a struct th_u2 inside the union, and move tu_block/tu_code into
75546         a new th_u3 union of tu_block/tu_code inside of that.  Move
75547         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75548         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75549         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75550         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75551         (th_stuff): Change to th_u1.tu_stuff.
75552         (th_data): Define.
75553         (th_msg): Change to th_u1.th_u2.tu_data.
75555 2012-05-07  David S. Miller  <davem@davemloft.net>
75557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75559         [BZ #14074]
75560         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75561         (SETUP_PIC_REG): Use it.
75562         (SETUP_PIC_REG_LEAF): Use it.
75564 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75566         [BZ #13885]
75567         [BZ #13923]
75568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75569         USE_AS_EXPM1L.
75570         (EXPL_FINITE): Likewise.
75571         (FLDLOG): Likewise.
75572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75573         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75574         e_expl.S.
75575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75576         USE_AS_EXPM1L.
75577         (EXPL_FINITE): Likewise.
75578         (FLDLOG): Likewise.
75579         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75580         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75581         e_expl.S.
75582         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75583         test of -max_value argument for long double.
75584         * sysdeps/i386/fpu/libm-test-ulps: Update.
75585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75587 2012-05-06  David S. Miller  <davem@davemloft.net>
75589         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75590         quad soft-float symbols whose references which are compiler
75591         generated.
75592         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75594 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75596         [BZ #13884]
75597         [BZ #13914]
75598         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75599         USE_AS_EXP10L.
75600         (EXPL_FINITE): Likewise.
75601         (FLDLOG): Likewise.
75602         (c0): Likewise.
75603         (c1): Likewise.
75604         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75605         Adjust comments for base varying.
75606         (__expl_finite): Change alias to EXPL_FINITE.
75607         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75608         e_expl.S.
75609         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75610         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75611         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75612         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75613         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75614         USE_AS_EXP10L.
75615         (EXPL_FINITE): Likewise.
75616         (FLDLOG): Likewise.
75617         (c0): Likewise.
75618         (c1): Likewise.
75619         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75620         Adjust comments for base varying.
75621         (__expl_finite): Change alias to EXPL_FINITE.
75622         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75623         tests for bugs.
75624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75626         [BZ #14064]
75627         * math/libm-test.inc (check_float_internal): Correct ulp
75628         calculation for subnormal expected results.
75630 2012-05-06  Andreas Jaeger  <aj@suse.de>
75632         * Makeconfig (+math-flags): New, set to -frounding-math.
75633         (+cflags): Add +math-flags so that all of glibc gets compiled with
75634         it.
75636         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75638 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75640         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75641         Disable one test.
75643         [BZ #13787]
75644         [BZ #13922]
75645         [BZ #14036]
75646         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75647         (__ieee754_expl): Allow for and saturate large arguments.
75648         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75649         (u_threshold): Likewise.
75650         (__exp): Call __ieee754_exp before checking for overflow and
75651         underflow.
75652         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75653         (u_threshold): Likewise.
75654         (__expf): Call __ieee754_expf before checking for overflow and
75655         underflow.
75656         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75657         (u_threshold): Likewise.
75658         (__expl): Call __ieee754_expl before checking for overflow and
75659         underflow.
75660         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75661         (__ieee754_expl): Allow for and saturate large arguments.
75662         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75663         missing overflow exception on overflow.
75664         (expm1_test): Do not allow missing overflow exception on overflow.
75666         * sysdeps/i386/fpu/e_expl.c: Move to ...
75667         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75668         rather than using inline asm.
75669         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75670         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75671         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75673         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75674         (nice): Likewise.
75675         (poll): Likewise.
75676         (signal): Likewise.
75677         (time): Likewise.
75678         (times): Likewise.
75680 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75682         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75683         sysdeps/unix/common/syscalls.list.
75684         (fchmod): Likewise.
75685         (fchown): Likewise.
75686         (ftruncate): Likewise.
75687         (getrusage): Likewise.
75688         (gettimeofday): Likewise.
75689         (setpgid): Likewise.
75690         (setregid): Likewise.
75691         (setreuid): Likewise.
75692         (sigaction): Likewise.
75693         (truncate): Likewise.
75694         (vhangup): Likewise.
75695         * sysdeps/unix/common/syscalls.list: Remove file.
75696         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75697         * sysdeps/unix/sysv/linux/Implies: Likewise.
75699 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75701         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75703         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75704         Moved to ...
75705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75706         Here.
75707         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75708         to ...
75709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75710         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75711         to ...
75712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75713         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75714         to ...
75715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75716         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75717         to ...
75718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
75719         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
75720         to ...
75721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
75722         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
75723         to ...
75724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
75725         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
75726         to ...
75727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
75728         Here.
75729         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
75730         to ...
75731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
75732         Here.
75733         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
75734         to ...
75735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
75736         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
75737         Moved to ...
75738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
75739         Here.
75740         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
75741         to ...
75742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
75744 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75746         * sysdeps/unix/common/bits/dirent.h: Remove file.
75747         * sysdeps/unix/common/bits/fcntl.h: Likewise.
75749         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
75750         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
75751         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
75752         * sysdeps/unix/bsd/isatty.c: Likewise.
75753         * sysdeps/unix/bsd/tcdrain.c: Likewise.
75754         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
75755         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
75757 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75759         [BZ #13563]
75760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
75761         long double comparison inaccuracies.
75762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
75763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75765 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
75767         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
75768         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
75770 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75772         [BZ #14049]
75773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
75774         nonzero digits before rounding a hex value.
75775         * stdlib/tst-strtod.c (tests): Add another test.
75777 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75779         * sysdeps/s390/fpu/libm-test-ulps: Update.
75781 2012-05-03  Andreas Jaeger  <aj@suse.de>
75783         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
75784         does not get optimized out.
75785         (malloc_opt_barrier): New.
75787 2012-05-03  Andreas Jaeger  <aj@suse.de>
75788             Roland McGrath  <roland@hack.frob.com>
75790         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
75791         intermediate file deletion.
75792         (generated): Add .symlist files.
75794 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
75796         [BZ #13775]
75797         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
75798         Redirect under this condition.
75799         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75800         [__USE_GNU] (__dprintf_chk): Not under this condition.
75801         [__USE_GNU] (__vdprintf_chk): Likewise.
75802         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
75803         under this condition.
75804         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
75805         [__USE_XOPEN2K8] (dprintf): Define under this condition.
75806         [__USE_XOPEN2K8] (vdprintf): Likewise.
75807         [__USE_GNU] (__dprintf_chk): Not under this condition.
75808         [__USE_GNU] (__vdprintf_chk): Likewise.
75809         [__USE_GNU] (dprintf): Likewise.
75810         [__USE_GNU] (vdprintf): Likewise.
75812 2012-05-03  Roland McGrath  <roland@hack.frob.com>
75814         * elf/Makefile (common-generated): Set this instead of generated for
75815         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
75816         $(all-built-dso)-derived lists.
75818 2012-05-03  Andreas Jaeger  <aj@suse.de>
75820         * sysdeps/i386/fpu/libm-test-ulps: Update.
75822         * FAQ: Removed.
75823         * FAQ.in: Likewise.
75824         * scripts/gen-FAQ.pl: Likewise.
75825         * manual/install.texi (Installation): Point to online location of
75826         FAQ.
75827         * Makefile (files-for-dist): Remove FAQ.
75828         (FAQ): Remove.
75830 2012-05-02  Allan McRae  <allan@archlinux.org>
75832         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
75833         (LDFLAGS-reldepmod5.so): Likewise.
75834         (LDFLAGS-reldep6mod1.so): Likewise.
75835         (LDFLAGS-reldep6mod4.so): Likewise.
75836         (LDFLAGS-reldep8mod3.so): Likewise.
75837         (LDFLAGS-unload4mod1.so): Likewise.
75838         (LDFLAGS-unload4mod2.so): Likewise.
75839         (LDFLAGS-tst-initorder): Likewise.
75840         (LDFLAGS-tst-initordera2.so): Likewise.
75841         (LDFLAGS-tst-initordera3.so): Likewise.
75842         (LDFLAGS-tst-initordera4.so): Likewise.
75843         (LDFLAGS-tst-initorderb2.so): Likewise.
75844         (LDFLAGS-noload): Likewise.
75845         (LDFLAGS-next): Likewise.
75846         (LDFLAGS-order2mod1.so): Likewise.
75847         (LDFLAGS-order2mod2.so): Likewise.
75848         (LDFLAGS-tst-initorder2): Likewise.
75849         (LDFLAGS-tst-initorder2a.so): Likewise.
75850         (LDFLAGS-tst-initorder2b.so): Likewise.
75851         (LDFLAGS-tst-initorder2c.so): Likewise.
75852         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
75854 2012-05-02  David S. Miller  <davem@davemloft.net>
75856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75858 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
75860         [BZ #14055]
75861         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
75863 2012-05-02  Andreas Jaeger  <aj@suse.de>
75865         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
75866         since we manipulate rounding mode.
75867         (CPPFLAGS-test-idouble.c): Likewise.
75868         (CPPFLAGS-test-ifloat.c): Likewise.
75869         (CFLAGS-test-ldouble.c): Likewise.
75870         (CFLAGS-test-double.c): Likewise.
75871         (CFLAGS-test-float.c): Likewise.
75872         (CFLAGS-test-misc.c): Likewise.
75873         (CFLAGS-test-test-fenv.c): Likewise.
75875 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75877         [BZ #2550]
75878         [BZ #2570]
75879         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
75880         comparisons to determine direction to adjust input.
75882 2012-05-01  Roland McGrath  <roland@hack.frob.com>
75884         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
75885         output to the target.
75887         * scripts/localplt.awk: New file.
75888         * elf/Makefile ($(objpfx)check-localplt): Target removed.
75889         (check-localplt-CFLAGS): Variable removed.
75890         ($(all-built-dso:=.jmprel)): New static pattern rule.
75891         (generated): Add those targets.
75892         (localplt-built-dso): New variable.
75893         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
75895         * elf/check-localplt.c: File removed.
75897         * scripts/check-execstack.awk: New file.
75898         * elf/Makefile ($(objpfx)check-execstack): Target removed.
75899         (check-execstack-CFLAGS): Variable removed.
75900         ($(objpfx)check-execstack.h): Target removed.
75901         ($(objpfx)execstack-default): New target.
75902         (generated): Add that instead of check-execstack.h.
75903         ($(all-built-dso:=.phdr)): New static pattern rule.
75904         (generated): Add those targets.
75905         * elf/check-execstack.c: File removed.
75907         * scripts/check-textrel.awk: New file.
75908         * elf/Makefile ($(objpfx)check-textrel): Target removed.
75909         (check-textrel-CFLAGS): Variable removed.
75910         (all-built-dso): Use := to define.o
75911         ($(all-built-dso:=.dyn)): New static pattern rule.
75912         (generated): Add those targets.
75913         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
75914         * config.make.in (READELF): New substituted variable.
75915         * elf/check-textrel.c: File removed.
75917 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
75919         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75920         allow.
75921         * conform/data/ctype.h-data [C99-based standards] (isblank):
75922         Expect function.
75923         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
75924         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
75925         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75926         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
75927         Specify type.  Require positive value.
75928         (EILSEQ): Likewise.
75929         (ERANGE): Likewise.
75930         [ISO || POSIX] (EILSEQ): Do not expect.
75931         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
75932         Specify type.  Require positive value.
75933         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
75934         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
75935         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
75936         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
75937         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
75938         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
75939         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
75940         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
75941         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
75942         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
75943         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
75944         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
75945         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
75946         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
75947         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
75948         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
75949         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
75950         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
75951         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
75952         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
75953         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
75954         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
75955         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
75956         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
75957         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
75958         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
75959         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
75960         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
75961         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
75962         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
75963         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
75964         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
75965         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
75966         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
75967         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
75968         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
75969         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
75970         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
75971         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
75972         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
75973         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
75974         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
75975         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
75976         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
75977         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
75978         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
75979         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
75980         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
75981         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
75982         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
75983         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
75984         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
75985         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
75986         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
75987         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
75988         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
75989         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
75990         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
75991         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
75992         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
75993         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
75994         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
75995         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
75996         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
75997         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
75998         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
75999         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76000         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76001         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76002         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76003         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76004         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76005         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76006         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76007         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76008         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76009         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76010         Require >= 2.
76011         (FLT_ROUNDS): Expect as macro, not constant.
76012         (FLT_MANT_DIG): Use macro-int-constant.
76013         (DBL_MANT_DIG): Likewise.
76014         (LDBL_MANT_DIG): Likewise.
76015         (FLT_DIG): Likewise.
76016         (DBL_DIG): Likewise.
76017         (LDBL_DIG): Likewise.
76018         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76019         (DBL_MIN_EXP): Likewise.
76020         (LDBL_MIN_EXP): Likewise.
76021         (FLT_MAX_EXP): Use macro-int-constant.
76022         (DBL_MAX_EXP): Likewise.
76023         (LDBL_MAX_EXP): Likewise.
76024         (FLT_MAX_10_EXP): Likewise.
76025         (DBL_MAX_10_EXP): Likewise.
76026         (LDBL_MAX_10_EXP): Likewise.
76027         (FLT_MAX): Use macro-constant.
76028         (DBL_MAX): Likewise.
76029         (LDBL_MAX): Likewise.
76030         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76031         (DBL_EPSILON): Likewise.
76032         (LDBL_EPSILON): Likewise.
76033         (FLT_MIN): Likewise.
76034         (DBL_MIN): Likewise.
76035         (LDBL_MIN): Likewise.
76036         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76037         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76038         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76039         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76040         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76041         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76042         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76043         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76044         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76045         [ISO11] (FLT_TRUE_MIN): Likewise.
76046         [ISO11] (LDBL_TRUE_MIN): Likewise.
76047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76048         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76049         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76050         (SCHAR_MAX): Likewise.
76051         (UCHAR_MAX): Likewise.
76052         (CHAR_MIN): Likewise.
76053         (CHAR_MAX): Likewise.
76054         (MB_LEN_MAX): Use macro-int-constant.
76055         (SHRT_MIN): Use macro-int-constant.  Specify type.
76056         (SHRT_MAX): Likewise.
76057         (USHRT_MAX): Likewise.
76058         (INT_MAX): Likewise.
76059         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76060         bound negative.
76061         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76062         bound with "U".
76063         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76064         bound with "L".
76065         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76066         bound negative.  Suffix upper bound with "L".
76067         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76068         bound with "UL".
76069         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76070         Specify type.
76071         [C99-based standards] (LLONG_MAX): Likewise.
76072         [C99-based standards] (ULLONG_MAX): Likewise.
76073         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76074         == 0.
76075         [ISO11] (max_align_t): Require type.
76076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76078         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76079         from $CFLAGS, without defining away __attribute__ calls.
76080         (checknamespace): Use $CFLAGS_namespace.
76082         * conform/conformtest.pl (@keywords): Only include C99 keywords
76083         for standards based on C99 or C11.
76085         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76086         Disable tests.
76087         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76088         UNIX98]: Likewise.
76090         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76091         usability of symbols in #if.
76093         * conform/conformtest.pl: If macro or constant types start
76094         "promoted:", expect the symbol to be of the following type
76095         promoted by the integer promotions.
76097         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76098         in one place.  Also handle "macro-constant".
76100         * conform/conformtest.pl: Only accept expected macro values with
76101         "==".  Parse all "macro" lines in one place.
76102         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76104         * conform/conformtest.pl: Handle braced types on "constant" lines
76105         instead of handling "typed-constant".
76106         * conform/data/signal.h-data: Use "constant" instead of
76107         "typed-constant".
76109         * conform/conformtest.pl: Handle "optional-" at start of lines in
76110         one place rather than duplicating several cases.  Handle each
76111         format of "macro" line with initial "optional-".
76113         * conform/conformtest.pl: Only accept expected constant or
76114         optional-constant values with "==".  Parse all "constant" lines in
76115         one place.  Parse all "optional-constant" lines in one place.
76116         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76117         * conform/data/fmtmsg.h-data: Likewise.
76118         * conform/data/netinet/in.h-data: Likewise.
76119         * conform/data/tar.h-data: Likewise.
76120         * conform/data/limits.h-data: Use "==" form on "constant" and
76121         "optional-constant" lines.
76123         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76124         Use -std=c99 for XOPEN2K.
76125         (@knownproblems): Remove.
76126         (newtoken): Don't check %isknown.
76128         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76129         Do not expect macro.
76130         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76131         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76132         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76133         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76134         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76135         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76136         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76137         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76138         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76139         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76140         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76141         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76142         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76143         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76144         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76145         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76146         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76147         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76148         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76149         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76150         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76151         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76152         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76153         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76154         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76155         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76156         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76157         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76158         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76159         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76160         [XPG3] (acosh): Likewise.
76161         [XPG3] (asinh): Likewise.
76162         [XPG3] (atanh): Likewise.
76163         [XPG3] (cbrt): Likewise.
76164         [XPG3] (expm1): Likewise.
76165         [XPG3] (ilogb): Likewise.
76166         [XPG3] (log1p): Likewise.
76167         [XPG3] (logb): Likewise.
76168         [XPG3] (nextafter): Likewise.
76169         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76170         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76171         [XPG3] (remainder): Likewise.
76172         [XPG3] (rint): Likewise.
76173         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76174         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76175         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76176         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76177         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76178         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76179         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76180         [UNIX98 || XOPEN2K] (scalb): Expect.
76181         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76182         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76183         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76184         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76185         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76186         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76187         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76188         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76189         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76190         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76191         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76192         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76193         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76194         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76195         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76196         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76197         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76198         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76199         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76200         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76201         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76202         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76203         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76204         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76205         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76206         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76207         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76208         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76209         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76210         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76211         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76212         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76213         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76214         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76215         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76216         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76217         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76218         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76219         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76220         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76221         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76222         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76223         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76224         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76225         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76226         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76227         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76228         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76229         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76230         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76231         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76232         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76233         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76234         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76235         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76236         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76237         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76238         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76239         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76240         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76241         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76242         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76243         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76244         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76245         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76246         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76247         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76248         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76249         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76250         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76251         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76252         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76253         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76254         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76255         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76256         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76257         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76258         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76259         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76260         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76261         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76262         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76263         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76264         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76265         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76266         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76267         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76268         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76269         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76270         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76271         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76272         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76273         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76274         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76275         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76276         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76277         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76278         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76279         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76280         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76281         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76282         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76283         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76284         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76285         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76286         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76287         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76288         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76289         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76290         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76291         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76292         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76293         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76294         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76295         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76296         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76297         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76298         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76299         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76300         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76301         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76302         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76303         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76304         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76305         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76306         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76307         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76308         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76309         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76310         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76311         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76312         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76313         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76314         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76315         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76316         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76317         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76319         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76320         _XOPEN_SOURCE_EXTENDED for XPG4.
76322         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76324         * Makeconfig (localtime): Remove variable.
76325         (inst_localtime-file): Likewise.
76327 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76330         Update.
76331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76332         Update.
76333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76334         Update.
76335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76336         Update.
76337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76338         Update.
76339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76340         Update.
76341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76342         Update.
76343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76344         Update.
76345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76346         Update.
76348 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76350         [BZ #2550]
76351         [BZ #2570]
76352         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76353         comparisons to determine direction to adjust input.
76354         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76355         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76356         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76357         Likewise.
76358         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76359         Likewise.
76360         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76361         Likewise.
76362         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76363         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76364         Likewise.
76365         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76366         Likewise.
76367         * math/libm-test.inc (nexttoward_test): Add more tests.
76369 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76371         [BZ #14040]
76372         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76373         in version GLIBC_2.1, not GLIBC_2.0.
76374         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76375         Likewise.
76377 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76379         [BZ #13942]
76380         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76381         (1 - x) * (1 + x).
76382         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76383         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76384         * math/libm-test.inc (acos_test): Add more tests.
76385         (asin_test): Likewise.
76386         * sysdeps/i386/fpu/libm-test-ulps: Update.
76387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76389         [BZ #14034]
76390         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76391         of square root.
76392         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76393         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76394         * math/libm-test.inc (acos_test_tonearest): New function.
76395         (acos_test_towardzero): Likewise.
76396         (acos_test_downward): Likewise.
76397         (acos_test_upward): Likewise.
76398         (asin_test_tonearest): Likewise.
76399         (asin_test_towardzero): Likewise.
76400         (asin_test_downward): Likewise.
76401         (asin_test_upward): Likewise.
76402         (main): Call the new functions.
76403         * sysdeps/i386/fpu/libm-test-ulps: Update.
76404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76406         [BZ #13884]
76407         [BZ #13924]
76408         * math/e_exp10.c: Include <float.h>.
76409         (__ieee754_exp10): Handle underflow here rather than multiplying
76410         large negative argument by M_LN10.
76411         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76412         of __ieee754_expf.
76413         * math/e_exp10l.c: Include <float.h>.
76414         (__ieee754_exp10l): Handle underflow here rather than multiplying
76415         large negative argument by M_LN10l.
76416         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76417         spurious overflow exception on underflow.
76419 2012-04-29  Marek Polacek  <polacek@redhat.com>
76421         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76422         (__fortify_function): New macro.
76423         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76424         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76425         __extern_always_inline.
76426         * libio/bits/stdio2.h: Likewise.
76427         * libio/bits/stdio.h: Likewise.
76428         * string/string.h: Likewise.
76429         * string/bits/string3.h: Likewise.
76430         * include/stdio.h: Likewise.
76431         * stdlib/bits/stdlib.h: Likewise.
76432         * stdlib/stdlib.h: Likewise.
76433         * rt/bits/mqueue2.h: Likewise.
76434         * rt/mqueue.h: Likewise.
76435         * posix/bits/unistd.h: Likewise.
76436         * posix/unistd.h: Likewise.
76437         * io/bits/poll2.h: Likewise.
76438         * io/bits/fcntl2.h: Likewise.
76439         * io/fcntl.h: Likewise.
76440         * io/sys/poll.h: Likewise.
76441         * misc/bits/syslog.h: Likewise.
76442         * misc/bits/syslog-ldbl.h: Likewise.
76443         * misc/sys/syslog.h: Likewise.
76444         * socket/bits/socket2.h: Likewise.
76445         * socket/sys/socket.h: Likewise.
76446         * debug/tst-chk1.c: Likewise.
76447         * wcsmbs/bits/wchar2.h: Likewise.
76448         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76449         * wcsmbs/wchar.h: Likewise.
76451 2012-04-29  Andreas Jaeger  <aj@suse.de>
76453         * Makerules (tests): Remove enable-check-abi protection.
76454         (check-abi-warn): Remove.
76455         (check-abi-%): Remove check-abi-warn usage.
76457         * configure.in: Remove check-abi configure option.
76458         * configure: Regenerated.
76459         * config.make.in (enable-check-abi): Remove.
76461 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76463         [BZ #14033]
76464         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76465         double functions to double *_finite functions.
76467         [BZ #13941]
76468         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76469         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76470         LDBL_MIN_EXP.
76471         * stdio-common/Makefile (tests): Add tst-sprintf3.
76472         * stdio-common/tst-sprintf3.c: New file.
76474         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76475         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76477 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76479         * conform/conformtest.pl: Remove duplicate typed-constant
76480         handling.
76482 2012-04-28  David S. Miller  <davem@davemloft.net>
76484         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76485         (check-abi-%): Remove AWK script prerequisite and explicit
76486         abilist directory.
76487         (check-abi): Rewrite to just diff the symlist with the abilist.
76488         (config-tls, config-abi-config): Delete, no longer used.
76489         (update-abi-%): Remove AWK script and explicit abilist directory.
76490         (update-abi): Rewrite to simply compare and conditionally copy the
76491         symlist and the sysdep abilist file.  Remove update-abi-config
76492         checks.
76493         * abilist/ld.abilist: Remove.
76494         * abilist/libBrokenLocale.abilist: Remove.
76495         * abilist/libanl.abilist: Remove.
76496         * abilist/libcrypt.abilist: Remove.
76497         * abilist/libdl.abilist: Remove.
76498         * abilist/librt.abilist: Remove.
76499         * abilist/libthread_db.abilist: Remove.
76500         * abilist/libutil.abilist: Remove.
76501         * scripts/extract-abilist.awk: Remove.
76502         * scripts/merge-abilist.awk: Remove.
76503         * sysdeps/generic/libcidn.abilist: New file.
76504         * sysdeps/generic/libnss_compat.abilist: New file.
76505         * sysdeps/generic/libnss_db.abilist: New file.
76506         * sysdeps/generic/libnss_dns.abilist: New file.
76507         * sysdeps/generic/libnss_files.abilist: New file.
76508         * sysdeps/generic/libnss_hesiod.abilist: New file.
76509         * sysdeps/generic/libnss_nis.abilist: New file.
76510         * sysdeps/generic/libnss_nisplus.abilist: New file.
76511         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76512         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76513         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76514         file.
76515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76516         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76517         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76518         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76519         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76520         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76521         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76522         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76523         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76524         file.
76525         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76526         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76527         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76528         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76529         file.
76530         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76531         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76532         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76533         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76534         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76535         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76536         file.
76537         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76538         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76539         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76540         file.
76541         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76543         New file.
76544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76545         New file.
76546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76547         New file.
76548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76549         New file.
76550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76551         New file.
76552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76553         New file.
76554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76555         New file.
76556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76557         New file.
76558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76559         New file.
76560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76561         New file.
76562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76563         New file.
76564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76565         New file.
76566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76567         New file.
76568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76569         file.
76570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76571         New file.
76572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76573         New file.
76574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76575         file.
76576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76577         New file.
76578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76579         New file.
76580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76581         file.
76582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76583         New file.
76584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76585         New file.
76586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76587         New file.
76588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76589         New file.
76590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76591         New file.
76592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76593         New file.
76594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76596         file.
76597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76598         New file.
76599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76600         file.
76601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76602         file.
76603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76604         file.
76605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76606         file.
76607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76608         file.
76609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76610         New file.
76611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76612         file.
76613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76614         file.
76615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76616         New file.
76617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76618         file.
76619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76621         file.
76622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76623         New file.
76624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76625         file.
76626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76627         file.
76628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76629         file.
76630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76631         file.
76632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76633         file.
76634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76635         New file.
76636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76637         file.
76638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76639         file.
76640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76641         New file.
76642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76643         file.
76644         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76645         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76646         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76647         file.
76648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76649         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76650         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76651         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76652         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76653         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76654         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76655         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76656         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76657         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76660         file.
76661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76662         New file.
76663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76664         file.
76665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76666         file.
76667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76668         file.
76669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76670         file.
76671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76672         file.
76673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76674         New file.
76675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76676         New file.
76677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76678         file.
76679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76680         New file.
76681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76682         file.
76683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76685         file.
76686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76687         New file.
76688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76689         file.
76690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76691         file.
76692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76693         file.
76694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76695         file.
76696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76697         file.
76698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76699         New file.
76700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76701         New file.
76702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76703         file.
76704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76705         New file.
76706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76707         file.
76709 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76711         * conform/conformtest.pl: Fix typo in handling typed-constant from
76712         allow-header.
76714 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76716         * README: Cut down references to pre-2.6 Linux kernels and
76717         Linuxthreads.  Update lists of configurations in libc and ports
76718         and sort alphabetically.  Say "or newer" with Linux kernel version
76719         requirements.
76721         * config.h.in [IS_IN_build]: Allow compiling without optimization.
76723 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
76725         [BZ #887]
76726         * math/libm-test.inc (logb_test_downward): New test to expose
76727         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
76728         rounding mode.
76730 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76732         [BZ #14027]
76733         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
76734         to be done.
76735         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
76736         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
76738 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
76740         * sysdeps/unix/i386/brk.S: Remove file.
76741         * sysdeps/unix/i386/dl-brk.S: Likewise.
76742         * sysdeps/unix/i386/pipe.S: Likewise.
76743         * sysdeps/unix/i386/sigreturn.S: Likewise.
76744         * sysdeps/unix/i386/syscall.S: Likewise.
76745         * sysdeps/unix/i386/vfork.S: Likewise.
76746         * sysdeps/unix/i386/wait.S: Likewise.
76748         * sysdeps/unix/common/tcsendbrk.c: Move to ...
76749         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
76751         * configure.in (arm*-none*): Do not allow without
76752         --enable-hacker-mode.
76753         (netbsd*): Remove case setting base_os.
76754         (386bsd*): Likewise.
76755         (freebsd*): Likewise.
76756         (bsdi*): Likewise.
76757         (osf*): Likewise.
76758         (sunos*): Likewise.
76759         (ultrix*): Likewise.
76760         (newsos*): Likewise.
76761         (dynix*): Likewise.
76762         (*bsd*): Likewise.
76763         (sysv*): Likewise.
76764         (isc*): Likewise.
76765         (esix*): Likewise.
76766         (sco*): Likewise.
76767         (minix*): Likewise.
76768         (irix4*): Likewise.
76769         (irix6*): Likewise.
76770         (solaris[2-9]*): Likewise.
76771         (none): Likewise.
76772         * configure: Regenerated.
76774 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76776         [BZ #11521]
76777         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
76778         overflow or cancellation in calculating denominator.
76779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
76780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
76781         down expression to avoid unexpected rounding in newer GCCs.
76782         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
76784 2012-04-26  David S. Miller  <davem@davemloft.net>
76786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
76787         long-double compat symbols.
76788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
76792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
76794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
76795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
76796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
76797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
76798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
76799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
76800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76802 2012-04-25  David S. Miller  <davem@davemloft.net>
76804         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
76805         HWCAP_* values only after the memory barriers have been defined.
76806         (atomic_full_barrier): Define.
76807         (atomic_read_barrier): Define.
76808         (atomic_write_barrier): Define.
76810 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
76812         * shlib-versions: Add libgcc_s version information.
76813         * sysdeps/generic/libgcc_s.h: Remove.
76814         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
76815         libgcc_s.h.
76816         * sysdeps/gnu/unwind-resume.c: Likewise.
76817         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
76819 2012-04-25  David S. Miller  <davem@davemloft.net>
76821         * sysdeps/unix/sparc/brk.S: Delete.
76822         * sysdeps/unix/sparc/dl-brk.S: Delete.
76823         * sysdeps/unix/sparc/pipe.S: Delete.
76824         * sysdeps/unix/sparc/sysdep.S: Delete.
76825         * sysdeps/unix/sparc/sysdep.h: Delete.
76826         * sysdeps/unix/sparc/vfork.S: Delete.
76827         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
76828         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
76829         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
76830         (ret_ERRVAL, r0, r1, MOVE): Define.
76831         (JUMPTARGET): Remove.
76832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
76833         sysdeps/unix/sparc/sysdep.h
76834         (ENTRY, END): Remove.
76835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76837 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
76839         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
76840         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
76841         -DIS_IN_build.
76843         * timezone/README: Update upstream location and email address for
76844         tzcode and tzdata.
76845         * timezone/zdump.c: Update from tzcode 2012b.
76846         * timezone/zic.c: Likewise.
76848         * configure.in (libc_cv_as_needed): Remove test.
76849         * configure: Regenerated.
76850         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
76851         conditional definition.
76852         [$(have-as-needed) != yes] (no-as-needed): Likewise.
76853         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
76854         * config.make.in (have-as-needed): Remove variable.
76856 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76857             Paul Pluzhnikov  <ppluzhnikov@google.com>
76859         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
76860         strings correctly.
76862 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
76864         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
76865         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
76866         * sysdeps/sh/strlen.S: Likewise.
76868 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76870         * sysdeps/unix/fork.S: Remove file.
76871         * sysdeps/unix/i386/fork.S: Likewise.
76872         * sysdeps/unix/sparc/fork.S: Likewise.
76874         * sysdeps/unix/system.c: Remove file.
76875         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
76877         * sysdeps/unix/getegid.S: Remove file.
76878         * sysdeps/unix/geteuid.S: Likewise.
76880 2012-04-24  Roland McGrath  <roland@hack.frob.com>
76882         * scripts/check-localplt.awk: New file.
76883         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
76884         of diff.
76885         * scripts/data/localplt-generic.data: Add a comment.
76887         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
76888         NODE when __dir_mkfile failed.
76889         * sysdeps/mach/hurd/symlinkat.c: Likewise.
76890         Reported by Ludovic Courtès <ludo@gnu.org>.
76892 2012-04-24  Andreas Jaeger  <aj@suse.de>
76894         * Makerules (common-clean): Also remove gen-as-const-headers
76895         files.
76897 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76899         * Makerules (native-compile): Do not change working directory for
76900         build.  Use $(OUTPUT_OPTION) in command.
76901         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
76903 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76905         [BZ #13886]
76906         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
76907         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
76908         * math/libm-test.inc (floor_test): Add more tests.
76909         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
76911 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
76913         * sysdeps/unix/getdents.c: Remove file.
76914         * sysdeps/unix/sysv/getdents.c: Likewise.
76915         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
76917         * sysdeps/unix/syscalls.list (madvise): Add syscall from
76918         sysdeps/unix/mman/syscalls.list.
76919         (mmap): Likewise.
76920         (mprotect): Likewise.
76921         (msync): Likewise.
76922         (munmap): Likewise.
76923         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
76924         * sysdeps/unix/mman/syscalls.list: Remove.
76925         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
76927         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
76928         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
76929         * configure: Regenerated.
76930         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
76931         $(libgcc_s_suffix).
76932         * config.make.in (libgcc_s_suffix): Remove variable.
76934 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
76936         * sysdeps/unix/sysv/gethostname.c: Move to ...
76937         * sysdeps/posix/gethostname.c: ... here.
76939         * sysdeps/unix/execve.S: Remove file.
76941         * sysdeps/unix/_exit.S: Remove file.
76943 2012-04-23  Andreas Jaeger  <aj@suse.de>
76945         [BZ #13739]
76946         * manual/Makefile: Remove make dist support, there's no
76947         need for a stand-alone documentation tar ball.
76948         (TEXI2DVI): Define always, it's not in Makeconfig.
76949         (dist): Removed.
76950         (tar-it): Removed.
76951         (edition): Removed.
76952         (glibc-doc-$(edition).tar): Removed
76953         (%.Z): Removed.
76954         (%.gz): Removed.
76955         (%.uu): Removed.
76956         (ETAGS): Remove, it's in Makeconfig.
76957         (move-if-change): Remove, it's in Makeconfig.
76959 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
76961         [BZ #13970]
76962         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
76963         (strtod, strtof, strtold, strtol, strtoul, strtoq)
76964         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
76965         (strtod_l, strtof_l, strtold_l): Remove __wur.
76966         It is not necessarily an error to ignore strtol's return value.
76967         One can reliably look at the stored endptr to decide whether
76968         the number had valid syntax.
76970 2012-04-21  Andreas Jaeger  <aj@suse.de>
76972         [BZ #13739]
76973         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
76975 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
76977         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
76978         * sysdeps/unix/sysv/Versions: Remove file.
76980 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
76982         [BZ #13927]
76983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76985 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
76987         [BZ #7064]
76988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
76989         version from __vm86.
76991 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
76993         * sysdeps/unix/common/lxstat.c: Remove file.
76994         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
76996         * sysdeps/unix/sysv/Makefile: Remove file.
76998         * sysdeps/unix/sysv/direct.h: Remove file.
77000         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77001         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77002         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77003         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77004         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77005         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77006         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77008         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77010         * sysdeps/unix/xmknod.c: Remove file.
77011         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77013         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77015         * sysdeps/unix/sysv/i386/time.S: Remove file.
77017         * sysdeps/unix/fxstat.c: Remove file.
77018         * sysdeps/unix/xstat.c: Likewise.
77019         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77021         * sysdeps/unix/sysv/sigaction.c: Remove file.
77023         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77024         (sysdep_headers): Remove variable.
77025         [termio.h not in sysdep_headers] (generated): Likewise.
77026         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77027         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77028         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77029         * sysdeps/unix/sysv/tcflow.c: Likewise.
77030         * sysdeps/unix/sysv/tcflush.c: Likewise.
77031         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77032         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77033         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77034         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77035         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77037         * sysdeps/unix/siglist.c: Remove file.
77039         * sysdeps/unix/getppid.S: Remove file.
77041         * sysdeps/unix/mkdir.c: Remove file.
77042         * sysdeps/unix/rmdir.c: Likewise.
77044 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77046         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77047         ERR_MAX value.
77048         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77049         errlist-compat value.
77051 2012-04-18  David S. Miller  <davem@davemloft.net>
77053         * sysdeps/generic/memcopy.h (reg_char): Delete.
77054         * debug/strcat_chk.c: Use char, not reg_char.
77055         * debug/strcpy_chk.c: Likewise.
77056         * debug/strncat_chk.c: Likewise.
77057         * debug/strncpy_chk.c: Likewise.
77058         * string/memchr.c: Likewise.
77059         * string/memrchr.c: Likewise.
77060         * string/rawmemchr.c: Likewise.
77061         * string/strcat.c: Likewise.
77062         * string/strchr.c: Likewise.
77063         * string/strchrnul.c: Likewise.
77064         * string/strcmp.c: Likewise.
77065         * string/strcpy.c: Likewise.
77066         * string/strncat.c: Likewise.
77067         * string/strncmp.c: Likewise.
77068         * string/strncpy.c: Likewise.
77070 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77072         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77073         __builtin_memcopy is called when src and dest ranges are known to not
77074         overlap.
77076 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77078         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77079         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77080         fwd_align_merge macro call.
77081         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77082         bwd_align_merge macro call.
77083         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77085 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77087         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77088         bwd_align_merge macros.
77089         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77090         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77091         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77093 2012-04-18  David S. Miller  <davem@davemloft.net>
77095         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77097 2012-04-18  Andreas Jaeger  <aj@suse.de>
77099         [BZ# 6794]
77100         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77101         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77102         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77104         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77105         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77106         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77108         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77109         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77110         Adjust for changed ldbl-128 files.
77112         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77113         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77116 2012-04-17  David S. Miller  <davem@davemloft.net>
77118         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77120 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77122         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77123         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77124         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77125         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77126         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77127         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77129 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77131         [BZ #6794]
77132         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77133         * math/libm-test.inc: Add ilogb errno and exception tests.
77134         * math/w_ilogb.c: New file: ilogb wrapper.
77135         * math/w_ilogbf.c: New file: ilogbf wrapper.
77136         * math/w_ilogbl.c: New file: ilogbl wrapper.
77137         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77138         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77139         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77140         exception being thrown with 0.0 as argument.
77141         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77142         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77143         exception being thrown with 0.0 as argument.
77144         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77145         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77146         exception being thrown with 0.0 as argument.
77147         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77148         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77149         exception being thrown with 0.0 as argument.
77150         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77151         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77153         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77154         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77155         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77156         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77157         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77158         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77160 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77162         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77163         with altivec.
77165 2012-04-16  Marek Polacek  <polacek@redhat.com>
77167         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77169 2012-04-16  Marek Polacek  <polacek@redhat.com>
77171         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77172         operands of fdivp instruction.
77174 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77176         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77177         * elf/tst-auditmod3b.c: Likewise.
77178         * elf/tst-auditmod4b.c: Likewise.
77179         * elf/tst-auditmod5b.c: Likewise.
77180         * elf/tst-auditmod6b.c: Likewise.
77181         * elf/tst-auditmod6c.c: Likewise.
77182         * elf/tst-auditmod7b.c: Likewise.
77183         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77184         * sysdeps/x86_64/preconfigure.in: Likewise.
77185         * sysdeps/x86_64/preconfigure: Regenerated.
77187 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77189         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77190         __ILP32__.
77192 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77194         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77195         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77197 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77199         [BZ #13973]
77200         * locale/iso-639.def: Fix gl language name. Spotted by
77201         Yaron Shahrabani.
77203 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77205         [BZ #2074]
77206         * libio/libio.h (__io_write_fn): Update comment.
77208 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77210         [BZ #2074]
77211         * stdio.texi (Hook Functions): The user provided writer function
77212         is not allowed to return -1.
77214 2012-04-11  David S. Miller  <davem@davemloft.net>
77216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77218 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77220         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77221         Add a leading slash to rtkaio.
77223 2012-04-11  Jim Meyering  <meyering@redhat.com>
77225         [BZ #11959]
77226         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77227         It is not necessarily an error to ignore fwrite's return
77228         value.  One can reliably use ferror to test for errors after
77229         the fact.
77231 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77233         * bits/types.h (__snseconds_t): New type.
77234         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77236         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77238         (__SNSECONDS_T_TYPE): Likewise.
77239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77240         (__SNSECONDS_T_TYPE): Likewise.
77241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77242         (__SNSECONDS_T_TYPE): Likewise.
77244 2012-04-10  Andreas Jaeger  <aj@suse.de>
77246         [BZ #2636]
77247         * manual/time.texi (Processor Time): Return type of times is
77248         elapsed real time since an arbitrary point in the past.
77249         (CPU Time): Move CLK_TCK from here...
77250         (Processor Time): ...to here.  Correct description.
77251         * manual/conf.texi (Constants for Sysconf): Correct description of
77252         _SC_CLK_TCK.
77254 2012-04-10  David S. Miller  <davem@davemloft.net>
77256         [BZ #13967]
77257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77258         where the is a gap between DT_REL(A) and DT_JMPREL.
77260 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77262         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77263         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77264         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77266 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77268         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77269         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77270         (dl_main): Handle --inhibit-cache.
77271         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77272         _dl_inhibit_cache.
77273         * elf/dl-load.c (_dl_map_object): Use it.
77274         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77276 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77278         [BZ #13872]
77279         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77280         (__ieee754_powl): Saturate large exponents rather than testing for
77281         overflow of y*log2(x).
77282         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77283         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77284         exceptions.
77286         [BZ #11521]
77287         * math/s_ctan.c: Include <float.h>.
77288         (__ctan): Avoid internal overflow or cancellation in calculating
77289         denominator.
77290         * math/s_ctanf.c: Likewise.
77291         * math/s_ctanl.c: Likewise.
77292         * math/s_ctanh.c: Likewise.
77293         * math/s_ctanhf.c: Likewise.
77294         * math/s_ctanhl.c: Likewise.
77295         * math/libm-test.inc (ctan_test): Add more tests.
77296         (ctanh_test): Likewise.
77297         * sysdeps/i386/fpu/libm-test-ulps: Update.
77298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77300 2012-04-09  Andreas Jaeger  <aj@suse.de>
77302         [BZ #6894]
77303         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77304         is an optional BSD extension.
77306         [BZ #10254]
77307         * manual/stdio.texi (Opening Streams): Document additional fopen
77308         parameters.
77310 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77312         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77313         %eax without telling the compiler.
77315 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77317         [BZ # 13963]
77318         * manual/install.texi: Use sourceware.org.
77320 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77322         [BZ #13873]
77323         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77324         (__ieee754_pow): Generate overflow and underflow using huge*huge
77325         and tiny*tiny rather than just returning constant infinity or zero
77326         for large exponents.
77327         * math/libm-test.inc (pow_test): Require overflow exceptions for
77328         applicable cases of large exponents.
77330         [BZ #706]
77331         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77332         (__ieee754_pow): Use iterative multiplication algorithm only for
77333         integer exponents with absolute value below 1024.  Check for odd
77334         integer exponents when using algorithm for real exponents.
77335         * math/libm-test.inc (pow_test): Add more tests.
77336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77338 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77340         [BZ #13705]
77341         * math/libm-test.inc (exp_test): Do not allow overflow exception
77342         on underflow test.
77344 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77346         [BZ #13705]
77347         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77348         instead of __kernel_standard_f.
77350 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77352         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77353         * sysdeps/x86_64/memset_chk.S: Likewise.
77355 2012-04-08  Andreas Jaeger  <aj@suse.de>
77357         [BZ #10153]
77358         * manual/startup.texi (Environment Access): Describe return value
77359         for putenv and setenv.
77361         [BZ #6895]
77362         * manual/filesys.texi (Directory Entries): Add description for
77363         DT_LNK.
77365         [BZ #6890]
77366         * manual/filesys.texi (Directory Entries): Clarify that it's file
77367         system not operating system in the description of DT_UNKNOWN.
77369         [BZ #6578]
77370         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77372 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77374         [BZ #6649]
77375         * manual/llio.texi (Opening and Closing Files): Add cross
77376         reference to explain mode argument.
77378 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77380         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77381         * sysdeps/x86_64/memset_chk.S: Likewise.
77383 2012-04-07  David S. Miller  <davem@davemloft.net>
77385         * elf/elf.h (R_SPARC_WDISP10): Define.
77386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77387         R_SPARC_SIZE32.
77388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77389         R_SPARC_SIZE64 and R_SPARC_H34.
77391 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77393         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77394         conditions and remove no longer applicable assertion.
77396 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77398         * bits/byteswap.h: Include <features.h>.
77399         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77400         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77402 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77404         * bits/byteswap.h (__bswap_16): Removed.
77405         Include <bits/byteswap-16.h> to get __bswap_16.
77406         * sysdeps/i386/bits/byteswap.h: Likewise.
77407         * sysdeps/s390/bits/byteswap.h: Likewise.
77408         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77409         * bits/byteswap-16.h: New file.
77410         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77411         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77412         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77413         * string/Makefile (headers): Add bits/byteswap-16.h.
77415 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77417         [BZ #13895]
77418         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77419         extra indirection.
77420         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77421         * nss/tst-nss-static.c: New.
77423 2012-04-06  Robert Millan  <rmh@gnu.org>
77425         [BZ #6486]
77426         * manual/llio.texi (File Position Primitive): lseek
77427         refers to WHENCE when it really means OFFSET.
77429 2012-04-06  Andreas Jaeger  <aj@suse.de>
77431         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77432         strncmp declarations.
77434         * abilist/libc.abilist: Add __poll and __ppoll.
77436 2012-04-05  David S. Miller  <davem@davemloft.net>
77438         * scripts/check-local-headers.sh: Accept a host triplet in the
77439         path matched by the exclude regexp.
77441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77442         definition.
77443         * sysdeps/powerpc/powerpc32/dl-machine.h
77444         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77445         * sysdeps/s390/s390-32/dl-machine.h
77446         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77447         * sysdeps/sparc/sparc32/dl-machine.h
77448         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77449         * sysdeps/sparc/sparc64/dl-machine.h
77450         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77452         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77453         lazy binding.
77454         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77455         undefined symbol errors.
77457         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77458         DT_NEEDED entries.
77460 2012-04-05  Michael Matz  <matz@suse.de>
77462         [BZ #13592]
77463         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77465 2012-04-05  Andreas Jaeger  <aj@suse.de>
77467         [BZ #13908]
77468         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77469         comment.
77471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77473         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77474         which ROUND is no valid rounding mode.
77476 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77478         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77479         read again.
77480         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77482 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77484         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77485         an exception using FPU order intentionally.
77487 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77489         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77490         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77491         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77492         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77494 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77496         [BZ #12340]
77497         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77498         EINVAL when BUFLEN is too smal.
77500 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77502         [BZ #13553]
77503         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77504         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77506 2012-04-03  Andreas Jaeger  <aj@suse.de>
77508         [BZ #13938]
77509         * manual/setjmp.texi (System V contexts): Fix sentence.
77511         [BZ #13926]
77512         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77513         New macro for this case.
77514         [!__GNUC__] (__bswap_64): New inline function for this case.
77515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77516         * bits/byteswap.h: Likewise.
77517         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77518         ull, guard with __GLIBC_HAVE_LONG_LONG.
77520         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77521         __GLIBC_HAVE_LONG_LONG.
77523         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77524         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77526 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77528         [BZ #13691]
77529         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77530         inptr and inend, rather than using last_ch.
77532 2012-04-02  David S. Miller  <davem@davemloft.net>
77534         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77535         * stdio-common/printf-parse.h (read_int): Change return type to
77536         'int', return -1 on INT_MAX overflow.
77537         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77538         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77539         overflows INT_MAX.  Check for overflow of in-format-string precision
77540         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77541         SIZE_MAX not INT_MAX for integer overflow test.
77542         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77543         skip the construct in the format string but do not record anything.
77544         * stdio-common/bug22.c: Adjust to test both width/prevision
77545         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77546         explicitly for proper errno values.
77548 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77550         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77551         CHAR_MAX.
77552         * string/test-strcmp.c [! WIDE]: Likewise.
77553         * time/tst-mktime2.c: Likewise for INT_MAX.
77554         * string/test-string.h: #include <sys/param.h> for MIN.
77556         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77557         * sysdeps/i386/init-first.c (init): Likewise.
77558         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77559         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77560         * sysdeps/sh/init-first.c (init): Likewise.
77562 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77564         * po/ru.po: Update from translation team.
77565         * po/vi.po: Likewise.
77567 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77569         * resolv/nss_dns/dns-host.c: Merge copyright years.
77571 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77574         Optimize memcpy with prefetch if
77575         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77576         src, dst pointers have unequal 16 byte alignments.
77578 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77580         [BZ #13928]
77581         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77582         from a CNAME entry and return the minimum ttl for the query.
77583         (gaih_getanswer_slice): Likewise.
77585 2012-03-30  Jeff Law  <law@redhat.com>
77587         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77588         due to long keys.
77589         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77590         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77592         * resolv/nss_dns/dns-host.c: Update copyright year.
77594 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77596         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77597         requests to save a system call.  Fix check that all bytes are sent.
77599         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77600         comments for sendmmsg.
77602 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77604         [BZ #13691]
77605         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77606         with only 1 character between 0x0041 and 0x01b0.
77607         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77608         * wcsmbs/tst-mbsnrtowcs.c: New file.
77610 2012-03-29  David S. Miller  <davem@davemloft.net>
77612         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77613         small copies by hand.
77615 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77617         [BZ #13761]
77618         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77619         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77620         group memberships.
77622 2012-03-28  David S. Miller  <davem@davemloft.net>
77624         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77625         that branches into memcpy.
77626         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77627         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77628         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77629         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77630         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77631         bits.
77632         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77633         implementation too.
77634         * sysdeps/sparc/mempcpy.S: New file.
77636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77637         the IFUNC routine in the libc case.
77638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77640         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77641         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77642         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77643         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77644         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77645         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77646         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77647         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77649         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77650         loop to 256 bytes instead of 64 bytes and fix test signedness.
77652         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77653         * sysdeps/sparc/sparc32/Makefile: rather than here...
77654         * sysdeps/sparc/sparc64/Makefile: and here.
77656 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77658         * malloc/mallocbug.c: Avoid warnings about unused variables.
77660 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77662         [BZ #13760]
77663         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77664         in the right place. Discard and retry query if response is
77665         larger than input buffer size.
77667 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77669         [BZ #369]
77670         [BZ #2678]
77671         [BZ #3866]
77672         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77673         x for large integer exponent.
77674         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77675         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77676         sign of result as needed afterwards.
77677         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77678         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77679         result for underflowing pow the same as for overflow.
77680         (__kernel_standard_l): Handle powl overflow and underflow here
77681         rather than calling __kernel_standard.
77682         * math/libm-test.inc (pow_test): Add more tests.
77684         [BZ #3868]
77685         [BZ #13879]
77686         [BZ #13910]
77687         [BZ #13911]
77688         [BZ #13912]
77689         [BZ #13913]
77690         [BZ #13915]
77691         [BZ #13916]
77692         [BZ #13917]
77693         [BZ #13918]
77694         [BZ #13919]
77695         [BZ #13920]
77696         [BZ #13921]
77697         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77698         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77699         (__kernel_standard_l): New function.
77700         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77701         __kernel_standard.
77702         * math/w_acosl.c (__acosl): Likewise.
77703         * math/w_asinl.c (__asinl): Likewise.
77704         * math/w_atan2l.c (__atan2l): Likewise.
77705         * math/w_atanhl.c (__atanhl): Likewise.
77706         * math/w_coshl.c (__coshl): Likewise.
77707         * math/w_exp10l.c (__exp10l): Likewise.
77708         * math/w_exp2l.c (__exp2l): Likewise.
77709         * math/w_fmodl.c (__fmodl): Likewise.
77710         * math/w_hypotl.c (__hypotl): Likewise.
77711         * math/w_j0l.c (__j0l, __y0l): Likewise.
77712         * math/w_j1l.c (__j1l, __y1l): Likewise.
77713         * math/w_jnl.c (__jnl, __ynl): Likewise.
77714         * math/w_lgammal.c (__lgammal): Likewise.
77715         * math/w_log10l.c (__log10l): Likewise.
77716         * math/w_log2l.c (__log2l): Likewise.
77717         * math/w_logl.c (__logl): Likewise.
77718         * math/w_powl.c (__powl): Likewise.
77719         * math/w_remainderl.c (__remainderl): Likewise.
77720         * math/w_scalbl.c (sysv_scalbl): Likewise.
77721         * math/w_sinhl.c (__sinhl): Likewise.
77722         * math/w_sqrtl.c (__sqrtl): Likewise.
77723         * math/w_tgammal.c (__tgammal): Likewise.
77724         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
77725         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
77726         * math/libm-test.inc (acos_test): Add more tests.
77727         (acosh_test): Likewise.
77728         (asin_test): Likewise.
77729         (atanh_test): Likewise.
77730         (exp_test): Likewise.
77731         (exp10_test): Likewise.
77732         (exp2_test): Likewise.
77733         (expm1_test): Likewise.
77734         (lgamma_test): Likewise.
77735         (log_test): Likewise.
77736         (log10_test): Likewise.
77737         (log1p_test): Likewise.
77738         (log2_test): Likewise.
77739         (pow_test): Do not allow some spurious overflow exceptions.
77740         (sqrt_test): Add more tests.
77741         (tgamma_test): Likewise.
77742         (y0_test): Likewise.
77743         (y1_test): Likewise.
77744         (yn_test): Likewise.
77746 2012-03-27  Anton Blanchard  <anton@samba.org>
77748         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
77749         MAP_HUGETLB.
77750         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77751         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77752         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77754 2012-03-27  David S. Miller  <davem@davemloft.net>
77756         * conform/Makefile: Run run-conformtest.sh using $(BASH).
77758         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
77759         have-as-vis3 check.
77761 2012-03-27  Andreas Jaeger  <aj@suse.de>
77763         * sysdeps/x86_64/elf/configure.in: Moved to ...
77764         * sysdeps/x86_64/configure.in: ... here.
77765         * sysdeps/x86_64/elf/start.S: Moved to ...
77766         * sysdeps/x86_64/start.S: ... here.
77767         * sysdeps/x86_64/elf/configure: Delete.
77769         * sysdeps/x86_64/configure.in: Merge contents from
77770         sysdeps/i386/configure.in (without i686 check).
77772         * sysdeps/i386/elf/Versions: Merge into ...
77773         * sysdeps/i386/Versions: ... this.
77774         * sysdeps/i386/elf/Versions: Delete file.
77775         * sysdeps/i386/elf/start.S: Moved to ...
77776         * sysdeps/i386/start.S: ...here.
77777         * sysdeps/i386/elf/configure.in: Merge into...
77778         * sysdeps/i386/configure.in: ...here.
77779         * sysdeps/i386/elf/configure.in: Delete file.
77780         * sysdeps/i386/elf/configure: Delete file.
77782         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
77783         * debug/backtracesyms.c: ... here.
77784         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
77785         * debug/backtracesymsfd.c: ... here.
77786         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
77787         * sysdeps/generic/ifunc-sel.h: ... here.
77789         * sysdeps/unix/i386/start.c: Delete file.
77790         * sysdeps/unix/sparc/start.c: Delete file.
77791         * sysdeps/unix/start.c: Delete file.
77793         * sysdeps/sh/elf/configure.in: Moved to ...
77794         * sysdeps/sh/configure.in: ... here.
77795         * sysdeps/sh/elf/start.S: Moved to ...
77796         * sysdeps/sh/start.S: ... here.
77797         * sysdeps/sh/elf/configure: Delete file.
77799         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
77800         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
77801         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
77802         * sysdeps/powerpc/powerpc64/entry.h: ... here.
77803         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
77804         * sysdeps/powerpc/powerpc64/start.S: here.
77805         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
77806         * sysdeps/powerpc/powerpc64/Makefile: ... this.
77807         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
77808         * sysdeps/powerpc/powerpc64/configure.in: ... this.
77809         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
77811         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
77812         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
77813         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
77814         * sysdeps/powerpc/powerpc32/start.S: ... here.
77815         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
77816         * sysdeps/powerpc/powerpc32/configure.in: ... this.
77817         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
77819         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
77820         * sysdeps/powerpc/ifunc-sel.h: ... here.
77821         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
77822         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
77824         * sysdeps/sparc/elf/configure.in: Moved to ...
77825         * sysdeps/sparc/configure.in: ... here.
77826         * sysdeps/sparc/elf/configure: Delete file.
77827         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
77828         * sysdeps/sparc/sparc32/start.S: ... here.
77829         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
77830         * sysdeps/sparc/sparc64/start.S: ... here.
77831         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
77832         * sysdeps/sparc/sparc32/Makefile: ... this.
77833         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
77834         * sysdeps/sparc/sparc64/Makefile: ... this.
77836         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
77837         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
77838         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
77839         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
77840         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
77841         * sysdeps/s390/s390-32/setjmp.S: ... here.
77842         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
77843         * sysdeps/s390/s390-32/configure.in: ... here.
77844         * sysdeps/s390/s390-32/elf/configure: Delete file.
77845         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
77846         * sysdeps/s390/s390-32/start.S: ... here.
77848         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
77849         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
77850         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
77851         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
77852         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
77853         * sysdeps/s390/s390-64/setjmp.S: ... here.
77854         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
77855         * sysdeps/s390/s390-64/configure.in: ... here
77856         * sysdeps/s390/s390-64/elf/configure: Delete file.
77857         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
77858         * sysdeps/s390/s390-64/start.S: ... here.
77859         * sysdeps/s390/s390-64/elf/configure: Delete.
77861         * configure.in: Remove support for elf directories in sysdeps.
77863         * configure: Regenerated.
77864         * sysdeps/i386/configure: Regenerated.
77865         * sysdeps/powerpc/powerpc32/configure: Regenerated.
77866         * sysdeps/powerpc/powerpc64/configure: Regenerated.
77867         * sysdeps/s390/s390-32/configure: Regenerated.
77868         * sysdeps/s390/s390-64/configure: Regenerated.
77869         * sysdeps/sh/configure: Regenerated.
77870         * sysdeps/sparc/configure: Regenerated.
77871         * sysdeps/x86_64/configure: Regenerated.
77873 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
77875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
77878         denormal result into account.
77880 2012-03-25  Roland McGrath  <roland@hack.frob.com>
77882         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
77883         Reported by Allan McRae <allan@archlinux.org>.
77885 2012-03-23  Jeff Law  <law@redhat.com>
77887         * nss/getnssent.c (__nss_getent): Fix typo.
77889 2012-03-23  David S. Miller  <davem@davemloft.net>
77891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77893 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
77895         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
77896         to pad to uint64_t for each field.
77897         (dl_tls_index): Replace unsigned long with uint64_t.
77899 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
77900         Paul Pluzhnikov  <ppluzhnikov@google.com>
77902         [BZ #6528]
77903         * grp/Makefile (otherlibs): Don't set it.
77904         * inet/Makefile (otherlibs): Likewise.
77905         * login/Makefile (otherlibs): Likewise.
77906         * nscd/Makefile (otherlibs): Likewise.
77907         * posix/Makefile (otherlibs): Likewise.
77908         * pwd/Makefile (otherlibs): Likewise.
77909         * rt/Makefile (otherlibs): Likewise.
77910         * sunrpc/Makefile (otherlibs): Likewise.
77911         * nss/Makefile (otherlibs): Likewise.
77912         Add libnss_files to routines and static-only-routines.
77913         ($(objpfx)getent): Remove rule.
77914         * resolv/Makefile: Add libnss_dns and libresolv to routines and
77915         static-only-routines.
77917 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77919         [BZ #13892]
77920         * math/s_cexp.c: Include <float.h>.
77921         (__cexp): Handle exp result overflowing not necessarily
77922         overflowing both real and imaginary parts of result.
77923         * math/s_cexpf.c: Likewise.
77924         * math/s_cexpl.c: Likewise.
77925         * math/libm-test.inc (cexp_test): Add more tests.
77926         * sysdeps/i386/fpu/libm-test-ulps: Update.
77927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77929 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77931         * include/link.h (ELFW): New macro.
77932         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
77933         Replace ELF64_R_TYPE with ELFW(R_TYPE).
77935 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77937         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
77938         with uint64_t.
77940 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77942         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
77943         declaration.
77944         (struct La_x32_retval): Likewise.
77946 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
77948         * sysdeps/x86_64/preconfigure.in: New file.
77949         * sysdeps/x86_64/preconfigure: New generated file.
77951 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
77953         [BZ #13824]
77954         * math/e_exp2l.c: Include <float.h>.
77955         (__ieee754_exp2l): Handle overflow and underflow cases
77956         separately.  Only pass fractional part of argument to
77957         __ieee754_expl.
77958         * math/libm-test.inc (exp2_test): Add more tests.
77960         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
77961         negating x to take absolute value.
77962         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
77963         Likewise.
77964         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77965         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
77966         Likewise.
77967         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
77968         computing low part if x was negated.
77969         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
77971 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
77973         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
77974         la_x32_gnu_pltexit.
77975         (pltexit): Cast int_retval to ptrdiff_t.
77976         * elf/tst-auditmod3b.c: Likewise.
77977         * elf/tst-auditmod4b.c: Likewise.
77978         * elf/tst-auditmod5b.c: Likewise.
77979         * elf/tst-auditmod6b.c: Likewise.
77980         * elf/tst-auditmod6c.c: Likewise.
77981         * elf/tst-auditmod7b.c: Likewise.
77983         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
77984         and x32_gnu_pltexit.
77986         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
77987         __ELF_NATIVE_CLASS.
77988         (La_x32_regs): New macro.
77989         (La_x32_retval): Likewise.
77990         (la_x32_gnu_pltenter): New function prototype.
77991         (la_x32_gnu_pltexit): Likewise.
77993 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
77995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
77996         exponent.
77998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78000         * configure.in (libc_cv_cc_nofma): Check for option to disable
78001         generation of FMA instructions.
78002         * configure: Regenerate.
78003         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78004         * sysdeps/ieee754/dbl-64/Makefile: New file.
78005         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78006         Remove brandred-fma4.
78007         (CFLAGS-brandred-fma4.c): Remove.
78008         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78009         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78010         define.
78011         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78012         define.
78014 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78016         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78017         LLONG_MAX != LONG_MAX.
78018         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78019         (_fitoa_word): Likewise.
78020         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78021         LLONG_MAX != LONG_MAX.
78022         * stdio-common/_itowa.h: Include <_itoa.h>.
78023         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78024         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78025         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78026         only if not defined.
78027         (_ITOA_WORD_TYPE): Likewise.
78028         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78029         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78031 2012-03-21  David S. Miller  <davem@davemloft.net>
78033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78035 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78037         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78038         of x86_64 when setting libc_cv_slibdir, libdir and
78039         libc_cv_localedir.
78040         * sysdeps/unix/sysv/linux/configure: Regenerated.
78042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78044         * manual/lang.texi (Old Varargs): Remove section.
78045         (How Variadic): Update menu.
78046         (va_start): Do not mention varargs.h.
78048 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78049             Joseph Myers  <joseph@codesourcery.com>
78051         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78052         link test.
78053         * configure: Regenerated.
78055 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78057         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78058         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78059         conformtest.pl
78061 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78063         * NOTES: Remove.
78064         * Makefile (files-for-dist): Remove NOTES.
78065         (NOTES): Remove rule.
78066         * README: Don't refer to NOTES.
78067         * manual/creature.texi: Don't include macros.texi.
78068         * manual/intro.texi (creature.texi): Remove comment referring to
78069         NOTES.
78071         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78072         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78073         * configure: Regenerated.
78074         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78075         LIBC_TRY_CC_OPTION.
78076         (libc_cv_as_i686): Likewise.
78077         (libc_cv_cc_avx): Likewise.
78078         (libc_cv_cc_sse2avx): Likewise.
78079         (libc_cv_cc_fma4): Likewise.
78080         (libc_cv_cc_novzeroupper): Likewise.
78081         * sysdeps/i386/configure: Regenerated.
78083         [BZ #13883]
78084         * sysdeps/i386/fpu/s_cexp.S: Remove.
78085         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78086         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78087         * math/libm-test.inc (cexp_test): Add more tests.
78088         * sysdeps/i386/fpu/libm-test-ulps: Update.
78089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78091 2012-03-21  Allan McRae  <allan@archlinux.org>
78093         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78095 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78097         [BZ #13871]
78098         * math/w_exp2.c: Do not include <float.h>.
78099         (o_threshold, u_threshold): Remove.
78100         (__exp2): Calculate result before checking finiteness and calling
78101         __kernel_standard.
78102         * math/w_exp2f.c: Likewise.
78103         * math/w_exp2l.c: Likewise.
78104         * math/libm-test.inc (exp2_test): Require overflow exception for
78105         1e6 input.
78107         [BZ #3866]
78108         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78109         range of signed 64-bit integers before using fistpll.  Remove
78110         checks for whether integers fit in mantissa bits.
78111         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78112         the range of signed 32-bit integers before using fistpl.  Remove
78113         checks for whether integers fit in mantissa bits.
78114         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78115         (__ieee754_powl): Test for y outside the range of signed 64-bit
78116         integers before using fistpll.  Reduce 64-bit values to 63-bit
78117         ones as needed.
78118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78119         divide-by-zero is raised for zero to large negative powers.
78120         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78121         (__ieee754_powl): Test for y outside the range of signed 64-bit
78122         integers before using fistpll.  Reduce 64-bit values to 63-bit
78123         ones as needed.
78124         * math/libm-test.inc (pow_test): Add more tests.
78126 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78128         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78129         <stdio-common/_itoa.h>.
78130         * debug/segfault.c: Likewise.
78131         * elf/dl-cache.c: Likewise.
78132         * elf/dl-minimal.c: Likewise.
78133         * elf/dl-misc.c: Likewise.
78134         * elf/dl-sysdep.c: Likewise.
78135         * elf/dl-version.c: Likewise.
78136         * elf/rtld.c: Likewise.
78137         * hurd/hurdsock.c: Likewise.
78138         * hurd/lookup-retry.c: Likewise.
78139         * malloc/malloc.c: Likewise.
78140         * malloc/mtrace.c: Likewise.
78141         * nscd/nscd_getgr_r.c: Likewise.
78142         * nscd/nscd_getpw_r.c: Likewise.
78143         * nscd/nscd_getserv_r.c: Likewise.
78144         * posix/getopt_init.c: Likewise.
78145         * posix/wordexp.c: Likewise.
78146         * stdio-common/_itoa.c: Likewise.
78147         * stdio-common/printf_fphex.c: Likewise.
78148         * stdio-common/vfprintf.c: Likewise.
78149         * string/_strerror.c: Likewise.
78150         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78151         * sysdeps/i386/i686/hp-timing.h: Likewise.
78152         * sysdeps/mach/_strerror.c: Likewise.
78153         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78154         * sysdeps/mach/hurd/sethostid.c: Likewise.
78155         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78156         * sysdeps/mach/xpg-strerror.c: Likewise.
78157         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78159         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78160         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78161         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78162         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78163         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78164         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78165         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78166         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78167         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78168         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78169         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78170         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78171         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78172         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78173         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78174         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78175         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78176         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78177         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78179         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78181         * stdio-common/_itoa.h: Moved to ...
78182         * sysdeps/generic/_itoa.h: Here.
78184         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78186         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78187         instead of "_itoa.h" and "_itowa.h".
78188         * stdio-common/vfprintf.: Likewise.
78190 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78192         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78193         <bits/wordsize.h>.
78194         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78195         (__signbit): Likewise.
78196         (llrintf): Likewise.
78197         (llrint): Likewise.
78199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78201         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78202         __WORDSIZE != 64.
78204 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78206         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78207         OVERFLOW_EXCEPTION_OK.
78208         * math/libm-test.inc ("Philosophy"): Update comment about
78209         exception testing.
78210         (OVERFLOW_EXCEPTION): Define.
78211         (OVERFLOW_EXCEPTION_OK): Likewise.
78212         (INVALID_EXCEPTION_OK): Renumber.
78213         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78214         (IGNORE_ZERO_INF_SIGN): Likewise.
78215         (test_exceptions): Handle FE_OVERFLOW.
78216         (exp10_test): Expect overflow exceptions.
78217         (exp2_test): Likewise.
78218         (expm1_test): Likewise.
78219         (nextafter_test): Likewise.
78220         (pow_test): Likewise.
78221         (scalbn_test): Likewise.
78222         (scalbln_test): Likewise.
78224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78226         * sysdeps/x86_64/bits/atomic.h
78227         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78228         64bit integer.
78229         (atomic_exchange_acq): Likewise.
78230         (__arch_exchange_and_add_body): Likewise.
78231         (__arch_add_body): Likewise.
78232         (atomic_add_negative): Likewise.
78233         (atomic_add_zero): Likewise.
78235 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78237         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78238         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78242         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78243         Check __x86_64__ instead of __WORDSIZE.
78245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78247         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78249 2012-03-19  David S. Miller  <davem@davemloft.net>
78251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78253         * sysdeps/sparc/fpu/fenv_private.h: New file.
78254         * sysdeps/sparc/fpu/math_private.h: Use it.
78255         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78256         Remove.
78257         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78258         (libc_feholdexcept_setroundl): Remove.
78259         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78260         Remove.
78261         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78262         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78264 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78266         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78267         int64_t instead of long int.
78268         (INSERT_WORDS64): Likewise.
78270 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78272         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78273         _Unwind_GetCFA return to _Unwind_Ptr first.
78275 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78277         [BZ #13629]
78278         * math/s_clog.c: Include <float.h>.
78279         (__clog): Scale large or subnormal inputs.
78280         * math/s_clogf.c: Likewise.
78281         * math/s_clogl.c: Likewise.
78282         * math/s_clog10.c: Include <float.h>.
78283         (M_LOG10_2): Define.
78284         (__clog10): Scale large or subnormal inputs.
78285         * math/s_clog10f.c: Likewise.
78286         * math/s_clog10l.c: Likewise.
78287         * math/libm-test.inc (clog_test): Add more tests.
78288         (clog10_test): Likewise.
78289         * sysdeps/i386/fpu/libm-test-ulps: Update.
78290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78292         [BZ #11451]
78293         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78294         x and y.
78295         * math/libm-test.inc (atan2_test): Add another test.
78297         * Makerules (common-objdir-compile): Remove.
78298         * sysdeps/unix/Makefile (config-generated): Do not add
78299         $(unix-generated) to variable.
78300         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78301         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78302         Remove rule.
78303         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78304         Likewise.
78305         [generic bits/local_lim.h] (before-compile): Do not append to
78306         variable.
78307         [generic bits/local_lim.h] (common-generated): Likewise.
78308         [generic sys/param.h] (before-compile): Do not append to variable.
78309         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78310         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78311         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78312         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78313         include.
78314         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78315         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78316         [generic sys/param.h] ($(addprefix
78317         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78318         [generic sys/param.h] (common-generated): Do not append to
78319         variable.
78320         [generic sys/param.h] (sysdep_headers): Likewise.
78321         [generic bits/errno.h] (before-compile): Do not append to
78322         variable.
78323         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78324         rule.
78325         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78326         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78327         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78328         [generic bits/errno.h] (common-generated): Do not append to
78329         variable.
78330         [generic bits/ioctls.h] (before-compile): Do not append to
78331         variable.
78332         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78333         rule.
78334         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78335         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78336         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78337         rule.
78338         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78339         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78340         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78341         [generic bits/ioctls.h] (common-generated): Do not append to
78342         variable.
78343         [generic sys/syscall.h] (syscall.h): Remove variable.
78344         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78345         rule.
78346         [generic sys/syscall.h] (before-compile): Do not append to
78347         variable.
78348         [generic sys/syscall.h] (common-generated): Likewise.
78349         * sysdeps/unix/errnos-tmpl.c: Remove file.
78350         * sysdeps/unix/errnos.awk: Likewise.
78351         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78352         * sysdeps/unix/ioctls.awk: Likewise.
78353         * sysdeps/unix/mk-local_lim.c: Likewise.
78354         * sysdeps/unix/snarf-ioctls: Likewise.
78356 2012-03-19  Richard Henderson  <rth@twiddle.net>
78358         * sysdeps/i386/fpu/fenv_private.h: New file.
78359         * sysdeps/i386/fpu/math_private.h: Use it.
78360         (math_opt_barrier, math_force_eval): Remove.
78361         (libc_feholdexcept_setround_53bit): Remove.
78362         (libc_feupdateenv_53bit): Remove.
78363         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78364         (math_opt_barrier, math_force_eval): Remove.
78365         (libc_feholdexcept): Remove.
78366         (libc_feholdexcept_setround): Remove.
78367         (libc_fetestexcept, libc_fesetenv): Remove.
78368         (libc_feupdateenv_test): Remove.
78369         (libc_feupdateenv, libc_feholdsetround): Remove.
78370         (libc_feresetround): Remove.
78372         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78373         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78375         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78376         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78377         (libc_feupdateenv_testl): New.
78378         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78379         (libc_feupdateenv_testf): New.
78380         (libc_feupdateenv): Use libc_feupdateenv_test.
78381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78382         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78384         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78385         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78386         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78387         (libc_feresetround_noex): New.
78388         (libc_feresetround_noexf): New.
78389         (libc_feresetround_noexl): New.
78390         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78391         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78392         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78393         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78394         SET_RESTORE_ROUND.
78395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78397         (__cos): Likewise.
78398         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78400         SET_RESTORE_ROUND_NOEX.
78401         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78402         SET_RESTORE_ROUND_NOEXF.
78403         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78404         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78405         (libc_feholdsetroundf): New.
78406         (libc_feresetround, libc_feresetroundf): New.
78408         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78409         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78410         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78412         * sysdeps/generic/math_private.h: Include <fenv.h>.
78413         (default_libc_feholdexcept): New.
78414         (default_libc_feholdexcept_setround): New.
78415         (default_libc_fesetenv, default_libc_feupdateenv): New.
78416         (libc_feholdexcept): Only define if undefined.
78417         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78418         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78419         (libc_feholdexcept_setroundl): Likewise.
78420         (libc_feholdexcept_setround_53bit): Likewise.
78421         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78422         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78423         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78424         (libc_feupdateenv_53bit): Likewise.
78425         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78426         (libc_feholdexcept): Convert from macro to inline function.
78427         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78428         (libc_fesetenv, libc_feupdateenv): Likewise.
78430         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78431         not previously defined.
78432         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78433         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78434         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78435         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78436         * sysdeps/ieee754/flt-32/math_private.h: New file.
78437         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78438         math_private.h below SET_FLOAT_WORD.
78439         (__isnan, __isinf_ns, __finite): Remove.
78440         (__isnanf, __isinf_nsf, __finitef): Remove.
78442 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78446 2012-03-17  David S. Miller  <davem@davemloft.net>
78448         [BZ #6471]
78449         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78450         for 2.16.
78452 2012-03-16  David S. Miller  <davem@davemloft.net>
78454         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78455         warnings.
78457         [BZ #6471]
78458         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78459         properly.
78460         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78461         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78462         sysdep_routines when subdir is sysvipc.
78463         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78464         __getshmlba helper.
78466         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78470         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78471         [__LP64__].
78473 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78476         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78477         (__lround): Renamed to ...
78478         (__llround): This.  Replace long int with long long int.
78479         Define lround functions as aliases of llround functions.
78480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78484         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78485         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78486         adresses to uintptr_t.  Replace "long int" and "unsigned long
78487         int" with "greg_t" on va_arg.
78489 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78491         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78492         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78494         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78495         Move e_machine check before EI_CLASS check.  Handle x32
78496         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78497         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78498         SKIP_EM_IA_64 and include
78499         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78501         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78502         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78503         (add_system_dir): New macro.
78505         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78506         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78508 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78510         [BZ #2551]
78511         [BZ #2552]
78512         [BZ #2553]
78513         [BZ #2554]
78514         [BZ #2562]
78515         [BZ #2563]
78516         [BZ #2565]
78517         [BZ #2566]
78518         [BZ #2576]
78519         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78520         (y0): Likewise.
78521         * math/w_j0f.c (j0f): Likewise.
78522         (y0f): Likewise.
78523         * math/w_j0l.c (__j0l): Likewise.
78524         (__y0l): Likewise.
78525         * math/w_j1.c (j1): Likewise.
78526         (y1): Likewise.
78527         * math/w_j1f.c (j1f): Likewise.
78528         (y1f): Likewise.
78529         * math/w_j1l.c (__j1l): Likewise.
78530         (__y1l): Likewise.
78531         * math/w_jn.c (jn): Likewise.
78532         (yn): Likewise.
78533         * math/w_jnf.c (jnf): Likewise.
78534         (ynf): Likewise.
78535         * math/w_jnl.c (__jnl): Likewise.
78536         (__ynl): Likewise.
78537         * math/libm-test.inc (j0_test): Add more tests.
78538         (j1_test): Likewise.
78539         (jn_test): Likewise.  Add trailing semicolon to existing test.
78540         (y0_test): Likewise.
78541         (y1_test): Likewise.
78542         * sysdeps/i386/fpu/libm-test-ulps: Update.
78543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78545         [BZ #13851]
78546         [BZ #13854]
78547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78548         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78549         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78550         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78551         (__tanl): Set errno for infinite argument.
78552         * sysdeps/i386/fpu/mptan.c: Remove.
78553         * sysdeps/i386/fpu/s_tan.S: Likewise.
78554         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78555         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78556         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78557         * math/libm-test.inc (tan_test): Add more tests and enable more
78558         tests for double and long double.
78559         * sysdeps/i386/fpu/libm-test-ulps: Update.
78560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78562 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78564         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78565         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78567 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78569         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78570         * configure.in: Use it for both main tree and add-ons.
78571         * configure: Regenerated.
78573 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78575         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78577 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78579         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78580         in comment.
78582         [BZ #13851]
78583         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78584         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78585         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78586         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78587         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78588         infinite argument.
78589         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78591         != 0 for prec == 2.
78592         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78593         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78594         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78595         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78596         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78597         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78598         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78599         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78600         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78601         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78602         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78603         * math/libm-test.inc (cos_test): Add more tests and enable more
78604         tests for long double.
78605         (sin_test): Likewise.
78606         (sincos_test): Likewise.
78607         * sysdeps/i386/fpu/libm-test-ulps: Update.
78608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78610 2012-03-16  David S. Miller  <davem@davemloft.net>
78612         * sysdeps/sparc/fpu/math_private.h: New file.
78614 2012-03-15  David S. Miller  <davem@davemloft.net>
78616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78617         file.
78618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78620         file.
78621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78627         sysdep routines.
78628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78630         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78631         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78633         * sysdeps/sparc/sparc-ifunc.h: New file.
78634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78635         sparc-ifunc.h
78636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78638         Likewise.
78639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78640         Likewise.
78641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78645         Likewise.
78646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78651         Likewise.
78652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78653         Likewise.
78654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78660         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78661         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78672         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78673         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78674         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78675         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78676         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78677         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78679 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78681         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78682         scaling.
78683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78685 2012-03-15  Andreas Jaeger  <aj@suse.de>
78687         [BZ #13852]
78688         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78689         ieee754/flt-32 implementation for sin, cos and sincos.
78690         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78691         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78692         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78693         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78694         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78695         ieee754/flt-32 implementation for tan.
78697         * math/libm-test.inc (cos_test): Enable some large input tests for
78698         float as well
78699         (sin_test): Likewise.
78700         (sincos_test): Likewise.
78701         (tan_test): Add tests for large input.
78703         * sysdeps/i386/fpu/libm-test-ulps: Update.
78705 2012-03-15  Andreas Jaeger  <aj@suse.de>
78707         [BZ #13658]
78708         * math/libm-test.inc (cos_test): Add more test cases.
78709         (sin_test): Likewise.
78710         (sincos_test): Likewise.
78712 2012-03-15  Andreas Jaeger  <aj@suse.de>
78714         [BZ #13837]
78715         * math/libm-test.inc (cos_test): Add a test case for large input
78716         value.
78717         (sin_test): Likewise.
78718         (sincos_test): Likewise.
78720 2012-03-15  Andreas Jaeger  <aj@suse.de>
78721             Joseph Myers  <joseph@codesourcery.com>
78723         [BZ #13658]
78724         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
78725         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
78726         * sysdeps/i386/fpu/branred.c: Likewise.
78727         * sysdeps/i386/fpu/dosincos.c: Likewise.
78728         * sysdeps/i386/fpu/mpa.c: Likewise.
78729         * sysdeps/i386/fpu/s_cos.S: Likewise.
78730         * sysdeps/i386/fpu/s_sin.S: Likewise.
78731         * sysdeps/i386/fpu/s_sincos.S: Likewise.
78732         * sysdeps/i386/fpu/sincos32.c: Likewise.
78734         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
78735         Define.
78736         (libc_feupdateenv_53bit): Define.
78737         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
78738         Define.
78739         (libc_feupdateenv_53bit): Define.
78741         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
78742         53 bit (without extend i386 double precision).
78744         * math/libm-test.inc (sincos_test): Add tests for large input.
78745         (sin): Likewise.
78746         (cos): Likewise.
78748         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
78750 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78754 2012-03-15  David S. Miller  <davem@davemloft.net>
78756         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
78757         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
78758         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
78759         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
78760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
78761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
78762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
78763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
78764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
78765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
78766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
78767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
78768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
78769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
78770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
78771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
78772         file.
78773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
78774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
78775         file.
78776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
78777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
78778         file.
78779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
78780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
78781         file.
78782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
78783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
78784         fmin/fmax sysdep routines.
78785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78787 2012-03-14  David S. Miller  <davem@davemloft.net>
78789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
78790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
78791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
78792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
78793         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
78794         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
78795         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
78796         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
78797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
78798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
78799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
78800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
78801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
78802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
78803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
78804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
78805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
78806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
78807         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
78808         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
78809         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
78810         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
78811         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
78812         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
78813         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
78814         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
78815         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
78816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
78817         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
78818         routines.
78819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
78820         file.
78821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
78822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
78823         file.
78824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
78825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
78826         file.
78827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
78828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
78829         file.
78830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
78831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
78832         file.
78833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
78834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
78835         file.
78836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
78837         file.
78838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
78839         file.
78840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
78841         file.
78842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
78843         New file.
78844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
78845         file.
78846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
78847         file.
78848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
78849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
78850         file.
78851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
78852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
78853         file.
78854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
78855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
78856         file.
78857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
78858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
78859         VIS3 routines.
78861         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
78862         New file.
78864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78866         * sysdeps/sparc/configure.in: New file.
78867         * sysdeps/sparc/configure: Generate.
78868         * configure.in (libc_cv_sparc_as_vis3): Substitute.
78869         * configure: Regenerate.
78870         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
78871         * config.make.in (have-as-vis3): New.
78872         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
78873         available use -Av9d instead of -Av9a.
78874         * sysdeps/sparc/sparc64/Makefile: Likewise.
78875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
78876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
78877         New file.
78878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
78879         file.
78880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
78881         New file.
78882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
78883         file.
78884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
78885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
78886         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
78887         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
78888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
78890         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
78891         fzeros/fnegs to load 0x80000000 into a float register instead of
78892         using the stack.
78893         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
78895 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78898         bits/syscall.h.
78899         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
78900         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
78901         ($(inst_includedir)/bits/syscall.h): Remove rule.
78902         ($(objpfx)bits/syscall.d): Include instead of
78903         $(objpfx)syscall-list.d.
78904         (generated): Change syscall-list.h and syscall-list.d to
78905         bits/syscall.h and bits/syscall.d.
78907 2012-03-14  Roland McGrath  <roland@hack.frob.com>
78909         [BZ #13846]
78910         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
78912 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
78914         [BZ #13841]
78915         * math/s_csqrt.c: Include <float.h>.
78916         (__csqrt): Scale large or subnormal inputs.
78917         * math/s_csqrtf.c: Likewise.
78918         * math/s_csqrtl.c: Likewise.
78919         * math/libm-test.inc (csqrt_test): Add more tests.
78920         * sysdeps/i386/fpu/libm-test-ulps: Update.
78921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78923         [BZ #13840]
78924         * math/libm-test.inc (hypot_test): Add more tests.
78926 2012-03-13  David S. Miller  <davem@davemloft.net>
78928         [BZ #13840]
78929         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
78930         double-precision for the calculation instead of scaling.
78932 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
78934         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
78935         manipulate bits before adding and subtracting TWO52[sx].
78936         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
78937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
78938         Likewise.
78939         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
78941 2012-03-13  David S. Miller  <davem@davemloft.net>
78943         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
78944         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
78945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
78946         rtld-global-offsets.h
78947         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78949         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
78950         large parameters.
78952         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
78954         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
78955         'err' in the ifdef scope in which it is actually used.
78957         * nss/nss_db/db-init.c: Include string.h
78959 2012-03-12  David S. Miller  <davem@davemloft.net>
78961         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78962         masking out of the most significant byte of random value used.
78963         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78964         Fix coding style in previous change.
78966         * sysdeps/unix/sysv/linux/kernel-features.h
78967         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
78968         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
78969         expression.
78970         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
78971         later.
78973 2012-03-11  David S. Miller  <davem@davemloft.net>
78975         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
78976         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
78977         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
78978         for 'resultvar' otherwise things get truncated on 64-bit.
78980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78981         Fix masking out of the most significant byte of random value used.
78983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78985 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
78987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78989 2012-03-09  David S. Miller  <davem@davemloft.net>
78991         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
78992         variables with appropriate CPP guards.
78993         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
78994         from the frame pointer, not the stack pointer.  Correct layout
78995         comments.  Fix test on resulting framesize and the management of
78996         the outregs buffer for pltexit.  Preserve floating point return
78997         values across _dl_call_pltexit call.
78998         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
78999         framesize and the management of the outregs buffer for pltexit.
79000         Preserve floating point return values across _dl_call_pltexit
79001         call.
79002         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79003         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79004         (la_sparc64_gnu_pltexit): New functions.
79005         (print_exit): Fix format string for return register value.
79007 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79009         * sunrpc/Makefile (others): Add rpcgen.
79010         ($(objpfx)rpcgen): Remove special build rule and dependency on
79011         libc.
79012         * sunrpc/rpcgen.c: New file.
79014 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79016         [BZ #13673]
79017         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79018         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79019         * sysdeps/i386/crti.S: Likewise.
79020         * sysdeps/i386/crtn.S: Likewise.
79021         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79022         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79023         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79024         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79025         * sysdeps/sh/crti.S: Likewise.
79026         * sysdeps/sh/crtn.S: Likewise.
79027         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79029         [BZ #13673]
79030         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79031         with URL.
79032         * locale/programs/locfile-kw.gperf: Likewise.
79033         * locale/programs/charmap-kw.h: Regenerated.
79034         * locale/programs/locfile-kw.h: Likewise.
79036         [BZ #13673]
79037         * intl/plural.y: Replace FSF snail mail address with URL.
79038         * intl/plural.c: Regenerated.
79040 2012-03-09  Richard Henderson  <rth@twiddle.net>
79042         * include/math_private.h: Remove file.
79043         * math/math_private.h: Move file ...
79044         * sysdeps/generic/math_private.h: ... here.
79046         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79047         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79048         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79050         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79051         and <math_private.h>.
79052         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79053         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79054         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79055         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79056         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79057         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79058         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79060         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79061         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79063         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79064         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79066         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79067         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79068         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79069         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79070         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79071         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79073         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79074         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79076         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79077         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79078         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79079         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79082         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79083         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79084         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79085         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79086         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79087         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79088         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79089         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79090         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79091         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79092         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79093         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79094         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79095         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79096         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79097         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79098         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79099         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79100         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79101         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79102         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79103         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79104         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79105         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79106         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79107         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79108         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79109         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79110         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79111         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79113         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79115         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79116         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79117         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79118         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79119         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79120         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79121         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79122         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79123         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79124         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79125         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79126         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79128         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79132         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79133         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79135         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79136         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79138         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79139         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79140         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79141         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79142         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79143         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79144         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79146         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79147         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79148         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79149         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79150         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79152         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79153         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79154         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79155         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79156         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79157         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79158         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79159         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79160         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79162         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79163         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79164         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79165         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79166         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79167         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79168         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79169         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79170         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79171         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79172         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79173         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79174         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79175         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79176         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79177         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79178         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79179         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79180         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79181         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79182         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79183         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79184         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79185         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79186         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79187         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79188         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79189         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79190         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79191         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79193         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79194         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79195         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79196         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79197         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79198         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79199         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79200         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79201         * sysdeps/ieee754/k_standard.c: Likewise.
79202         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79203         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79205         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79206         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79207         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79208         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79209         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79210         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79211         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79212         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79214         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79215         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79216         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79217         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79218         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79219         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79220         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79221         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79222         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79223         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79224         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79225         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79226         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79227         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79228         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79229         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79230         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79232         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79233         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79234         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79235         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79236         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79237         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79238         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79239         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79240         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79241         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79242         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79243         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79244         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79245         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79246         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79247         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79253         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79254         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79255         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79256         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79257         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79258         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79259         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79263         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79264         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79265         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79270         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79272         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79278         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79279         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79281         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79282         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79284         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79285         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79286         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79287         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79288         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79289         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79293         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79294         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79295         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79296         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79297         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79298         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79299         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79300         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79303         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79304         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79305         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79306         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79309         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79310         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79311         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79312         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79313         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79314         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79315         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79316         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79317         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79318         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79319         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79320         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79321         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79322         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79323         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79324         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79325         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79326         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79327         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79328         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79329         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79330         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79332         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79333         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79334         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79335         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79336         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79337         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79338         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79339         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79341         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79342         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79343         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79344         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79345         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79346         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79347         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79348         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79349         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79350         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79351         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79352         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79353         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79354         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79355         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79356         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79357         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79358         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79359         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79360         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79361         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79362         * sysdeps/ieee754/s_lib_version.c: Likewise.
79363         * sysdeps/ieee754/s_matherr.c: Likewise.
79364         * sysdeps/ieee754/s_signgam.c: Likewise.
79365         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79366         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79367         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79368         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79369         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79370         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79371         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79372         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79373         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79374         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79375         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79376         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79377         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79378         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79379         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79380         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79381         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79382         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79383         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79384         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79385         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79387 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79389         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79390         * sunrpc/rpc_main.c: Likewise.
79391         * sunrpc/rpc_svcout.c: Likewise.
79393 2012-03-09  David S. Miller  <davem@davemloft.net>
79395         * include/math_private.h: New file.
79397 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79399         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79400         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79401         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79402         from <bits/socket_type.h>.
79403         (enum __socket_type): Don't define here.
79404         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79406         bits/socket_type.h.
79408         [BZ #13566]
79409         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79410         checking __USE_GNU.
79412         * Makerules ($(inst_includedir)/%.h): New rule.
79413         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79414         (install-others): Remove variable setting.
79415         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79417 2012-03-08  Richard Henderson  <rth@twiddle.net>
79419         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79420         from macro to inline function; merge with the
79421         !__LIBC_INTERNAL_MATH_INLINES version.
79422         (__ieee754_sqrtf): Likewise.
79424         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79425         to inline function.
79426         (__rintf, __floor, __floorf): Likewise.
79428         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79429         macro to inline function.
79430         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79432         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79433         not <math/math_private.h>.
79435 2012-03-08  David S. Miller  <davem@davemloft.net>
79437         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79438         copyright year.
79439         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79441 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79443         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79444         normalization.
79445         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79446         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79448 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79450         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79451         be defined individually, they must be defined as a block.  Define
79452         S for printing a string instead of hidint the different by using a
79453         macro for adding the 'l'.
79454         * stdio-common/tst-fphex-wide.c: Adjust.
79456 2012-03-07  Marek Polacek  <polacek@redhat.com>
79458         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79460 2012-03-08  Marek Polacek  <polacek@redhat.com>
79462         [BZ #13806]
79463         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79464         * stdio-common/tst-fphex.c: Define a few macros to make the
79465         test reusable.  Use them.
79466         * stdio-common/tst-fphex-wide.c: New file.
79468 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79470         [BZ #6911]
79471         * manual/macros.texi (gnusystems): New macro.
79472         (nongnusystems): Likewise.
79473         (gnulinuxhurdsystems): Likewise.
79474         (gnuhurdsystems): Likewise..
79475         (gnulinuxsystems): Likewise.
79476         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79477         variants of the GNU system, not "GNU system".
79478         * manual/conf.texi: Likewise.
79479         * manual/errno.texi: Likewise.  Update example of errno macro
79480         expansion.
79481         * manual/filesys.texi: Likewise.
79482         (getumask): Document as specific to GNU/Hurd.
79483         * manual/install.texi: Likewise.  Reword some references to
79484         GNU/Linux.
79485         * manual/intro.texi: Likewise.
79486         * manual/io.texi: Likewise.
79487         (File Name Portability): Detail which constraints are inapplicable
79488         to all GNU systems and which are only inapplicable to GNU/Hurd.
79489         * manual/job.texi: Likewise.
79490         * manual/llio.texi: Likewise.
79491         (O_NOCTTY): Document as present on GNU/Linux.
79492         * manual/maint.texi: Likewise.
79493         * manual/memory.texi: Likewise.
79494         * manual/pattern.texi: Likewise.
79495         * manual/pipe.texi: Likewise.
79496         * manual/process.texi: Likewise.
79497         * manual/resource.texi: Likewise.
79498         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79499         child on GNU/Hurd.
79500         * manual/setjmp.texi: Likewise.
79501         * manual/signal.texi: Likewise.
79502         * manual/startup.texi: Likewise.
79503         * manual/stdio.texi: Likewise.
79504         * manual/terminal.texi: Likewise.
79505         (ONLCR): Document as POSIX.
79506         (OXTABS): Document availability on GNU/Linux as XTABS.
79507         (ONOEOT): Document availability separately from other bits.
79508         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79509         * manual/time.texi: Likewise.
79510         * manual/users.texi: Likewise.
79511         * INSTALL: Regenerated.
79512         * sysdeps/gnu/errlist.c: Regenerated.
79514         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79515         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79516         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79517         puts.
79518         * configure: Regenerated.
79520 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79522         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79523         default includes instead of AC_HEADER_CHECK.
79524         * sysdeps/i386/configure: Regenerated.
79526         [BZ #10716]
79527         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79528         * math/s_cacoshf.c (__cacoshf): Likewise.
79529         * math/s_cacoshl.c (__cacoshl): Likewise.
79530         * math/s_casinh.c (__casinh): Set signs of result from argument.
79531         * math/s_casinhf.c (__casinhf): Likewise.
79532         * math/s_casinhl.c (__casinhl): Likewise.
79533         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79534         (casinh_test): Add more tests.
79535         * sysdeps/i386/fpu/libm-test-ulps: Update.
79536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79538 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79540         * po/zh_TW.po: Update from translation team.
79542         * login/Makefile (distribute): Remove variable.
79543         * catgets/Makefile: Likewise.
79544         * mach/Makefile: Likewise.
79545         * malloc/Makefile: Likewise.
79546         * misc/Makefile: Likewise.
79547         * iconv/Makefile: Likewise.
79548         * nscd/Makefile: Likewise.
79549         * hurd/Makefile: Likewise.
79550         * manual/Makefile: Likewise.
79551         * locale/Makefile: Likewise.
79552         * intl/Makefile: Likewise.
79553         * conform/Makefile: Likewise.
79554         * nss/Makefile: Likewise.
79555         * time/Makefile: Likewise.
79556         * soft-fp/Makefile: Likewise.
79557         * dirent/Makefile: Likewise.
79558         * gmon/Makefile: Likewise.
79559         * po/Makefile: Likewise.
79560         * rt/Makefile: Likewise.
79561         * socket/Makefile: Likewise.
79562         * math/Makefile: Likewise.
79563         * signal/Makefile: Likewise.
79564         * debug/Makefile: Likewise.
79565         * elf/Makefile: Likewise.
79566         * timezone/Makefile: Likewise.
79567         * stdlib/Makefile: Likewise.
79568         * iconvdata/Makefile: Likewise.
79569         * sunrpc/Makefile: Likewise.
79570         * io/Makefile: Likewise.
79571         * argp/Makefile: Likewise.
79572         * inet/Makefile: Likewise.
79573         * hesiod/Makefile: Likewise.
79574         * grp/Makefile: Likewise.
79575         * csu/Makefile: Likewise.
79576         * wctype/Makefile: Likewise.
79577         * crypt/Makefile: Likewise.
79578         * libio/Makefile: Likewise.
79579         * string/Makefile: Likewise.
79580         * nis/Makefile: Likewise.
79581         * resolv/Makefile: Likewise.
79582         * stdio-common/Makefile: Likewise.
79583         * wcsmbs/Makefile: Likewise.
79584         * dlfcn/Makefile: Likewise.
79585         * posix/Makefile: Likewise.
79587         [BZ #6959]
79588         * timezone/Makefile: Don't install timezone files, just the programs
79589         and scripts.
79591 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79593         * nss/databases.def: Add missing gshadow entry.
79595         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79597 2012-03-06  Marek Polacek  <polacek@redhat.com>
79599         [BZ #13726]
79600         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79601         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79602         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79603         * stdio-common/tst-long-dbl-fphex.c: New file.
79605 2012-03-06  David S. Miller  <davem@davemloft.net>
79607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79608         (set_obp_int): New function.
79609         (get_obp_int): New function.
79610         (__get_clockfreq_via_dev_openprom): Likewise.
79611         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79612         Avoid unused variable warnings on 'val' and use builtin_expect.
79613         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79614         __builtin_expect.
79615         (INLINE_CLONE_SYSCALL): Likewise.
79617 2012-03-05  David S. Miller  <davem@davemloft.net>
79619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79621 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79625         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79626         only for |x| >= 40.
79627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79629 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79632         Replace gettimeofday with __vdso_gettimeofday.
79634         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79635         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79636         __vdso_clock_gettime and __vdso_getcpu.
79638         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79639         time with __vdso_time.
79641 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79643         * manual/lang.texi (size_t): Note types to which size_t may be
79644         equivalent with the GNU C Library, but do not describe when
79645         differences between them are significant.
79647 2012-03-05  Andreas Jaeger  <aj@suse.de>
79649         * sysdeps/i386/fpu/libm-test-ulps: Update.
79651 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79653         [BZ #3976]
79654         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79655         (__ieee754_pow): Save and restore rounding mode and use
79656         round-to-nearest for main computations.
79657         * math/libm-test.inc (pow_test_tonearest): New function.
79658         (pow_test_towardzero): Likewise.
79659         (pow_test_downward): Likewise.
79660         (pow_test_upward): Likewise.
79661         (main): Call the new functions.
79662         * sysdeps/i386/fpu/libm-test-ulps: Update.
79663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79665         [BZ #3976]
79666         * math/libm-test.inc (cosh_test_tonearest): New function.
79667         (cosh_test_towardzero): Likewise.
79668         (cosh_test_downward): Likewise.
79669         (cosh_test_upward): Likewise.
79670         (sinh_test_tonearest): Likewise.
79671         (sinh_test_towardzero): Likewise.
79672         (sinh_test_downward): Likewise.
79673         (sinh_test_upward): Likewise.
79674         (main): Call the new functions.
79675         * sysdeps/i386/fpu/libm-test-ulps: Update.
79676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79678 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79680         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79681         default stack guard is set in last bytes.
79682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79684 2012-03-05  Kees Cook  <keescook@chromium.org>
79686         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79688         [BZ #13656]
79689         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79690         possibly allocate from heap instead of stack.
79691         * stdio-common/bug-vfprintf-nargs.c: New file.
79692         * stdio-common/Makefile (tests): Add nargs overflow test.
79694 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79698 2012-03-03  Marek Polacek  <polacek@redhat.com>
79700         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79701         * math/math_private.h: Likewise.
79702         * stdlib/tst-strtod.c: Likewise.
79703         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79704         * sysdeps/x86_64/bits/atomic.h: Likewise.
79706 2012-03-02  David S. Miller  <davem@davemloft.net>
79708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79712         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79713         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79714         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79715         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79717 2012-03-02  Roland McGrath  <roland@hack.frob.com>
79719         [BZ #13792]
79720         * manual/examples/README: New file, says the example source files
79721         can be used under GPL>=2.
79722         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
79723         line containing just "*/".
79724         * manual/examples/add.c: Add copyright header (GPL>=2).
79725         * manual/examples/argp-ex1.c: Likewise.
79726         * manual/examples/argp-ex2.c: Likewise.
79727         * manual/examples/argp-ex3.c: Likewise.
79728         * manual/examples/argp-ex4.c: Likewise.
79729         * manual/examples/atexit.c: Likewise.
79730         * manual/examples/db.c: Likewise.
79731         * manual/examples/dir.c: Likewise.
79732         * manual/examples/dir2.c: Likewise.
79733         * manual/examples/execinfo.c: Likewise.
79734         * manual/examples/filecli.c: Likewise.
79735         * manual/examples/filesrv.c: Likewise.
79736         * manual/examples/fmtmsgexpl.c: Likewise.
79737         * manual/examples/genpass.c: Likewise.
79738         * manual/examples/inetcli.c: Likewise.
79739         * manual/examples/inetsrv.c: Likewise.
79740         * manual/examples/isockad.c: Likewise.
79741         * manual/examples/longopt.c: Likewise.
79742         * manual/examples/memopen.c: Likewise.
79743         * manual/examples/memstrm.c: Likewise.
79744         * manual/examples/mkfsock.c: Likewise.
79745         * manual/examples/mkisock.c: Likewise.
79746         * manual/examples/mygetpass.c: Likewise.
79747         * manual/examples/pipe.c: Likewise.
79748         * manual/examples/popen.c: Likewise.
79749         * manual/examples/rprintf.c: Likewise.
79750         * manual/examples/search.c: Likewise.
79751         * manual/examples/select.c: Likewise.
79752         * manual/examples/setjmp.c: Likewise.
79753         * manual/examples/sigh1.c: Likewise.
79754         * manual/examples/sigusr.c: Likewise.
79755         * manual/examples/stpcpy.c: Likewise.
79756         * manual/examples/strdupa.c: Likewise.
79757         * manual/examples/strftim.c: Likewise.
79758         * manual/examples/strncat.c: Likewise.
79759         * manual/examples/subopt.c: Likewise.
79760         * manual/examples/swapcontext.c: Likewise.
79761         * manual/examples/termios.c: Likewise.
79762         * manual/examples/testopt.c: Likewise.
79763         * manual/examples/testpass.c: Likewise.
79764         * manual/examples/timeval_subtract.c: Likewise.
79766         [BZ #13792]
79767         * manual/time.texi (Elapsed Time): Move timeval_subtract example
79768         function to ...
79769         * manual/timeval_subtract.c.texi: ... here, new file.
79771 2012-03-02  David S. Miller  <davem@davemloft.net>
79773         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
79775 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
79777         [BZ #3976]
79778         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
79779         (__sin): Save and restore rounding mode and use round-to-nearest
79780         for all computations.
79781         (__cos): Save and restore rounding mode and use round-to-nearest
79782         for all computations.
79783         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
79784         <fenv.h>.
79785         (tan): Save and restore rounding mode and use round-to-nearest for
79786         all computations.
79787         * math/libm-test.inc (cos_test_tonearest): New function.
79788         (cos_test_towardzero): Likewise.
79789         (cos_test_downward): Likewise.
79790         (cos_test_upward): Likewise.
79791         (sin_test_tonearest): Likewise.
79792         (sin_test_towardzero): Likewise.
79793         (sin_test_downward): Likewise.
79794         (sin_test_upward): Likewise.
79795         (tan_test_tonearest): Likewise.
79796         (tan_test_towardzero): Likewise.
79797         (tan_test_downward): Likewise.
79798         (tan_test_upward): Likewise.
79799         (main): Call the new functions.
79800         * sysdeps/i386/fpu/libm-test-ulps: Update.
79801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79803         [BZ #10135]
79804         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
79805         small n, then large n, before computing and testing k+n.
79806         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
79807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
79808         Likewise.
79809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
79810         Likewise.
79811         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
79812         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
79813         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
79814         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
79815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
79816         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
79817         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
79818         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
79819         * math/libm-test.inc (scalbn_test): Add more tests.
79820         (scalbln_test): Likewise.
79822         * manual/filesys.texi (mode_t): Describe constraints on size and
79823         signedness, not exact equivalence to a particular type.
79824         (ino_t): Likewise.
79825         (ino64_t): Likewise.
79826         (dev_t): Likewise.
79827         (nlink_t): Likewise.
79828         (blkcnt_t): Likewise.
79829         (blkcnt64_t): Likewise.
79830         * manual/llio.texi (off_t): Likewise.
79832         [BZ #3976]
79833         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
79834         (__ieee754_exp): Save and restore rounding mode and use
79835         round-to-nearest for all computations.
79836         * math/libm-test.inc (exp_test_tonearest): New function.
79837         (exp_test_towardzero): Likewise.
79838         (exp_test_downward): Likewise.
79839         (exp_test_upward): Likewise.
79840         (main): Call the new functions.
79841         * sysdeps/i386/fpu/libm-test-ulps: Update.
79842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79844 2012-03-01  Chris Demetriou  <cgd@google.com>
79846         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
79847         have predictable order.
79849 2012-03-01  David S. Miller  <davem@davemloft.net>
79851         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
79853         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
79854         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
79855         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
79856         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
79858         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
79859         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
79860         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
79861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
79862         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
79863         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
79864         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
79865         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
79866         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
79868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
79871         * sysdeps/sparc/fpu/libm-test-ulps: to here.
79872         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
79874         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
79875         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
79876         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
79877         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
79878         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
79879         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
79880         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
79881         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
79882         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
79883         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
79884         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
79885         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
79886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79887         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
79888         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
79889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79890         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
79891         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
79892         * sysdeps/sparc/elf/configure: Regenerated.
79894 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
79896         * configure.in (AS, LD): Require binutils 2.20 or later.
79897         * configure: Regenerated.
79898         * manual/install.texi (Tools for Compilation): Give binutils 2.20
79899         as required minimum version.
79900         * INSTALL: Regenerated.
79902         [BZ #2541]
79903         [BZ #4108]
79904         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
79905         before squaring exponent.
79906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
79907         bottom long double and 27 bits of top long double before squaring
79908         exponent.
79909         * math/libm-test.inc (erfc_test): Add more tests.
79910         * sysdeps/i386/fpu/libm-test-ulps: Update.
79911         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
79912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79914 2012-03-01  Kai Tietz  <ktietz@redhat.com>
79916         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
79917         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
79918         containing bit-fields.
79919         * soft-fp/extended.h (_FP_UNION_E): Likewise.
79920         * soft-fp/single.h (_FP_UNION_S): Likewise.
79921         * soft-fp/double.h (_FP_UNION_D): Likewise.
79923 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79925         [BZ #13786]
79926         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
79927         not include ../strcmp.S.
79928         [USE_AS_STRNCASECMP_L]: Likewise.
79929         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
79930         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
79931         * sysdeps/i386/i686/multiarch/strncase_l-c.c
79932         (__strncasecmp_l_ia32): Define as alias to
79933         __strncasecmp_l_nonascii.
79935         [BZ #5794]
79936         * math/libm-test.inc (expm1_test): Add test for bug 5794.
79937         * sysdeps/i386/fpu/libm-test-ulps: Update.
79938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79940         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
79941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79943 2012-02-29  Jeff Law  <law@redhat.com>
79945         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
79946         out of bounds read.
79948 2012-02-29  Marek Polacek  <polacek@redhat.com>
79950         [BZ #13706]
79951         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
79952         * elf/Makefile: Add rules to run tst-unused-dep.out.
79954 2012-02-28  David S. Miller  <davem@davemloft.net>
79956         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
79957         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
79958         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
79959         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
79960         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
79961         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
79963 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
79965         * math/libm-test.inc (llround_test): Move one test from
79966         lround_test.  Use TEST_f_L in moved test.
79967         (lround_test): Move misplaced test to llround_test.  Add testcase
79968         from bug 2561.
79970 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
79972         * sysdeps/x86_64/fpu/e_expf.S: New file.
79973         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
79975 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
79977         [BZ #13637]
79978         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
79979         of remain_len that may cause incomplete multi-byte character and
79980         false match.
79981         * posix/bug-regex33.c: New file.
79982         * posix/Makefile (tests): Add bug-regex33.
79984 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
79986         * manual/macros.texi: New file.
79987         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
79988         * manual/libc.texinfo: Include macros.texi.
79989         * manual/creatute.texi: Likewise.
79990         * manual/install.texi: Likewise.
79991         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
79992         @glibcadj{} in references to the GNU C Library.
79993         * manual/charset.texi: Likewise.
79994         * manual/conf.texi: Likewise.
79995         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
79996         when not using those macros.
79997         * manual/creature.texi: Likewise.
79998         * manual/crypt.texi: Likewise.
79999         * manual/errno.texi: Likewise.
80000         * manual/filesys.texi: Likewise.
80001         * manual/header.texi: Likewise.
80002         * manual/install.texi: Likewise.
80003         * manual/intro.texi: Likewise.
80004         * manual/io.texi: Likewise.
80005         * manual/job.texi: Likewise.
80006         * manual/lang.texi: Likewise.
80007         * manual/libc.texiinfo: Likewise.
80008         * manual/llio.texi: Likewise.
80009         * manual/locale.texi: Likewise.
80010         * manual/maint.texi: Likewise.
80011         * manual/math.texi: Likewise.
80012         * manual/memory.texi: Likewise.
80013         * manual/message.texi: Likewise.
80014         * manual/nss.texi: Likewise.
80015         * manual/pattern.texi: Likewise.
80016         * manual/process.texi: Likewise.
80017         * manual/resource.texi: Likewise.
80018         * manual/search.texi: Likewise.
80019         * manual/setjmp.texi: Likewise.
80020         * manual/signal.texi: Likewise.
80021         * manual/socket.texi: Likewise.
80022         * manual/startup.texi: Likewise.
80023         * manual/stdio.texi: Likewise.
80024         * manual/string.texi: Likewise.
80025         * manual/sysinfo.texi: Likewise.
80026         * manual/syslog.texi: Likewise.
80027         * manual/terminal.texi: Likewise.
80028         * manual/time.texi: Likewise.
80029         * manual/users.texi: Likewise.
80030         * INSTALL: Regenerated.
80031         * NOTES: Regenerated.
80032         * sysdeps/gnu/errlist.c: Regenerated.
80034 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80036         * include/dirent.h: Include <dirstream.h> before
80037         <dirent/dirent.h>.
80039 2012-02-28  David S. Miller  <davem@davemloft.net>
80041         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80042         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80043         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80044         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80046 2012-02-27  David S. Miller  <davem@davemloft.net>
80048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80050         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80051         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80054         frame pointer instead of stack pointer relative arg slot.
80055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80056         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80057         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80059 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80061         [BZ #3992]
80062         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80064 2012-02-27  David S. Miller  <davem@davemloft.net>
80066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80072         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80075 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80077         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80078         later.  Allow versions 5-9.
80079         * configure: Regenerated.
80080         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80081         required minimum version and 4.6 as recommended version.  Do not
80082         mention bugs in GCC 2.7 and 2.8.
80083         * INSTALL: Regenerated.
80085 2012-02-27  David S. Miller  <davem@davemloft.net>
80087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80091         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80092         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80093         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80094         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80096         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80097         manipulate bits before adding and subtracting TWO112[sx].
80098         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80100 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80102         [BZ #13775]
80103         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80104         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80105         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80106         being in POSIX, because they are in 1003.1-2008.
80108         * rt/tst-aio.c: Include <fcntl.h>.
80109         * rt/tst-aio7.c: Likewise.
80110         * rt/tst-aio64.c: Likewise.
80112         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80114 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80116         * manual/install.texi (--with-headers): Describe headers as
80117         interface headers, not private headers.
80118         (Specific advice for GNU/Linux systems): Describe use of headers
80119         from "make headers_install", not private headers from older
80120         kernels.
80121         * INSTALL: Regenerated.
80122         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80123         Change to 2.6.19.
80124         * sysdeps/unix/sysv/linux/configure: Regenerated.
80126         * manual/llio.texi (fclean): Remove documentation.
80128         * manual/Makefile (libc-texi-generated): New variable.  Include
80129         version.texi.
80130         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80131         $(libc-texi-generated), not duplicated list of files.
80132         (version.texi, stamp-version): New rules.
80133         (realclean): Remove $(libc-texi-generated), not individual files
80134         from that list.  Do not remove dir-add.texinfo.
80135         * manual/libc.texinfo: Comment out uses of edition numbers and
80136         references to printed manual.  Remove last-updated dates.
80137         (EDITION): Comment out.
80138         (ISBN): Likewise.
80139         (VERSION, UPDATED): Remove.
80140         (version.texi): Include.
80142 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80144         * sysdeps/posix/spawni.c: Include <signal.h>.
80145         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80146         * sysdeps/pthread/aio_fsync.c: Likewise.
80148 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80150         * conform/Makefile (tests): Run only when not cross-compiling and
80151         when fast-check is not defined.
80153         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80154         * conform/data/limits.h-data: Fixes for POSIX2008.
80155         * conform/run-conformtest.sh: Run all tests.
80156         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80157         headers.
80158         * include/bits/dlfcn.h: Likewise.
80159         * include/langinfo.h: Likewise.
80160         * include/monetary.h: Likewise.
80161         * include/sys/poll.h: Likewise.
80163         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80164         for __USE_GNU.
80165         * posix/spawn.h: Define __need_sigset_t.
80166         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80167         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80168         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80169         to get sigevent_t only.
80170         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80171         only for __USE_GNU.
80172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80173         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80174         process_vm_writev only for __USE_GNU.
80175         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80177         * conform/Makefile: For now ignore errors from run-conformtest.
80178         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80179         POSIX to avoid namespace pollution.  Don't prepend headers.
80180         * conform/data/aio.h-data: Fixes for POSIX testing.
80181         * conform/data/fcntl.h-data: Likewise.
80182         * conform/data/glob.h-data: Likewise.
80183         * conform/data/grp.h-data: Likewise.
80184         * conform/data/pthread.h-data: Likewise.
80185         * conform/data/pwd.h-data: Likewise.
80186         * conform/data/signal.h-data: Likewise.
80187         * conform/data/spawn.h-data: Likewise.
80188         * conform/data/stdio.h-data: Likewise.
80189         * conform/data/stdlib.h-data: Likewise.
80190         * conform/data/stropts.h-data: Likewise.
80191         * conform/data/sys/mman.h-data: Likewise.
80192         * conform/data/sys/stat.h-data: Likewise.
80193         * conform/data/sys/types.h-data: Likewise.
80194         * conform/data/sys/wait.h-data: Likewise.
80195         * conform/data/time.h-data: Likewise.
80196         * conform/data/unistd.h-data: Likewise.
80197         * conform/data/utime.h-data: Likewise.
80199         * io/sys/stat.h: fchmod was always in POSIX.
80200         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80201         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80202         * rt/aio.h: Define __need_timespec before including <time.h>.
80203         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80204         struct.  Add forward declaration of pthread_attr_t and use it in
80205         sigevent.
80206         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80207         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80208         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80209         always remove CLK_TCK definition.
80211 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80213         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80215 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80217         * conform/run-conformtest.sh: New file.
80218         * conform/Makefile: Run run-conformtest for tests.
80219         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80220         support.
80222         * conform/data/uchar.h-data: New file.
80223         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80224         * conform/data/arpa/inet.h-data: Likewise.
80225         * conform/data/assert.h-data: Likewise.
80226         * conform/data/complex.h-data: Likewise.
80227         * conform/data/cpio.h-data: Likewise.
80228         * conform/data/ctype.h-data: Likewise.
80229         * conform/data/dirent.h-data: Likewise.
80230         * conform/data/dlfcn.h-data: Likewise.
80231         * conform/data/errno.h-data: Likewise.
80232         * conform/data/fcntl.h-data: Likewise.
80233         * conform/data/float.h-data: Likewise.
80234         * conform/data/fmtmsg.h-data: Likewise.
80235         * conform/data/fnmatch.h-data: Likewise.
80236         * conform/data/ftw.h-data: Likewise.
80237         * conform/data/glob.h-data: Likewise.
80238         * conform/data/grp.h-data: Likewise.
80239         * conform/data/iconv.h-data: Likewise.
80240         * conform/data/inttypes.h-data: Likewise.
80241         * conform/data/langinfo.h-data: Likewise.
80242         * conform/data/libgen.h-data: Likewise.
80243         * conform/data/limits.h-data: Likewise.
80244         * conform/data/locale.h-data: Likewise.
80245         * conform/data/math.h-data: Likewise.
80246         * conform/data/monetary.h-data: Likewise.
80247         * conform/data/mqueue.h-data: Likewise.
80248         * conform/data/ndbm.h-data: Likewise.
80249         * conform/data/net/if.h-data: Likewise.
80250         * conform/data/netdb.h-data: Likewise.
80251         * conform/data/netinet/in.h-data: Likewise.
80252         * conform/data/nl_types.h-data: Likewise.
80253         * conform/data/poll.h-data: Likewise.
80254         * conform/data/pthread.h-data: Likewise.
80255         * conform/data/pwd.h-data: Likewise.
80256         * conform/data/regex.h-data: Likewise.
80257         * conform/data/sched.h-data: Likewise.
80258         * conform/data/search.h-data: Likewise.
80259         * conform/data/semaphore.h-data: Likewise.
80260         * conform/data/setjmp.h-data: Likewise.
80261         * conform/data/signal.h-data: Likewise.
80262         * conform/data/spawn.h-data: Likewise.
80263         * conform/data/stdarg.h-data: Likewise.
80264         * conform/data/stdio.h-data: Likewise.
80265         * conform/data/stdlib.h-data: Likewise.
80266         * conform/data/string.h-data: Likewise.
80267         * conform/data/strings.h-data: Likewise.
80268         * conform/data/stropts.h-data: Likewise.
80269         * conform/data/sys/ipc.h-data: Likewise.
80270         * conform/data/sys/mman.h-data: Likewise.
80271         * conform/data/sys/msg.h-data: Likewise.
80272         * conform/data/sys/resource.h-data: Likewise.
80273         * conform/data/sys/select.h-data: Likewise.
80274         * conform/data/sys/sem.h-data: Likewise.
80275         * conform/data/sys/shm.h-data: Likewise.
80276         * conform/data/sys/socket.h-data: Likewise.
80277         * conform/data/sys/stat.h-data: Likewise.
80278         * conform/data/sys/statvfs.h-data: Likewise.
80279         * conform/data/sys/time.h-data: Likewise.
80280         * conform/data/sys/timeb.h-data: Likewise.
80281         * conform/data/sys/times.h-data: Likewise.
80282         * conform/data/sys/types.h-data: Likewise.
80283         * conform/data/sys/uio.h-data: Likewise.
80284         * conform/data/sys/un.h-data: Likewise.
80285         * conform/data/sys/utsname.h-data: Likewise.
80286         * conform/data/sys/wait.h-data: Likewise.
80287         * conform/data/syslog.h-data: Likewise.
80288         * conform/data/tar.h-data: Likewise.
80289         * conform/data/termios.h-data: Likewise.
80290         * conform/data/utime.h-data: Likewise.
80291         * conform/data/utmpx.h-data: Likewise.
80292         * conform/data/varargs.h-data: Likewise.
80293         * conform/data/wchar.h-data: Likewise.
80294         * conform/data/wctype.h-data: Likewise.
80295         * conform/data/wordexp.h-data: Likewise.
80297         * include/stropts.h: New file.
80298         * include/uchar.h: New file.
80299         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80300         * include/assert.h: Likewise.
80301         * include/ctype.h: Likewise.
80302         * include/dirent.h: Likewise.
80303         * include/dlfcn.h: Likewise.
80304         * include/fcntl.h: Likewise.
80305         * include/fnmatch.h: Likewise.
80306         * include/glob.h: Likewise.
80307         * include/grp.h: Likewise.
80308         * include/libio.h: Likewise.
80309         * include/locale.h: Likewise.
80310         * include/math.h: Likewise.
80311         * include/net/if.h: Likewise.
80312         * include/netdb.h: Likewise.
80313         * include/netinet/in.h: Likewise.
80314         * include/pthread.h: Likewise.
80315         * include/pwd.h: Likewise.
80316         * include/regex.h: Likewise.
80317         * include/sched.h: Likewise.
80318         * include/search.h: Likewise.
80319         * include/setjmp.h: Likewise.
80320         * include/signal.h: Likewise.
80321         * include/stdio.h: Likewise.
80322         * include/stdlib.h: Likewise.
80323         * include/string.h: Likewise.
80324         * include/sys/cdefs.h: Likewise.
80325         * include/sys/mman.h: Likewise.
80326         * include/sys/msg.h: Likewise.
80327         * include/sys/resource.h: Likewise.
80328         * include/sys/select.h: Likewise.
80329         * include/sys/socket.h: Likewise.
80330         * include/sys/stat.h: Likewise.
80331         * include/sys/statvfs.h: Likewise.
80332         * include/sys/time.h: Likewise.
80333         * include/sys/times.h: Likewise.
80334         * include/sys/uio.h: Likewise.
80335         * include/sys/utsname.h: Likewise.
80336         * include/sys/wait.h: Likewise.
80337         * include/termios.h: Likewise.
80338         * include/time.h: Likewise.
80339         * include/ulimit.h: Likewise.
80340         * include/unistd.h: Likewise.
80341         * include/utime.h: Likewise.
80342         * include/wchar.h: Likewise.
80343         * include/wctype.h: Likewise.
80344         * include/wordexp.h: Likewise.
80346         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80348         * time/time.h: TIME_UTC must be a macro.
80349         Make timespec_get available for ISO C11 only as well.
80351 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80353         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80354         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80356 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80358         * configure.in: Use -o not -a in test for unsupported multi-arch.
80360 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80362         * manual/texinfo.tex: Update to version 2012-01-19.16.
80364 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80366         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80368 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80370         [BZ #13738]
80371         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80372         * manual/fdl-1.3.texi: New file.
80373         * manual/fdl-1.1.texi: File removed.
80375         [BZ #13738]
80376         * manual/libc.texinfo (FDL_VERSION): New @set.
80377         Use it for mention of FDL in cover text.
80378         (Documentation License): Use it in @include file name.
80380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80381             Roland McGrath  <roland@hack.frob.com>
80383         [BZ #5461]
80384         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80385         (not LONG_LONG_MAX and LONG_LONG_MIN.
80386         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80387         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80388         name.
80389         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80393         [BZ #2547]
80394         [BZ #11365]
80395         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80396         manipulate bits before adding and subtracting TWO23[sx].
80397         * math/libm-test.inc (nearbyint_test): Add more tests.
80399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80401         [BZ #2548]
80402         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80403         bits before adding and subtracting TWO23[sx].
80404         * math/libm-test.inc (rint_test): Add more tests.
80405         (rint_test_tonearest): Likewise.
80406         (rint_test_towardzero): Likewise.
80407         (rint_test_downward): Likewise.
80408         (rint_test_upward: Likewise.
80410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80412         [BZ #10110]
80413         * include/stdc-predef.h: New file.  Extracted from features.h.
80414         * include/features.h: Include stdc-predef.h.
80415         * Makefile (headers): Add stdc-predef.h.
80416         * CONFORMANCE (Compiler limitations): Update.
80418 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80420         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80422 2012-02-21  David S. Miller  <davem@davemloft.net>
80424         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80425         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80427 2012-02-20  David S. Miller  <davem@davemloft.net>
80429         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80430         using a normal save/restore sequence, rather than allocating a
80431         dummy stack frame just to store a frame pointer and restore.
80432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80434 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80436         * manual/install.texi: Fix stray word in line-wrapped comment.
80438 2012-02-20  David S. Miller  <davem@davemloft.net>
80440         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80441         both binutils and gcc support GOTDATA.
80443         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80444         "rd %pc" in the PIC register setup sequences.
80446         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80447         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80448         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80449         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80450         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80453         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80455         (SYSCALL_ERROR_HANDLER): Likewise.
80456         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80457         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80459         (SYSCALL_ERROR_HANDLER): Likewise.
80461         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80462         (HAVE_GCC_GOTDATA): New.
80463         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80464         relocation support in both binutils and gcc.
80465         * sysdeps/sparc/elf/configure: Regenerate.
80467         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80468         * sysdeps/sparc/sparc32/elf/configure: Delete.
80469         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80470         * sysdeps/sparc/sparc64/elf/configure: Delete.
80471         * sysdeps/sparc/elf/configure.in: New file.
80472         * sysdeps/sparc/elf/configure: Generate.
80474         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80475         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80476         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80477         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80478         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80480 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80482         * manual/install.texi: Do not mention specific glibc version
80483         numbers.
80484         * manual/libc.texinfo (VERSION, UPDATED): Update.
80485         (@copying): Use @copyright{} and range of years.
80487 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80489         [BZ #13695]
80490         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80491         [crti.S not in sysdirs] (generated): Do not append.
80492         [crti.S not in sysdirs] (omit-deps): Likewise.
80493         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80494         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80495         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80496         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80497         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80498         Likewise.
80499         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80500         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80501         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80502         * csu/defs.awk: Remove file.
80503         * sysdeps/generic/initfini.c: Likewise.
80504         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80505         variable.
80506         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80507         Likewise.
80509 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80511         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80512         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80513         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80514         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80516         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80517         <bits/epoll.h>.
80518         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80519         (__EPOLL_PACKED): Define to empty if not defined by
80520         <bits/epoll.h>.
80521         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80523         bits/epoll.h.
80525 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80527         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80528         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80529         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80530         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80531         <bits/timerfd.h>.
80532         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80534         bits/timerfd.h.
80536 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80538         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80539         in C locale.
80540         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80541         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80545 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80547         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80548         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80550 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80552         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80553         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80554         defined.
80555         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80556         Likewise.
80557         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80558         entry for 2.16.
80560 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80562         * math/w_acos.c: Use non-signaling floating-point comparisons.
80563         * math/w_acosf.c: Likewise.
80564         * math/w_acosh.c: Likewise.
80565         * math/w_acoshf.c: Likewise.
80566         * math/w_acoshl.c: Likewise.
80567         * math/w_acosl.c: Likewise.
80568         * math/w_asin.c: Likewise.
80569         * math/w_asinf.c: Likewise.
80570         * math/w_asinl.c: Likewise.
80571         * math/w_atanh.c: Likewise.
80572         * math/w_atanhf.c: Likewise.
80573         * math/w_atanhl.c: Likewise.
80574         * math/w_exp2.c: Likewise.
80575         * math/w_exp2f.c: Likewise.
80576         * math/w_exp2l.c: Likewise.
80577         * math/w_j0.c: Likewise.
80578         * math/w_j0f.c: Likewise.
80579         * math/w_j0l.c: Likewise.
80580         * math/w_j1.c: Likewise.
80581         * math/w_j1f.c: Likewise.
80582         * math/w_j1l.c: Likewise.
80583         * math/w_jn.c: Likewise.
80584         * math/w_jnf.c: Likewise.
80585         * math/w_log.c: Likewise.
80586         * math/w_log10.c: Likewise.
80587         * math/w_log10f.c: Likewise.
80588         * math/w_log10l.c: Likewise.
80589         * math/w_log2.c: Likewise.
80590         * math/w_log2f.c: Likewise.
80591         * math/w_log2l.c: Likewise.
80592         * math/w_logf.c: Likewise.
80593         * math/w_logl.c: Likewise.
80594         * math/w_sqrt.c: Likewise.
80595         * math/w_sqrtf.c: Likewise.
80596         * math/w_sqrtl.c: Likewise.
80597         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80598         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80600         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80601         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80603 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80605         [BZ #9739]
80606         * manual/string.texi (strnlen): Use correct parameter name in
80607         equivalent expression.
80609 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80611         [BZ #11174]
80612         * manual/users.texi (seteuid): Consistently use neweuid for
80613         argument name.
80615 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80617         [BZ #13704]
80618         * manual/nss.texi (Services in the NSS configuration): Correct
80619         list of services in example configuration file.
80621 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80623         [BZ #11322]
80624         * manual/arith.texi: Remove statements about negative zero
80625         behaving identically to zero.
80627 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80629         [BZ #5993]
80630         * manual/install.texi: Do not document upgrading from libc5.
80632 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80634         [BZ #4596]
80635         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80637 2012-02-18  David S. Miller  <davem@davemloft.net>
80639         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80640         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80641         %o7 across the call.
80642         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80643         instead.
80644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80645         SETUP_PIC_REG_LEAF.
80646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80647         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80648         * sysdeps/sparc/crtn.S: Likewise.
80650 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80652         * aout/Makefile: Remove.
80654 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80656         [BZ #13058]
80657         * manual/examples/argp-ex1.c (main): Format definition in GNU
80658         style.
80659         * manual/examples/argp-ex2.c (main): Likewise.
80660         * manual/examples/argp-ex3.c (main): Likewise.
80661         * manual/examples/argp-ex4.c (main): Likewise.
80662         * manual/examples/longopt.c (main): Use new-style prototype
80663         definition.
80664         * manual/examples/strncat.c (main): Specify return type and use
80665         (void) for arguments.
80666         * manual/examples/subopt.c (main): Use char **argv argument.
80668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80670         [BZ #5077]
80671         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80672         rounding modes.
80674 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80676         [BZ #6907]
80677         * manual/string.texi (strchr): Change when strchrnul is
80678         recommended.
80680 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80682         [BZ #174]
80683         * manual/locale.texi (setlocale): Document LOCPATH.
80685 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80687         [BZ #10210]
80688         * manual/process.texi (execle): Move @dots{} before last argument.
80690 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80692         [BZ #12047]
80693         * manual/charset.texi (Generic Charset Conversion): Fix typo
80694         (LC_TYPE -> LC_CTYPE).
80696 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80698         [BZ #5805]
80699         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80700         (scalbnf): Likewise.
80701         (scalbnl): Likewise.
80702         (scalbln): Likewise.
80703         (scalblnf): Likewise.
80704         (scalblnl): Likewise.
80705         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80706         (vwarnx): Likewise.
80707         (verr): Likewise.
80708         (verrx): Likewise.
80709         * manual/filesys.texi (telldir): Use braces around return type.
80710         * manual/llio.texi (mmap): Add space after comma.
80711         (mmap64): Likewise.
80712         * manual/math.texi (jn): Use @var{} on parameter names.
80713         (jnf): Likewise.
80714         (jnl): Likewise.
80715         (yn): Likewise.
80716         (ynf): Likewise.
80717         (ynl): Likewise.
80718         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
80719         line.
80720         * manual/resource.texi (ulimit): Use @dots{} instead of literal
80721         "...".
80722         (sched_get_priority_min): Remove semicolon on @deftypefun line.
80723         (sched_get_priority_max): Likewise.
80724         * manual/signal.texi (sigvec): Add space after comma.
80725         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
80726         names.
80727         (if_indextoname): Likewise.
80728         (if_freenameindex): Likewise.
80729         (sendto): Use ',' instead of '.' in prototype.
80730         * manual/startup.texi (syscall): Use @dots{} instead of literal
80731         "...".
80732         * manual/stdio.texi (__fpending): Separate initial words of
80733         paragraph from @deftypefun line.
80734         * manual/syslog.texi (syslog): Use @dots{} instead of literal
80735         "...".
80736         (vsyslog): Use @var{} on parameter names.
80737         * manual/terminal.texi (stty): Use @var{} on parameter names.
80738         * manual/users.texi (getutmp): Use @var{} on parameter names.
80739         (getutmpx): Likewise.
80741 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80743         [BZ #6884]
80744         * manual/stdio.texi (fopen): Fix typos in description of
80745         ",ccs=STRING".
80747 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
80749         [BZ #4026]
80750         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
80751         get clock_id definition.
80753 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
80755         [BZ #4822]
80756         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
80757         (madvise): Cast every argument to void on its own.
80759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80761         [BZ #9902]
80762         * manual/startup.texi (Exit Status): Fix typo.
80764 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80766         [BZ #10140]
80767         * manual/examples/argp-ex1.c: Include <stdlib.h>.
80768         * manual/examples/argp-ex2.c: Likewise.
80769         * manual/examples/argp-ex3.c: Likewise.
80771 2012-02-16  Richard Henderson  <rth@redhat.com>
80773         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
80774         * sysdeps/s390/s390-32/initfini.c: Remove.
80775         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
80776         * sysdeps/s390/s390-64/initfini.c: Remove.
80778 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80780         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
80781         compiler output for sysdeps/generic/initfini.c.
80782         * sysdeps/sh/elf/initfini.c: Remove file.
80784 2012-02-16  David S. Miller  <davem@davemloft.net>
80786         [BZ #11494]
80787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
80789         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
80790         * sysdeps/sparc/crti.S: New file.
80791         * sysdeps/sparc/crtn.S: New file.
80792         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
80793         * sysdeps/sparc/sparc64/Makefile: Likewise.
80795 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
80797         [BZ #3335]
80798         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
80800 2012-02-15  Roland McGrath  <roland@hack.frob.com>
80802         [BZ #4822]
80803         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
80805         * mach/devstream.c (cookie_io_functions_t): Macro removed.
80806         (write, read, close): Likewise.
80807         Patch by Aurelien Jarno <aurelien@aurel32.net>.
80809 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
80811         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
80812         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
80813         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
80814         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
80815         <bits/signalfd.h>.
80816         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
80817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80818         bits/signalfd.h.
80820 2012-02-14  Marek Polacek  <polacek@redhat.com>
80822         * sysdeps/x86_64/crti.S: New file.
80823         * sysdeps/x86_64/crtn.S: New file.
80824         * sysdeps/x86_64/elf/initfini.c: Remove file.
80826 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80828         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
80829         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
80830         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
80831         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
80832         <bits/inotify.h>.
80833         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
80834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80835         bits/inotify.h.
80837 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
80839         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
80840         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
80841         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
80842         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
80843         <bits/eventfd.h>.
80844         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
80845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80846         bits/eventfd.h.
80848 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
80850         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
80851         __feraiseexcept instead of feraiseexcept.
80853         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
80854         nanosleep invocations.
80855         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
80856         strings, and add error checking for a nanosleep invocations.
80858 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
80860         Replace FSF snail mail address with URLs, as per GNU coding standards.
80861         Most of the snail mail addresses were wrong anyway, and omitting
80862         them makes the source code easier to maintain.  Almost all of the
80863         changes are to license notices and to locale LC_IDENTIFICATION
80864         addresses, except for this one:
80865         * manual/libc.texinfo: In "Published by", give the FSF's URL,
80866         not its snail mail address.
80868 2012-02-09  Richard Henderson  <rth@twiddle.net>
80870         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
80871         of kernel-features.h.
80873         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
80875 2012-02-08  Marek Polacek  <polacek@redhat.com>
80877         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
80878         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
80879         * sysdeps/gnu/_G_config.h: Likewise.
80880         * sysdeps/generic/_G_config.h: Likewise.
80882 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
80884         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
80885         tests.
80886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80888         * sysdeps/powerpc/powerpc32/crti.S: New file.
80889         * sysdeps/powerpc/powerpc32/crtn.S: New file.
80890         * sysdeps/powerpc/powerpc64/crti.S: New file.
80891         * sysdeps/powerpc/powerpc64/crtn.S: New file.
80893         * Makeconfig (have-initfini): Don't set.
80894         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
80895         * configure.in (nopic_initfini): Don't substitute.
80896         * config.h.in (HAVE_INITFINI): Don't #undef.
80897         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
80898         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
80900 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
80902         Support crti.S and crtn.S provided directly by architectures.
80903         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
80904         [crti.S in sysdirs] (omit-deps): Likewise.
80905         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
80906         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
80907         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
80908         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
80909         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
80910         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
80911         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
80912         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
80913         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
80914         compiler output for sysdeps/generic/initfini.c.
80915         * sysdeps/i386/elf/Makefile: Remove file.
80916         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
80918 2012-02-07  Marek Polacek  <polacek@redhat.com>
80920         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
80921         * sysdeps/gnu/_G_config.h: Likewise.
80922         * sysdeps/mach/hurd/_G_config.h: Likewise.
80924 2012-02-07  Marek Polacek  <polacek@redhat.com>
80926         * math/Makefile (tests): Add tst-CMPLX2.
80927         * math/tst-CMPLX2.c: New file.
80929 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
80931         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80933         * math/libm-test.inc (jn_test): Add missing L suffix.
80935 2012-02-06  Marek Polacek  <polacek@redhat.com>
80937         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
80938         * sysdeps/i386/fpu/e_powf.S: Likewise.
80939         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80940         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80941         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80942         * sysdeps/i386/fpu/e_pow.S: Likewise.
80943         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
80944         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80945         * sysdeps/i386/fpu/s_expm1.S: Likewise.
80946         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
80947         * sysdeps/i386/fpu/e_log2.S: Likewise.
80948         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80949         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80950         * sysdeps/i386/fpu/e_powl.S: Likewise.
80951         * sysdeps/i386/fpu/s_log1p.S: Likewise.
80952         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80953         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
80954         * sysdeps/i386/fpu/e_logl.S: Likewise.
80955         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
80956         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
80957         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
80958         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
80959         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80960         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80961         * sysdeps/i386/fpu/e_log.S: Likewise.
80962         * sysdeps/i386/fpu/s_cexp.S: Likewise.
80963         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80964         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
80965         * sysdeps/i386/fpu/e_logf.S: Likewise.
80966         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80967         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80968         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
80969         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
80970         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80971         * sysdeps/i386/fpu/e_log10.S: Likewise.
80972         * sysdeps/i386/fpu/s_frexp.S: Likewise.
80973         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80974         * sysdeps/i386/fpu/s_asinh.S: Likewise.
80975         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
80976         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80977         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
80978         * sysdeps/i386/asm-syntax.h: Likewise.
80979         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80980         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80981         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80982         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
80983         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
80984         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80985         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
80986         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
80987         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80988         * sysdeps/powerpc/sysdep.h: Likewise.
80989         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
80990         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
80992 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80994         [BZ #411]
80995         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
80997 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
80999         * sysdeps/i386/sysdep.h: Include <features.h>.
81000         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81001         version.
81003 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81005         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81006         Define.
81007         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81008         LOAD_PIC_REG_STR.
81010 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81012         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81013         (SETUP_PIC_REG): Use GET_PC_THUNK.
81014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81015         macro.
81017 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81019         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81020         for non-PIC compilation.
81021         (SETUP_PIC_REG): Add .p2align directive.
81022         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81023         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81024         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81025         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81026         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81027         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81028         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81029         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81036         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81037         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81038         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81039         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81040         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81041         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81042         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81043         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81044         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81048         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81049         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81050         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81051         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81052         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81053         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81054         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81055         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81056         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81057         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81058         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81059         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81060         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81061         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81062         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81064 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81066         * math/tst-CMPLX.c: Include <stdio.h>.
81068 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81070         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81071         float.
81072         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81073         * sysdeps/sparc/bits/mathdef.h: Likewise.
81075 2012-01-31  Marek Polacek  <polacek@redhat.com>
81077         * libio/libio.h: Don't define _PARAMS.
81078         * locale/programs/config.h: Don't define PARAMS.
81079         * stdlib/strtol_l.c: Likewise.
81080         (__strtol_l): Remove PARAMS from the prototype.
81082 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81084         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81085         names.  Just use the correct names.  Remove unnecessary wrapper
81086         functions.
81087         * malloc/arena.c: Likewise.
81088         * malloc/hooks.c: Likewise.
81090         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81091         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81092         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81094 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81096         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81097         into tail calls.
81098         (update_get_addr): New function.
81099         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81100         GET_ADDR_MODULE parameter.
81102 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81104         * crypt/cert.c: Remove __STDC__ conditionals.
81105         * crypt/crypt-entry.c: Likewise.
81106         * crypt/crypt_util.c: Likewise.
81107         * libio/filedoalloc.c: Likewise.
81108         * libio/fileops.c: Likewise.
81109         * libio/genops.c: Likewise.
81110         * libio/iofclose.c: Likewise.
81111         * libio/iofdopen.c: Likewise.
81112         * libio/iofopen.c: Likewise.
81113         * libio/iofopen64.c: Likewise.
81114         * libio/iogetdelim.c: Likewise.
81115         * libio/iopopen.c: Likewise.
81116         * libio/obprintf.c: Likewise.
81117         * libio/oldfileops.c: Likewise.
81118         * libio/oldiofclose.c: Likewise.
81119         * libio/oldiofdopen.c: Likewise.
81120         * libio/oldiofopen.c: Likewise.
81121         * libio/oldiopopen.c: Likewise.
81122         * libio/wfiledoalloc.c: Likewise.
81123         * libio/wgenops.c: Likewise.
81124         * locale/programs/xmalloc.c: Likewise.
81125         * misc/syslog.c: Likewise.
81126         * stdio-common/xbug.c: Likewise.
81127         * string/memchr.c: Likewise.
81128         * string/memcmp.c: Likewise.
81129         * string/memrchr.c: Likewise.
81130         * string/rawmemchr.c: Likewise.
81131         * sysdeps/posix/getcwd.c: Likewise.
81132         * time/strftime_l.c: Likewise.
81134 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81136         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81137         * config.make.in (config-cflags-sse2avx): Define.
81138         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81139         Fix typo.
81141 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81143         * scripts/config.guess: Update from upstream config git repository.
81144         * scripts/config.sub: Likewise.
81146 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81148         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81149         (EM_NUM): Update.
81150         (R_TILEPRO_*, R_TILEGX_*): New macros.
81152         * scripts/firstversions.awk: Fix bug in version range handling.
81154         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81156         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81158         * include/sys/epoll.h: New file.
81159         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81160         libc_hidden_def.
81162 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81164         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81165         Avoid unnecessary __WORDSIZE == 64 test.
81166         (fmaxf): Use VEX format if possible.
81167         (fmax): Likewise.
81168         (fminf): Likewise.
81169         (fmin): Likewise.
81171         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81172         * math/math_private.h: Remove libc_fegetround* and
81173         libc_fesetround*.
81174         * sysdeps/i386/configure.in: Check for -msse2avx.
81175         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81176         also if SSE2AVX is defined.
81177         Remove libc_fegetround* and libc_fesetround*.
81178         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81179         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81180         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81181         of HAS_YMM_USABLE.
81182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81183         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81185         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81186         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81188         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81190 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81192         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81193         size is not set.
81194         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81196 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81198         [BZ #13618]
81199         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81200         relocation.
81201         * Makeconfig (libm): Define.
81202         * elf/Makefile: Add rules to build and run tst-relsort1.
81203         * elf/tst-relsort1.c: New file.
81204         * elf/tst-relsort1mod1.c: New file.
81205         * elf/tst-relsort1mod2.c: New file.
81207 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81209         * math/s_ldexp.c: Remove __STDC__ conditionals.
81210         * math/s_ldexpf.c: Likewise.
81211         * math/s_ldexpl.c: Likewise.
81212         * math/s_nextafter.c: Likewise.
81213         * math/s_nexttowardf.c: Likewise.
81214         * math/s_significand.c: Likewise.
81215         * math/s_significandf.c: Likewise.
81216         * math/s_significandl.c: Likewise.
81217         * math/w_jnl.c: Likewise.
81218         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81219         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81220         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81221         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81222         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81224         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81225         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81226         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81227         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81228         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81229         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81230         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81231         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81232         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81233         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81234         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81235         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81237         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81238         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81239         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81240         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81242         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81243         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81244         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81245         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81246         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81247         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81248         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81249         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81250         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81251         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81252         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81253         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81254         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81255         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81256         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81257         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81258         * sysdeps/ieee754/k_standard.c: Likewise.
81259         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81260         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81261         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81262         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81263         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81264         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81265         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81266         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81267         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81268         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81269         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81270         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81271         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81272         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81273         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81274         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81275         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81276         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81277         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81278         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81279         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81280         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81281         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81282         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81283         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81284         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81286         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81289         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81290         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81291         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81292         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81294         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81295         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81296         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81297         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81298         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81299         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81301         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81302         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81303         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81307         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81308         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81309         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81310         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81311         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81312         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81313         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81314         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81316         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81317         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81318         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81319         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81320         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81324         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81325         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81326         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81327         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81328         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81329         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81330         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81331         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81332         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81333         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81334         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81336         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81337         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81338         * sysdeps/ieee754/s_matherr.c: Likewise.
81339         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81340         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81344 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81346         * crypt/md5.h: Remove __STDC__ conditionals.
81347         * libio/libioP.h: Likewise.
81348         * locale/programs/config.h: Likewise.
81349         * sysdeps/generic/sysdep.h: Likewise.
81350         * sysdeps/i386/asm-syntax.h: Likewise.
81351         * sysdeps/s390/asm-syntax.h: Likewise.
81352         * sysdeps/unix/sysdep.h: Likewise.
81353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81356 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81358         * libio/libio.h: Remove __STDC__ conditionals.
81359         * malloc/obstack.h: Likewise.
81360         * math/complex.h: Likewise.
81361         * math/math.h: Likewise.
81362         * sysdeps/generic/_G_config.h: Likewise.
81363         * sysdeps/gnu/_G_config.h: Likewise.
81364         * sysdeps/mach/hurd/_G_config.h: Likewise.
81365         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81366         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81367         * sysdeps/sparc/bits/mathdef.h: Likewise.
81369 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81371         [BZ #13583]
81372         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81373         Clean up HAS_* macros.
81374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81375         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81376         possible.
81377         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81378         HAS_AVX.
81379         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81380         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81381         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81383         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81385 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81387         * elf/tst-unique3.cc (gets): Remove declaration.
81388         * elf/tst-unique3lib.cc (gets): Likewise.
81389         * elf/tst-unique3lib2.cc (gets): Likewise.
81390         * elf/tst-unique4.cc (gets): Likewise.
81392 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81394         * include/stdio.h: Add C++ protection.  Add gets declarations and
81395         definitions.
81396         * debug/tst-chk1.c: Don't declare gets here.
81397         * stdio-common/tst-gets.c: Likewise.
81399 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81401         * posix/glob: Remove directory.
81403 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81405         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81407 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81409         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81410         of the non-standard EPFNOSUPPORT.
81412 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81414         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81415         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81416         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81418 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81420         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81422 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81424         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81425         transient errors.
81426         * nscd/grpcache.c (cache_addgr): Likewise.
81427         * nscd/hstcache.c (cache_addhst): Likewise.
81428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81429         * nscd/pwdcache.c (cache_addpw): Likewise.
81430         * nscd/servicescache.c (cache_addserv): Likewise.
81432 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81434         * malloc/malloc.c: Various cleanups.
81435         * malloc/hooks.c: Likewise.
81437         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81438         * stdlib/bug-fmtmsg1.c: New file.
81440         * stdlib/fmtmsg.c (init): Add missing unlock.
81441         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81443 2012-01-12  Marek Polacek  <polacek@redhat.com>
81445         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81446         and _GNU_SOURCE.
81448 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81450         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81451         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81452         macro to ensure uniqueness of label name.
81453         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81454         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81456 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81458         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81460         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81461         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81462         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81463         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81465 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81467         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81469         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81470         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81471         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81473         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81475         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81476         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81480         * math/bits/math-finite.h: Add ldexp support.
81482 2012-01-10  Marek Polacek  <polacek@redhat.com>
81484         * locale/programs/localedef.h (show_archive_content): Add noreturn
81485         attribute.
81487 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81489         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81491 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81493         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81495         * io/Makefile (headers): Add bits/poll2.h.
81497 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81500         typo #include statement.
81502 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81504         * include/sys/cdefs.h: Define __attribute_alloc_size.
81505         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81506         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81507         * elf/pldd.c: Likewise.
81508         * iconv/iconv_charmap.c: Likewise.
81509         * iconv/iconvconfig.c: Likewise.
81510         * iconv/strtab.c: Likewise.
81511         * locale/programs/locale.c: Likewise.
81512         * locale/programs/localedef.h: Likewise.
81513         * locale/programs/simple-hash.c: Likewise.
81514         * nscd/nscd.h: Likewise.
81515         * nss/makedb.c: Likewise.
81516         * sysdeps/generic/ldconfig.h: Likewise.
81517         * locale/programs/localedef.c: Remove xmalloc prototype.
81518         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81520 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81522         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81523         appropriate.
81525 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81527         * math/Makefile (tests): Add tst-CMPLX.
81528         * math/tst-CMPLX.c: New file.
81530         * math/complex.h (CMPLXL): Fix typo.
81532         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81533         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81534         GLIBC_2.16.
81535         * debug/tst-chk1.c: Add poll and ppoll tests.
81536         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81537         * include/sys/poll.h: Add hidden proto for ppoll.
81538         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81539         * sysdeps/mach/hurd/ppoll.c: Likewise.
81540         * io/ppoll.c: Likewise.
81541         * debug/poll_chk.c: New file.
81542         * debug/ppoll_chk.c: New file.
81543         * include/bits/poll2.h: New file.
81544         * io/bits/poll2.h: New file.
81546         [BZ #1350]
81547         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81549         * configure.in: static is always set to yes.  Remove.
81550         * config.make.in: Don't set build-static.
81551         * Makeconfig: Remove use of build-static.
81552         * dlfcn/Makefile: Likewise.
81553         * elf/Makefile: Likewise.
81554         * math/Makefile: Likewise.
81555         * misc/Makefile: Likewise.
81556         * nptl/Makefile: Likewise.
81557         * sysdeps/mach/hurd/Makefile: Likewise.
81559         * configure.in: PWD_P is not used anymore.
81560         * config.make.in: Remove PWD_P entry.
81562         * configure.in: Remove last remnants of RANLIB.
81563         No need to check for signed size_t anymore.
81564         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81565         and IA-64.
81566         Remove __builtin_expect test because we require at least gcc 3.4.
81567         * aclocal.m4: Likewise.
81569         * wcsmbs/mbrtoc16.c: Implement using towc function.
81570         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81571         * wcsmbs/wcsmbsload.c: Likewise.
81572         * iconv/gconv_simple.c: Likewise.
81573         * iconv/gconv_int.h: Likewise.
81574         * iconv/gconv_builtin.h: Likewise.
81575         * iconv/iconv_prog.c: Remove CHAR16 handling.
81577         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81579         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81581         * configure.in: Remove --with-elf and --enable-bounded options.
81582         Dont set base_machine for ia64.  More non-ELF conditions removed.
81583         Remove testing and setting of leading underscore information.
81584         * config.make.in (build-bounded): Set to no.
81585         * config.h.in: Remove NO_UNDERSCORES entry.
81586         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81587         them.
81588         * csu/start.c: Remove !NO_UNDERSCORE code.
81589         * locale/localeinfo.h: Likewise.
81590         * sysdeps/generic/machine-gmon.h: Likewise.
81591         * sysdeps/generic/sysdep.h: Likewise.
81592         * sysdeps/i386/sysdep.h: Likewise.
81593         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81594         * sysdeps/mach/sysdep.h: Likewise.
81595         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81596         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81597         * sysdeps/sh/sysdep.h: Likewise.
81598         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81599         * sysdeps/unix/i386/sysdep.S: Likewise.
81600         * sysdeps/unix/sparc/start.c: Likewise.
81601         * sysdeps/unix/sparc/sysdep.S: Likewise.
81602         * sysdeps/unix/sparc/sysdep.h: Likewise.
81603         * sysdeps/unix/start.c: Likewise.
81604         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81605         * sysdeps/x86_64/sysdep.h: Likewise.
81607 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81609         [BZ #13553]
81610         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81611         for non-gcc.
81612         * argp/argp-fmtstream.h: Use const instead __const.
81613         * argp/argp.h: Likewise.
81614         * assert/assert.h: Likewise.
81615         * bits/fenv.h: Likewise.
81616         * bits/sched.h: Likewise.
81617         * bits/sigset.h: Likewise.
81618         * bits/sigthread.h: Likewise.
81619         * catgets/nl_types.h: Likewise.
81620         * conform/data/pthread.h-data: Likewise.
81621         * crypt/crypt-private.h: Likewise.
81622         * crypt/crypt.h: Likewise.
81623         * crypt/crypt_util.c: Likewise.
81624         * ctype/ctype.h: Likewise.
81625         * debug/execinfo.h: Likewise.
81626         * debug/mbsnrtowcs_chk.c: Likewise.
81627         * debug/mbsrtowcs_chk.c: Likewise.
81628         * debug/wcsnrtombs_chk.c: Likewise.
81629         * debug/wcsrtombs_chk.c: Likewise.
81630         * debug/wcstombs_chk.c: Likewise.
81631         * dirent/dirent.h: Likewise.
81632         * dlfcn/dlfcn.h: Likewise.
81633         * elf/neededtest4.c: Likewise.
81634         * grp/grp.h: Likewise.
81635         * gshadow/gshadow.h: Likewise.
81636         * iconv/gconv.h: Likewise.
81637         * iconv/gconv_int.h: Likewise.
81638         * iconv/gconv_simple.c: Likewise.
81639         * iconv/iconv.h: Likewise.
81640         * iconv/loop.c: Likewise.
81641         * iconv/skeleton.c: Likewise.
81642         * include/aio.h: Likewise.
81643         * include/aliases.h: Likewise.
81644         * include/argz.h: Likewise.
81645         * include/arpa/inet.h: Likewise.
81646         * include/assert.h: Likewise.
81647         * include/dirent.h: Likewise.
81648         * include/dlfcn.h: Likewise.
81649         * include/execinfo.h: Likewise.
81650         * include/fcntl.h: Likewise.
81651         * include/fenv.h: Likewise.
81652         * include/glob.h: Likewise.
81653         * include/grp.h: Likewise.
81654         * include/libintl.h: Likewise.
81655         * include/mntent.h: Likewise.
81656         * include/netdb.h: Likewise.
81657         * include/pwd.h: Likewise.
81658         * include/rpc/netdb.h: Likewise.
81659         * include/sched.h: Likewise.
81660         * include/search.h: Likewise.
81661         * include/shadow.h: Likewise.
81662         * include/signal.h: Likewise.
81663         * include/stdio.h: Likewise.
81664         * include/stdlib.h: Likewise.
81665         * include/string.h: Likewise.
81666         * include/sys/socket.h: Likewise.
81667         * include/sys/stat.h: Likewise.
81668         * include/sys/statfs.h: Likewise.
81669         * include/sys/statvfs.h: Likewise.
81670         * include/sys/syslog.h: Likewise.
81671         * include/sys/time.h: Likewise.
81672         * include/sys/uio.h: Likewise.
81673         * include/time.h: Likewise.
81674         * include/unistd.h: Likewise.
81675         * include/utmp.h: Likewise.
81676         * include/wchar.h: Likewise.
81677         * include/wctype.h: Likewise.
81678         * inet/aliases.h: Likewise.
81679         * inet/arpa/inet.h: Likewise.
81680         * inet/netinet/ether.h: Likewise.
81681         * inet/netinet/in.h: Likewise.
81682         * intl/libintl.h: Likewise.
81683         * io/bits/fcntl2.h: Likewise.
81684         * io/fcntl.h: Likewise.
81685         * io/ftw.h: Likewise.
81686         * io/sys/poll.h: Likewise.
81687         * io/sys/stat.h: Likewise.
81688         * io/sys/statfs.h: Likewise.
81689         * io/sys/statvfs.h: Likewise.
81690         * io/utime.h: Likewise.
81691         * libio/bits/stdio.h: Likewise.
81692         * libio/bits/stdio2.h: Likewise.
81693         * libio/libio.h: Likewise.
81694         * libio/libioP.h: Likewise.
81695         * libio/stdio.h: Likewise.
81696         * locale/lc-ctype.c: Likewise.
81697         * locale/locale.h: Likewise.
81698         * login/utmp.h: Likewise.
81699         * malloc/arena.c: Likewise.
81700         * malloc/malloc.c: Likewise.
81701         * malloc/malloc.h: Likewise.
81702         * malloc/mcheck.c: Likewise.
81703         * malloc/mtrace.c: Likewise.
81704         * math/bits/mathcalls.h: Likewise.
81705         * math/fenv.h: Likewise.
81706         * math/math_private.h: Likewise.
81707         * misc/bits/error.h: Likewise.
81708         * misc/bits/syslog.h: Likewise.
81709         * misc/err.h: Likewise.
81710         * misc/error.h: Likewise.
81711         * misc/fstab.h: Likewise.
81712         * misc/mntent.h: Likewise.
81713         * misc/regexp.h: Likewise.
81714         * misc/search.h: Likewise.
81715         * misc/sgtty.h: Likewise.
81716         * misc/sys/mman.h: Likewise.
81717         * misc/sys/syslog.h: Likewise.
81718         * misc/sys/uio.h: Likewise.
81719         * misc/sys/xattr.h: Likewise.
81720         * misc/ttyent.h: Likewise.
81721         * nis/rpcsvc/ypclnt.h: Likewise.
81722         * nss/nss.h: Likewise.
81723         * posix/bits/unistd.h: Likewise.
81724         * posix/fnmatch.h: Likewise.
81725         * posix/glob.h: Likewise.
81726         * posix/sched.h: Likewise.
81727         * posix/spawn.h: Likewise.
81728         * posix/sys/wait.h: Likewise.
81729         * posix/unistd.h: Likewise.
81730         * posix/wordexp.h: Likewise.
81731         * pwd/pwd.h: Likewise.
81732         * resolv/netdb.h: Likewise.
81733         * resource/sys/resource.h: Likewise.
81734         * rt/aio.h: Likewise.
81735         * rt/bits/mqueue2.h: Likewise.
81736         * rt/mqueue.h: Likewise.
81737         * shadow/shadow.h: Likewise.
81738         * signal/signal.h: Likewise.
81739         * socket/send.c: Likewise.
81740         * socket/sendto.c: Likewise.
81741         * socket/sys/socket.h: Likewise.
81742         * stdio-common/printf.h: Likewise.
81743         * stdlib/bits/stdlib.h: Likewise.
81744         * stdlib/fmtmsg.h: Likewise.
81745         * stdlib/monetary.h: Likewise.
81746         * stdlib/stdlib.h: Likewise.
81747         * stdlib/ucontext.h: Likewise.
81748         * streams/stropts.h: Likewise.
81749         * string/argz.h: Likewise.
81750         * string/bits/string2.h: Likewise.
81751         * string/string.h: Likewise.
81752         * string/strings.h: Likewise.
81753         * sunrpc/rpc/auth.h: Likewise.
81754         * sunrpc/rpc/auth_des.h: Likewise.
81755         * sunrpc/rpc/clnt.h: Likewise.
81756         * sunrpc/rpc/netdb.h: Likewise.
81757         * sunrpc/rpc/pmap_clnt.h: Likewise.
81758         * sunrpc/rpc/xdr.h: Likewise.
81759         * sysdeps/generic/inttypes.h: Likewise.
81760         * sysdeps/generic/net/if.h: Likewise.
81761         * sysdeps/generic/sys/swap.h: Likewise.
81762         * sysdeps/gnu/net/if.h: Likewise.
81763         * sysdeps/gnu/utmpx.h: Likewise.
81764         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
81765         * sysdeps/i386/i486/bits/string.h: Likewise.
81766         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
81767         * sysdeps/s390/bits/string.h: Likewise.
81768         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
81769         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
81770         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
81771         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
81772         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
81773         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
81774         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
81775         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
81776         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
81777         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
81778         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
81779         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
81780         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
81781         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
81782         * sysdeps/unix/sysv/linux/readv.c: Likewise.
81783         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
81784         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
81785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81786         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
81787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
81788         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
81789         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
81790         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
81791         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
81792         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
81793         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
81794         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
81795         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81796         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
81797         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
81798         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
81799         * sysvipc/sys/ipc.h: Likewise.
81800         * sysvipc/sys/msg.h: Likewise.
81801         * sysvipc/sys/sem.h: Likewise.
81802         * sysvipc/sys/shm.h: Likewise.
81803         * termios/termios.h: Likewise.
81804         * time/sys/time.h: Likewise.
81805         * time/time.h: Likewise.
81806         * wcsmbs/bits/wchar2.h: Likewise.
81807         * wcsmbs/uchar.h: Likewise.
81808         * wcsmbs/wchar.h: Likewise.
81809         * wctype/wctype.h: Likewise.
81811         [BZ #13551]
81812         * Makeconfig: Remove all but ELF support including AIX support.
81813         * Makerules: Likewise.
81814         * config.h.in: Likewise.
81815         * config.make.in: Likewise.
81816         * configure: Likewise.
81817         * configure.in: Likewise.
81818         * csu/Makefile: Likewise.
81819         * csu/version.c: Likewise.
81820         * debug/Makefile: Likewise.
81821         * dlfcn/Makefile: Likewise.
81822         * elf/Makefile: Likewise.
81823         * extra-lib.mk: Likewise.
81824         * iconv/Makefile: Likewise.
81825         * include/libc-symbols.h: Likewise.
81826         * include/shlib-compat.h: Likewise.
81827         * resolv/Makefile: Likewise.
81828         * resolv/res_libc.c: Likewise.
81829         * rt/Makefile: Likewise.
81830         * sysdeps/i386/asm-syntax.h: Likewise.
81831         * sysdeps/i386/sysdep.h: Likewise.
81832         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81833         * sysdeps/mach/sysdep.h: Likewise.
81834         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
81835         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
81836         * sysdeps/s390/asm-syntax.h: Likewise.
81837         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81839         * sysdeps/sh/sysdep.h: Likewise.
81840         * sysdeps/unix/sparc/sysdep.h: Likewise.
81841         * sysdeps/wordsize-32/divdi3.c: Likewise.
81842         * sysdeps/x86_64/sysdep.h: Likewise.
81844         * argp/Versions: Remove _argp_unlock_xxx.
81846         [BZ #13559]
81847         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
81848         * abilist/libBrokenLocale.abilist: Likewise.
81849         * abilist/libanl.abilist: Likewise.
81850         * abilist/libc.abilist: Likewise.
81851         * abilist/libcrypt.abilist: Likewise.
81852         * abilist/libdl.abilist: Likewise.
81853         * abilist/libm.abilist: Likewise.
81854         * abilist/libnsl.abilist: Likewise.
81855         * abilist/libpthread.abilist: Likewise.
81856         * abilist/libresolv.abilist: Likewise.
81857         * abilist/librt.abilist: Likewise.
81858         * abilist/libthread_db.abilist: Likewise.
81859         * abilist/libutil.abilist: Likewise.
81860         * abilist/libnss_db.abilist: New file.
81862         * scripts/abilist.awk: Add support for indirect functions.
81864         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
81866         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
81868         * shlib-versions: Remove entries for ports architectures.
81870         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
81871         files in ports.
81872         * elf/stackguard-macros.h: Remove support for IA-64.
81873         * elf/tst-auditmod1.c: Likewise.
81874         * sysdeps/generic/ldsodefs.h: Likewise.
81876         * sysdeps/unix/sysv/linux/configure.in: Ports should define
81877         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
81878         configure files.
81880         [BZ #13552]
81881         * configure.in: Remove --enable-omitfp support.
81882         * FAQ.in: Adjust.
81883         * config.make.in: Likewise.
81884         * Makeconfig: Likewise.
81885         * manual/install.texi: Likewise.
81887         In case anyone cares, the IA-64 architecture could move to ports.
81888         * sysdeps/ia64/*: Removed.
81889         * sysdeps/unix/sysv/linux/ia64/*: Removed.
81890         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
81892         [BZ #13555]
81893         * configure.in: Remove entries for unsupported architectures.
81895         [BZ #13533]
81896         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
81897         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
81898         routines.
81899         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
81900         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
81901         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
81902         fall back to using wcrtomb.
81903         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
81904         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
81905         renaming.
81906         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
81907         * wcsmbs/tst-c16c32-1.c: New file.
81909         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
81910         local variable.
81912         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
81914         * elf/tst-unique3.cc: Add explicit declaration of gets.
81915         * elf/tst-unique3lib.cc: Likewise.
81916         * elf/tst-unique3lib2.cc: Likewise.
81917         * elf/tst-unique4.cc: Likewise.
81919         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
81921 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
81923         [BZ #13566]
81924         * assert/assert.h (static_assert): Don't define for C++.
81925         * libio/stdio.h (gets): Do declare for C++ <= C++11.
81926         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
81928 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
81930         * iconv/loop.c (single loop): Fix assertion in storing of
81931         remaining bytes.
81933         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
81935 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
81937         * posix/getconf.c: Update copyright year.
81938         * nss/getent.c: Likewise.
81939         * nss/makedb.c: Likewise.
81940         * iconv/iconvconfig.c: Likewise.
81941         * iconv/iconv_prog.c: Likewise.
81942         * elf/ldconfig.c: Likewise.
81943         * elf/pldd.c: Likewise.
81944         * elf/sotruss.ksh: Likewise.
81945         * catgets/gencat.c: Likewise.
81946         * csu/version.c: Likewise.
81947         * elf/ldd.bash.in: Likewise.
81948         * elf/sprof.c (print_version): Likewise.
81949         * locale/programs/locale.c: Likewise.
81950         * locale/programs/localedef.c: Likewise.
81951         * login/programs/pt_chown.c: Likewise.
81952         * nscd/nscd.c (print_version): Likewise.
81953         * debug/xtrace.sh: Likewise.
81954         * malloc/memusage.sh: Likewise.
81955         * malloc/mtrace.pl: Likewise.
81956         * debug/catchsegv.sh: Likewise.
81958 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
81960         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
81961         pure attribute.
81963 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
81965         [BZ #13533]
81966         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
81967         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
81968         transformations.
81969         * iconv/gconv_int.h: Likewise.
81970         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
81971         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
81972         from libc for GLIBC_2.16.
81973         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
81974         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
81975         * wcsmbs/uchar.h: Really define mbstate_t.
81976         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
81977         * wcsmbs/c16rtomb.c: New file.
81978         * wcsmbs/mbrtoc16.c: New file.
81979         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
81980         for C/POSIX locale.
81981         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
81982         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
81984         * wcsmbs/wchar.h: Add missing __restrict.
81986 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
81988         [BZ #13532]
81989         * time/Makefile (routines): Add timespec_get.
81990         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
81991         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
81992         timespec for ISO C11.
81993         * time/timespec_get.c: New file.
81994         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
81995         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
81997         [BZ #13531]
81998         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
81999         * stdlib/stdlib.h: Declare aligned_alloc.
82000         * Versions.def: Add GLIBC_2.16 for libc.
82001         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82003         [BZ 13527]
82004         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82005         ISO C11.
82007         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82008         code.
82010         [BZ #13528]
82011         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82013         [BZ #13529]
82014         * assert/assert.h (static_assert): Define.
82016         * version.h: Update for 2.16 development version.
82018         [BZ #13526]
82019         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82020         _ISOC11_SOURCE.
82022         * version.h (RELEASE): Bump for 2.15 release.
82023         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82025         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82026         Patch by Marek Polacek <mpolacek@redhat.com>.
82028         * bits/byteswap.h: Protect long long constants with __extension__.
82029         * sysdeps/i386/bits/byteswap.h: Likewise.
82030         * sysdeps/ia64/bits/byteswap.h: Likewise.
82031         * sysdeps/s390/bits/byteswap.h: Likewise.
82032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82034 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82036         [BZ #13540]
82037         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82038         destination buffer.
82039         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82041 2011-12-23  Marek Polacek  <polacek@redhat.com>
82043         * elf/dl-addr.c (determine_info): Add inline keyword.
82044         * elf/tst-auditmod4b.c (check_avx): Likewise.
82045         * elf/tst-auditmod6b.c (check_avx): Likewise.
82046         * elf/tst-auditmod6c.c (check_avx): Likewise.
82047         * elf/tst-auditmod7b.c (check_avx): Likewise.
82049 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82051         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82052         !__SSE_MATH__.
82054 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82056         [BZ #13540]
82057         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82058         processing for last bytes.
82060 2011-08-06  Bruno Haible  <bruno@clisp.org>
82062         [BZ #13061]
82063         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82064         U+0385, not to U+1FEE.
82066         [BZ #13062]
82067         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82068         entry for U+00A5 U+0301.
82070 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82072         [BZ #13166]
82073         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82074         buffer for the output is too small.
82076         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82077         optimization.
82079         [BZ #13185]
82080         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82081         SSE flags if possible.
82083 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82085         [BZ #13540]
82086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82087         processing for last bytes.
82089 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82091         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82092         (syscall-list-default-options, syscall-list-default-condition)
82093         (syscall-list-includes): Define.
82094         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82095         list of ABIs and options and #if conditions for each ABI.  Do not
82096         handle common syscalls between ABIs specially.
82097         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82098         Remove.
82099         (syscall-list-variants, syscall-list-32bit-options)
82100         (syscall-list-32bit-condition, syscall-list-64bit-options)
82101         (syscall-list-64bit-condition): Define.
82102         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82103         (syscall-list-variants, syscall-list-32bit-options)
82104         (syscall-list-32bit-condition, syscall-list-64bit-options)
82105         (syscall-list-64bit-condition): Define.
82106         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82107         Remove.
82108         (syscall-list-variants, syscall-list-32bit-options)
82109         (syscall-list-32bit-condition, syscall-list-64bit-options)
82110         (syscall-list-64bit-condition): Define.
82111         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82112         Remove.
82113         (syscall-list-variants, syscall-list-32bit-options)
82114         (syscall-list-32bit-condition, syscall-list-64bit-options)
82115         (syscall-list-64bit-condition): Define.
82117 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82119         * locale/iso-639.def: Add brx entry.
82121         [BZ #13328]
82122         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82123         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82125         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82126         __feraiseexcept_renamed.
82128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82130         [BZ #13538]
82131         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82132         EPOLLET with unsigned values.
82133         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82134         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82136         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82137         to large cancellation.
82138         * math/s_cacoshf.c: Likewise.
82139         * math/s_cacoshl.c: Likewise.
82141 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82143         [BZ #13305]
82144         [BZ #12786]
82145         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82146         * math/s_cacoshf.c: Likewise.
82147         * math/s_cacoshl.c: Likewise.
82149 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82151         [BZ #13439]
82152         * iconv/gconv.h: Define __GCONV_SWAP.
82153         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82154         * iconvdata/utf-16.c: Likewise.
82155         * iconvdata/utf-32.c: Likewise.
82157 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82159         [BZ #13524]
82160         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82161         numerator after shifting it by one limb.
82163 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82165         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82166         under [__USE_EXTERN_INLINES].
82168 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82170         [BZ #13446]
82171         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82173 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82175         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82176         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82177         optimized code.
82178         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82179         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82180         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82181         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82182         for strncasecmp/strncasecmp_l compilation.
82183         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82184         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82186 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82188         [BZ #13484]
82189         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82190         of __asm__.
82192 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82194         [BZ #13506]
82195         * time/tzfile.c (__tzfile_read): Check values from file header.
82197 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82199         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82200         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82201         * powerpc/powerpc32/dl-start.S: Likewise.
82202         * powerpc/powerpc32/elf/start.S: Likewise.
82203         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82204         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82205         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82206         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82207         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82208         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82209         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82210         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82211         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82212         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82213         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82214         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82215         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82216         * powerpc/powerpc32/memset.S: Likewise.
82217         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82218         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82219         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82220         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82221         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82222         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82223         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82224         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82225         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82226         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82227         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82228         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82229         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82231 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82233         * math/libm-test.inc: Added more nearbyint tests.
82234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82235         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82239 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82241         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82242         FD_CLOEXEC.
82244 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82246         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82247         Add wcscpy-ssse3 wcscpy-c.
82248         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82249         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82250         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82251         * sysdeps/x86_64/wcschr.S: New file.
82252         * sysdeps/x86_64/wcsrchr.S: New file.
82253         * string/test-strcmp.c: Remove checking of wcscmp function for
82254         wrong alignments.
82255         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82256         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82257         wcsrchr-sse2 wcsrchr-c.
82258         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82259         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82260         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82261         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82262         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82263         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82264         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82265         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82266         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82267         * wcsmbc/wcschr.c (WCSCHR): New macro.
82269 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82271         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82272         * wcsmbs/test-wcsrchr.c: New file.
82273         * string/test-strrchr.c: Add wcsrchr support.
82274         (WIDE): New macro.
82275         * wcsmbs/test-wcscpy.c: New file.
82276         * string/test-strcpy.c: Add wcscpy support.
82277         (WIDE): New macro.
82279 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82281         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82282         the inner loop.
82284 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82286         [BZ #13472]
82287         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82289 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82291         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82292         Minor optimizations.
82294         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82295         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82296         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82298 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82300         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82301         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82302         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82303         for gcc to avoid warnings.
82304         * inet/Makefile (tests): Add tst-checks.
82305         * inet/tst-checks.c: New file.
82307         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82308         warning.
82310         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82311         __wmemcmp_sse2.
82313         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82314         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82316         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82318 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82320         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82321         problem.
82323         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82325 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82327         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82328         conditional on GCC version.
82329         (__arch_compare_and_exchange_val_8_acq)
82330         (__arch_compare_and_exchange_val_16_acq)
82331         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82332         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82333         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82335 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82337         * sysdeps/sh/backtrace.c: New file.
82339 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82341         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82342         parenthesis.
82344 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82346         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82347         falling back to utime.
82349 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82351         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82352         expectations for float.
82354 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82356         * locale/weight.h (findidx): Add parameter len.
82357         * locale/weightwc.h (findidx): Likewise.
82358         * posix/fnmatch_loop.c (FCT): Adjust caller.
82359         * posix/regcomp.c (build_equiv_class): Likewise.
82360         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82361         * posix/regexec.c (check_node_accept_bytes): Likewise.
82362         * string/strcoll_l.c (STRCOLL): Likewise.
82363         * string/strxfrm_l.c (STRXFRM): Likewise.
82365 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82367         * Makefile.in: Remove CVSOPT handling.
82368         * configure.in: Remove use of AC_REVISION.
82369         * iconvdata/Makefile (distribute): No need to filter out CVS.
82370         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82371         handling.
82373 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82376         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82377         [USE_AS_STRNCASECMP_L]: Likewise.
82378         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82379         NO_TLS_DIRECT_SEG_REFS.
82380         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82381         Fix argument offsets for non-PIC.
82382         [USE_AS_STRNCASECMP_L]: Likewise.
82383         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82384         NO_TLS_DIRECT_SEG_REFS.
82386 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82388         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82389         O_CLOEXEC.
82390         * locale/loadlocale.c (_nl_load_locale): Likewise.
82392 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82394         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82395         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82396         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82397         (SYSCALL_GETTIME): Set errno on error.
82399         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82400         count references to noai6ai_cached.
82402 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82404         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82406         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82407         FD_CLOEXEC for /proc/self/maps.
82409         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82410         FD_CLOEXEC for /proc/meminfo.
82412         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82413         gai.conf.
82415         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82416         FD_CLOEXEC for given file.
82418         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82420         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82421         FD_CLOEXEC for /etc/hosts.
82422         (_gethtent): Likewise.
82424         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82426         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82427         cancellation and set FD_CLOEXEC for /etc/netgroup.
82429         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82430         reading /etc/publickey.
82432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82433         allow cancellation when reading /etc/group.
82435         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82436         cancellation.
82437         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82439         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82440         when using data file.
82442         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82444         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82445         (write_nis_obj): Use "c" and "e" in fopen.
82447         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82449         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82451         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82453         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82455         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82456         locale.alias.
82458         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82460         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82462         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82464         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82465         file parsing and set FD_CLOEXEC.
82467 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82469         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82471 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82473         * malloc/arena.c (arena_get2): Don't call reused_arena when
82474         _int_new_arena failed.
82476 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82478         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82479         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82480         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82481         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82483         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82484         to compile strcasecmp and strncasecmp.
82485         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82486         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82490 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82492         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82493         locale-defines.sym to gen-as-const-headers.
82494         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82495         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82497         to compile strcasecmp and strncasecmp.
82498         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82499         strcasecmp_l and strncasecmp_l.
82500         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82501         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82502         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82503         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82504         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82505         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82506         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82507         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82508         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82509         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82510         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82512 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82514         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82515         result of SYSDEP_GETTIME_CPU to retval.
82516         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82517         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82519         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82520         variable.
82522         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82523         mantissa words.
82524         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82527         from unused variable.
82529         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82530         DWARF definitions.
82531         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82532         for assembling.
82534         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82535         over namespaces.
82537         * sunrpc/rpc_prot.c (rejected): Fix case value.
82539         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82540         unsigned long long int to avoid warnings in shift.
82542         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82543         of use of trans.
82544         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82545         variable tmp.
82547         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82548         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82549         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82551         * nis/nis_table.c (nis_list): Use variable of correct type for
82552         result of __follow_path call.
82554 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82556         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82557         of math functions ceil, trunc, floor, round, and sqrt, when
82558         avaliable on the platform.
82559         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82560         name clash.
82561         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82562         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82563         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82565 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82567         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82570 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82572         * include/unistd.h: Fix __readlink return type.
82573         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82575 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82577         * stdlib/ucontext.h: Undo last change for makecontext.
82579 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82581         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82583         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82584         * setjmp/setjmp.h: Mark functions as non-leaf.
82585         * setjmp/bits/setjmp2.h: Likewise.
82586         * stdlib/ucontext.h: Likewise.
82588 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82590         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82591         (reused_arena): Don't check arena limit.
82592         (arena_get2): Atomically check arena limit.
82594 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82596         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82597         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82600         instructions.
82602 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82604         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82605         handler when locking.
82607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82608         Fix size of allocated buffer.
82610 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82612         [BZ #10103]
82613         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82614         declarations for long double functions.
82615         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82617         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82619 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82621         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82622         installed.
82624         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82625         is disabled.
82627 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82629         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82631 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82633         * include/alloca.h (stackinfo_alloca_round): Define.
82634         (extend_alloca): Use it.
82635         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82636         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82637         here.
82639         * scripts/check-local-headers.sh: Ignore libaudit.h.
82641         * nscd/Makefile (extra-objs): Make recursively expanded.
82643 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82645         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82648         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82649         * posix/tst-rfc3484-2.c: Likewise.
82650         * posix/tst-rfc3484-3.c: Likewise.
82652         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82653         process_vm_writev.
82654         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82655         process_vm_writev.
82656         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82657         process_vm_writev from libc using GLIBC_2.15 version.
82659         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82661 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82663         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82664         stack usage.
82666 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82668         [BZ #13367]
82669         * nss/getent.c (initgroups_keys): Show error message in case no group
82670         names are given.
82672         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82673         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82674         __bump_nl_timestamp.
82675         * nscd/connections (nscd_init): When host database is served open
82676         netlink socket and request notification about configuration changes.
82677         (main_loop_poll): Track netlink file descriptor and bump timestamp
82678         in case data becomes available.
82679         (main_loop_epoll): Likewise.
82680         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82681         (database_pers_head): Add extra_data fileds.
82682         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82683         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82684         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82685         Adjust caller.
82686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82687         in6ai data, call __free_in6ai.
82688         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82689         Add -DHAVE_NETLINK.
82690         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82691         interface information.  Reuse previous data if netlink timestamp
82692         is not changed.
82693         (__bump_nl_timestamp): New function.
82694         (__free_in6ai): New function.
82696 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82698         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82699         close_not_cancel_no_status here.
82700         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82702 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82704         [BZ #13276]
82705         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82706         return value.
82708         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82709         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82710         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82712 2011-07-03  Andreas Jaeger  <aj@suse.de>
82714         [BZ #10709]
82715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82716         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82717         * math/libm-test.inc (sin_test): Add test case.
82719 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82721         [BZ #13337]
82722         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
82723         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82725         * elf/chroot_canon.c (chroot_canon): Cleanups.
82727         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
82729         [BZ #13335]
82730         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
82731         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
82733         * string/test-strchr.c: Make usable for strchrnul testing.
82734         * string/test-strchrnul.c: New file.
82735         * string/Makefile (strop-tests): Add strchrnul.
82737         * po/it.po: Update from translation team.
82738         * po/es.po: Likewise.
82740 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
82742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
82743         the three constants needed as parameters.  Drop the others.
82744         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
82745         __m128i_strloadu_tolower.
82746         Create and initialize variable zero and use it in all the places
82747         where _mm_setzero_si128 was used.
82749         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
82750         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
82751         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
82752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
82753         anymore.
82754         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
82755         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
82756         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
82757         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
82758         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
82759         __mpranred, __mptan.
82760         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
82761         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
82762         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
82763         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
82764         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
82765         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
82766         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
82767         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
82768         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
82770 2011-10-28  Andreas Schwab  <schwab@redhat.com>
82772         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
82773         redefine if SHARED.
82774         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
82776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
82777         wide char related routines to wcsmbs subdir.
82779 2011-10-27  Andreas Schwab  <schwab@redhat.com>
82781         [BZ #13344]
82782         * misc/sys/cdefs.h (__THROWNL): Define.
82783         * posix/unistd.h: Use __THREADNL instead of __THREAD
82784         for memory synchronization functions.
82786 2011-10-26  Roland McGrath  <roland@hack.frob.com>
82788         [BZ #13349]
82789         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
82790         doesn't exist.
82791         * manual/stdio.texi (Obstack Streams): Node removed.
82793 2011-10-26  Andreas Schwab  <schwab@redhat.com>
82795         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
82796         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82799         * math/math_private.h (math_force_eval): Allow non-addressable
82800         arguments.
82801         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
82803 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82805         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
82806         file is not needed.
82808         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
82809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
82810         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82811         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82813         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82814         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82815         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
82816         Add AVX variants.
82817         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
82818         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
82819         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
82820         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
82821         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
82822         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
82823         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
82824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
82825         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
82826         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
82827         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
82828         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
82829         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
82830         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
82831         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
82832         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
82833         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
82834         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
82835         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
82837         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
82838         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
82840         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
82841         place.  Use VEX encoding when compiling for AVX.
82843 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82845         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
82846         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
82848         * string/test-strchr.c (do_test): Don't generate NUL bytes.
82850 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82852         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
82853         useless if() expression.
82854         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
82855         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
82856         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
82857         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82858         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
82859         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
82860         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
82861         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
82862         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
82863         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82864         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
82865         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
82866         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
82867         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
82868         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
82869         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
82870         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
82871         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
82872         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
82874         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
82876 2011-10-25  Andreas Schwab  <schwab@redhat.com>
82878         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
82879         condition.
82880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82882 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
82884         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
82885         .text section.  Avoid duplicate constants.
82886         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
82887         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
82889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
82890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
82894         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
82895         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
82896         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
82897         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
82898         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
82899         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
82900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
82901         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
82902         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
82903         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
82904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
82905         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
82906         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
82907         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
82908         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
82909         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
82910         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
82911         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
82912         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
82913         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
82914         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
82915         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
82916         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
82917         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
82918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
82919         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
82920         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
82921         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
82922         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
82923         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
82924         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
82925         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
82926         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
82927         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
82928         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
82929         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
82930         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
82932 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
82934         * sysdeps/x86_64/dla.h: Move to ...
82935         * sysdeps/x86_64/fpu/dla.h: ...here.
82936         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
82937         situations.  Use __builtin_fma only for gcc 4.6 and up.
82939         * config.make.in: Add have-mfma4 entry.
82940         * configure.in: Substitute libc_cv_cc_fma4.
82941         * math/Makefile (dbl-only-routines): Add sincostab.
82942         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
82943         Use __sincostab not sincos.
82944         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
82945         name is a macro.
82946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
82947         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
82948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
82949         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
82950         using __copysign.
82951         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
82952         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
82953         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
82954         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
82955         and __inv.
82956         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
82957         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
82958         __copysign.
82959         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
82960         define aliases when function name is a macro.
82961         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
82962         sysdeps/ieee754/dbl-64/sincos.tbl.
82963         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
82964         fma4-enabled routines.
82965         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
82966         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
82967         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
82968         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
82969         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
82970         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
82971         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
82972         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
82973         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
82974         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
82975         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
82976         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
82977         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
82978         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
82979         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
82980         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
82981         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
82982         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
82983         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
82984         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
82985         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
82986         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
82987         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
82988         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
82989         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
82990         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
82991         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
82992         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
82993         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
82994         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
82996         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
82997         rename.
82998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
82999         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83007 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83009         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83011 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83013         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83015         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83016         prediction.
83017         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83019         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83020         Remove unused variable magic_bits.
83021         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83023         * string/strnlen.c: Define and use STRNLEN macro.
83024         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83025         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83027         * wcsmbs/wcslen.c: Define and use WCSLEN.
83028         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83029         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83030         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83031         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83032         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83033         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83034         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83036 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83039         strnlen-sse2-no-bsf.
83040         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83041         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83042         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83043         Add strnlen support.
83044         (USE_AS_STRNLEN): New macro.
83045         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83046         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83047         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83048         * sysdeps/x86_64/wcslen.S: New file.
83050 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83052         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83053         XMM-moves are used for copying on small sizes.
83055 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83057         * wcsmbs/Makefile (strop-tests): Add wcschr.
83058         * wcsmbs/test-wcschr.c: New file.
83059         * string/test-strchr.c: Update.
83060         Add wcschr support.
83061         (WIDE): New macro.
83063 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83065         * wcsmbs/Makefile (strop-tests): Add wcslen.
83066         * wcsmbs/test-wcslen.c: New file.
83067         * string/test-strlen.c: Update.
83068         Add wcslen support.
83069         (WIDE): New macro.
83071 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83073         * po/it.po: Update from translation team.
83075 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83077         * sysdeps/x86_64/wcscmp.S: Update.
83078         Fix wrong comparison semantics.
83079         wcscmp shall use signed comparison not unsigned.
83080         Don't use substraction to avoid overflow bug.
83081         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83082         * wcsmbc/wcscmp.c: Likewise.
83083         * string/test-strcmp.c: Likewise.
83084         Add new tests to check cases with negative values.
83086 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83088         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83089         * sysdeps/x86_64/dla.h: ...here.  New file.
83090         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83091         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83095         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83096         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83097         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83100 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83103         __ynl_finite aliases.
83105 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83109         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83110         define DLA_FMA.
83111         [DLA_FMA] (EMULV): Use DLA_FMA.
83112         [DLA_FMA] (MUL12): Use EMULV.
83113         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83114         that are not needed.
83115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83118         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83119         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83120         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83121         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83123 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83125         * math/s_nan.c: Undef __nan.
83126         * math/s_nanf.c: Undef __nanf.
83127         * math/s_nanl.c: Undef __nanl.
83128         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83129         "math_private.h".
83131 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83133         * math/s_catan.c: Add branch predictions.
83134         * math/s_catanf.c: Likewise.
83135         * math/s_catanh.c: Likewise.
83136         * math/s_catanhf.c: Likewise.
83137         * math/s_catanhl.c: Likewise.
83138         * math/s_catanl.c: Likewise.
83139         * math/s_cexp.c: Likewise.
83140         * math/s_cexpf.c: Likewise.
83141         * math/s_cexpl.c: Likewise.
83142         * math/s_clog.c: Likewise.
83143         * math/s_clog10.c: Likewise.
83144         * math/s_clog10f.c: Likewise.
83145         * math/s_clog10l.c: Likewise.
83146         * math/s_clogf.c: Likewise.
83147         * math/s_clogl.c: Likewise.
83148         * math/s_csqrt.c: Likewise.
83149         * math/s_csqrtf.c: Likewise.
83150         * math/s_csqrtl.c: Likewise.
83151         * math/s_ctanf.c: Likewise.
83152         * math/s_ctanh.c: Likewise.
83153         * math/s_ctanhf.c: Likewise.
83154         * math/s_ctanhl.c: Likewise.
83155         * math/s_ctanl.c: Likewise.
83157         * math/math_private.h: Define __nan, __nanf, __nanl.
83158         * math/s_cacosh.c: Include <math_private.h>.
83159         * math/s_cacoshl.c: Likewise.
83160         * math/s_casinh.c: Likewise.
83161         * math/s_casinhf.c: Likewise.
83162         * math/s_casinhl.c: Likewise.
83163         * math/s_ccos.c: Rely entire on ccosh.
83164         * math/s_ccosf.c: Rely entire on ccoshf.
83165         * math/s_ccosl.c: Rely entirely on ccoshl.
83166         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83167         Remove tests for FE_INVALID.
83168         * math/s_ccoshf.c: Likewise.
83169         * math/s_ccoshl.c: Likewise.
83170         * math/s_csin.c: Likewise.
83171         * math/s_csinf.c: Likewise.
83172         * math/s_csinh.c Likewise.
83173         * math/s_csinhf.c: Likewise.
83174         * math/s_csinhl.c: Likewise.
83175         * math/s_csinl.c: Likewise.
83176         * math/s_ctan.c: Likewise.
83177         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83178         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83179         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83181 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83184         compilation problems.
83186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83187         __builtin_expect.
83189 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83191         * sysdeps/i386/configure.in: Test for -mfma4 option.
83192         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83193         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83194         COMMON_CPUID_INDEX_80000001.
83195         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83196         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83197         use it if FMA3 is not supported.
83198         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83200         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83201         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83203 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83205         [BZ #12892]
83206         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83207         it would create a cycle with a link time dependency.
83209 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83211         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83212         instruction.
83213         * string/Makefile (strop-tests): Add rawmemchr.
83214         * string/test-rawmemchr.c: New file.
83216         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83217         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83218         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83219         when compiling str{,n}casecmp and when AVX is available.  Hook up
83220         new optimized code in initializers.
83222 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83224         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83225         __feraiseexcept instead of feraiseexcept.
83227 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83229         * math/math_private.h: Define defaults for libc_fetestexcept and
83230         libc_feupdateenv.
83231         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83232         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83233         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83234         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83235         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83236         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83237         libc_fetestexcept and libc_feupdateenv.
83239         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83240         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83241         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83242         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83243         libc_feholdexcept_setround.
83245         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83246         Add s_nearbyint-c and s_nearbyintf-c.
83247         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83248         nearbyintf inlines.
83249         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83250         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83251         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83252         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83254         * math/math_private.h: Define defaults for libc_fegetround,
83255         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83256         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83257         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83258         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83259         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83260         standard functions.
83261         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83262         Remove comments and hacks for old compiler versions.
83263         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83264         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83265         libc_feholdexceptl.
83267 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83269         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83270         (__feraiseexcept_renamed): Add __NTH.
83271         (feraiseexcept): Add __NTH.  Rename local variables to fix
83272         namespace violations.
83274 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83276         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83278         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83280         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83281         recently added interfaces.
83282         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83284         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83285         about macro parameter expansion.
83287         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83288         __NO_MATH_INLINES is defined.  Cleanups.
83290         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83291         and __floorf is target has SSE4.1.
83292         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83293         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83294         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83295         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83297         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83298         name.
83299         (floorf): Likewise.
83301         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83303 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83305         * misc/sys/cdefs.h: Fix last change.
83307         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83308         database lookup.
83310 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83312         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83314         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83315         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83316         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83317         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83318         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83319         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83320         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83321         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83322         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83323         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83324         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83325         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83326         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83327         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83328         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83329         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83330         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83331         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83332         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83333         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83334         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83335         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83337         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83338         ceil, ceilf, floor, floorf.
83340         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83341         Perform IRELATIVE relocations last.
83343         * elf/do-rel.h: Add another parameter nrelative, replacing the
83344         local variable with the same name.  Change name of the function
83345         to end in Rel or Rela (uppercase).
83346         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83347         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83348         elf_dynamic_do_##reloc function.
83350 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83352         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83353         is sufficient, at least on modern CPUs.
83355         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83357         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83358         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83360         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83361         __expl_finite.
83362         * math/bits/math-finite.h: Add entries for exp.
83363         * math/e_expl.c: Add __*_finite alias.
83364         * sysdeps/i386/fpu/e_exp.S: Likewise.
83365         * sysdeps/i386/fpu/e_expf.S: Likewise.
83366         * sysdeps/i386/fpu/e_expl.c: Likewise.
83367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83368         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83371         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83372         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83373         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83375         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83376         is sufficient, at least on modern CPUs.
83378         * ctype/ctype-info.c (__ctype_init): Define.
83379         * include/ctype.h (__ctype_init): Declare.
83380         (__ctype_b_loc): The variable is always initialized.
83381         (__ctype_toupper_loc): Likewise.
83382         (__ctype_tolower_loc): Likewise.
83383         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83384         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83386 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83388         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83390         * configure.in: Also look in $cxxmachine/include for C++ system
83391         headers.
83393 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83395         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83396         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83397         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83398         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83399         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83400         (USE_AS_WMEMCMP): New macro.
83401         Fixing indents.
83402         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83403         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83404         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83405         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83407         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83408         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83409         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83410         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83411         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83412         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83413         (USE_AS_WMEMCMP): New macro.
83414         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83415         * sysdeps/string/test-memcmp.c: Update.
83416         Fix simple_wmemcmp.
83417         Add new tests.
83418         * wcsmbs/wmemcmp.c: Update.
83419         (WMEMCMP): New macro.
83420         Fix overflow bug.
83422 2011-10-12  Andreas Jaeger  <aj@suse.de>
83424         [BZ #13268]
83425         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83427 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83429         * libio/iofwide.c (do_length): Avoid warning.
83431         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83433 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83435         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83437         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83438         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83439         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83440         * sysdeps/i386/i686/fpu/e_log.S: New file.
83441         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83442         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83444         * ctype/ctype.h: Add support for inlined isXXX functions when
83445         compiling C++ code.
83447 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83449         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83451         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83453 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83455         [BZ #13291]
83456         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83458 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83460         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83461         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83462         feraiseexcept.
83464         * sysdeps/x86_64/memrchr.S: Check for zero size.
83466         * string/stratcliff.c: Add memrchr tests.
83468 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83471         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83472         rawmemchr-sse2 rawmemchr-sse2-bsf.
83473         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83474         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83475         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83476         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83477         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83478         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83479         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83480         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83481         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83482         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83483         * string/memrchr.c (MEMRCHR): New macro.
83485 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83487         Add integration with gcc's -ffinite-math-only and optimize wrapper
83488         functions in libm.
83489         * Versions.def: Define GLIBC_2.15 version for libm.
83490         * math/Makefile (headers): Add bits/math-finite.h.
83491         * math/bits/math-finite.h: New file.
83492         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83493         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83494         * math/e_acoshl.c: Add __*_finite alias.
83495         * math/e_acosl.c: Likewise.
83496         * math/e_asinl.c: Likewise.
83497         * math/e_atan2l.c: Likewise.
83498         * math/e_atanhl.c: Likewise.
83499         * math/e_coshl.c: Likewise.
83500         * math/e_exp10.c: Likewise.
83501         * math/e_exp10f.c: Likewise.
83502         * math/e_exp10l.c: Likewise.
83503         * math/e_exp2l.c: Likewise.
83504         * math/e_fmodl.c: Likewise.
83505         * math/e_gammal_r.c: Likewise.
83506         * math/e_hypotl.c: Likewise.
83507         * math/e_j0l.c: Likewise.
83508         * math/e_j1l.c: Likewise.
83509         * math/e_jnl.c: Likewise.
83510         * math/e_lgammal_r.c: Likewise.
83511         * math/e_log10l.c: Likewise.
83512         * math/e_log2l.c: Likewise.
83513         * math/e_logl.c: Likewise.
83514         * math/e_powl.c: Likewise.
83515         * math/e_sinhl.c: Likewise.
83516         * math/e_sqrtl.c: Likewise.
83517         * math/e_scalb.c: Completely rewritten and optimized.
83518         * math/e_scalbf.c: Likewise.
83519         * math/e_scalbl.c: Likewise.
83520         * math/w_acos.c: Likewise.
83521         * math/w_acosf.c: Likewise.
83522         * math/w_acosl.c: Likewise.
83523         * math/w_acosh.c: Likewise.
83524         * math/w_acoshf.c: Likewise.
83525         * math/w_acoshl.c: Likewise.
83526         * math/w_asin.c: Likewise.
83527         * math/w_asinf.c: Likewise.
83528         * math/w_asinl.c: Likewise.
83529         * math/w_atan2.c: Likewise.
83530         * math/w_atan2f.c: Likewise.
83531         * math/w_atan2l.c: Likewise.
83532         * math/w_atanh.c: Likewise.
83533         * math/w_atanhf.c: Likewise.
83534         * math/w_atanhl.c: Likewise.
83535         * math/w_exp10.c: Likewise.
83536         * math/w_exp10f.c: Likewise.
83537         * math/w_exp10l.c: Likewise.
83538         * math/w_fmod.c: Likewise.
83539         * math/w_fmodf.c: Likewise.
83540         * math/w_fmodl.c: Likewise.
83541         * math/w_j0.c: Likewise.
83542         * math/w_j0f.c: Likewise.
83543         * math/w_j0l.c: Likewise.
83544         * math/w_j1.c: Likewise.
83545         * math/w_j1f.c: Likewise.
83546         * math/w_j1l.c: Likewise.
83547         * math/w_jn.c: Likewise.
83548         * math/w_jnf.c: Likewise.
83549         * math/w_log.c: Likewise.
83550         * math/w_logf.c: Likewise.
83551         * math/w_logl.c: Likewise.
83552         * math/w_log10.c: Likewise.
83553         * math/w_log10f.c: Likewise.
83554         * math/w_log10l.c: Likewise.
83555         * math/w_log2.c: Likewise.
83556         * math/w_log2f.c: Likewise.
83557         * math/w_log2l.c: Likewise.
83558         * math/w_pow.c: Likewise.
83559         * math/w_powf.c: Likewise.
83560         * math/w_powl.c: Likewise.
83561         * math/w_remainder.c: Likewise.
83562         * math/w_remainderf.c: Likewise.
83563         * math/w_remainderl.c: Likewise.
83564         * math/w_scalb.c: Likewise.
83565         * math/w_scalbf.c: Likewise.
83566         * math/w_scalbl.c: Likewise.
83567         * math/w_sqrt.c: Likewise.
83568         * math/w_sqrtf.c: Likewise.
83569         * math/w_sqrtl.c: Likewise.
83570         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83571         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83572         used.
83573         * math/math_private.h: Declare __kernel_standard_f.
83574         * math/w_cosh.c: Remove cruft and optimize a bit.
83575         * math/w_coshf.c: Likewise.
83576         * math/w_coshl.c: Likewise.
83577         * math/w_exp2.c: Likewise.
83578         * math/w_exp2f.c: Likewise.
83579         * math/w_exp2l.c: Likewise.
83580         * math/w_hypot.c: Likewise.
83581         * math/w_hypotf.c: Likewise.
83582         * math/w_hypotl.c: Likewise.
83583         * math/w_lgamma.c: Likewise.
83584         * math/w_lgamma_r.c: Likewise.
83585         * math/w_lgammaf.c: Likewise.
83586         * math/w_lgammaf_r.c: Likewise.
83587         * math/w_lgammal.c: Likewise.
83588         * math/w_lgammal_r.c: Likewise.
83589         * math/w_sinh.c: Likewise.
83590         * math/w_sinhf.c: Likewise.
83591         * math/w_sinhl.c: Likewise.
83592         * math/w_tgamma.c: Likewise.
83593         * math/w_tgammaf.c: Likewise.
83594         * math/w_tgammal.c: Likewise.
83595         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83597         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83598         Minor optimizations.  Pretty printing.  Remove cruft.
83599         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83600         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83601         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83602         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83603         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83604         * sysdeps/i386/fpu/e_asin.S: Likewise.
83605         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83606         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83607         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83608         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83609         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83610         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83611         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83612         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83613         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83614         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83615         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83616         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83617         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83618         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83619         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83620         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83621         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83622         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83623         * sysdeps/i386/fpu/e_log.S: Likewise.
83624         * sysdeps/i386/fpu/e_log10.S: Likewise.
83625         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83626         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83627         * sysdeps/i386/fpu/e_log2.S: Likewise.
83628         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83629         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83630         * sysdeps/i386/fpu/e_logf.S: Likewise.
83631         * sysdeps/i386/fpu/e_logl.S: Likewise.
83632         * sysdeps/i386/fpu/e_pow.S: Likewise.
83633         * sysdeps/i386/fpu/e_powf.S: Likewise.
83634         * sysdeps/i386/fpu/e_powl.S: Likewise.
83635         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83636         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83637         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83638         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83639         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83640         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83641         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83642         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83643         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83644         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83645         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83647         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83648         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83649         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83650         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83651         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83652         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83653         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83654         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83655         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83657         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83658         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83660         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83661         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83662         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83664         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83669         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83670         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83672         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83673         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83674         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83675         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83676         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83677         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83678         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83679         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83680         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83681         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83685         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83686         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83687         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83688         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83689         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83690         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83691         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83692         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83693         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83694         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83695         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83697         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83699         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83700         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83701         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83702         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83703         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83704         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83712         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83713         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83714         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83715         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
83719         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
83720         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
83721         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
83722         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83723         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
83724         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83725         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
83726         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
83727         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83728         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83729         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
83730         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
83731         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
83732         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
83733         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
83734         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83735         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
83736         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
83737         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
83738         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83739         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83740         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83741         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
83742         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
83743         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
83744         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
83745         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
83746         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
83747         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
83748         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83749         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83750         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83752         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
83753         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83754         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
83755         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
83756         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
83757         (__isnanf): Likewise.
83758         (__isinf_ns): Likewise.
83759         (__isinf_nsf): Likewise.
83760         (__finite): Likewise.
83761         (__finitef): Likewise.
83762         (__ieee754_sqrt): Define as macro.
83763         (__ieee754_sqrtf): Define as macro.
83764         (__ieee754_sqrtl): Define as macro.
83765         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
83766         inlined copy.
83767         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
83768         __FINITE_MATH_ONLY__ consistent.
83769         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
83771 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
83773         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
83774         of rawmemchr.
83776         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
83778 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
83780         * po/ja.po: Update from translation team.
83782 2011-10-08  Roland McGrath  <roland@hack.frob.com>
83784         * locale/programs/locarchive.c (prepare_address_space): New function.
83785         (create_archive, enlarge_archive, open_archive): Use it.
83787         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
83788         inside [SHARED], where it is used.
83790         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
83792         * nss/getent.c (netgroup_keys): Remove unused variable.
83793         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83795 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
83797         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
83798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
83799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
83800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
83801         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
83802         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
83803         * math/Makefile (libm-calls): Add s_isinf_ns.
83804         * math/divtc3.c: Use __isinf_nsl instead of isinf.
83805         * math/multc3.c: Likewise.
83806         * math/s_casin.c: Likewise.
83807         * math/s_casinf.c: Likewise.
83808         * math/s_casinl.c: Likewise.
83809         * math/s_ccos.c: Likewise.
83810         * math/s_ccosf.c: Likewise.
83811         * math/s_ccosl.c: Likewise.
83812         * math/s_ctan.c: Likewise.
83813         * math/s_ctanf.c: Likewise.
83814         * math/s_ctanh.c: Likewise.
83815         * math/s_ctanhf.c: Likewise.
83816         * math/s_ctanhl.c: Likewise.
83817         * math/s_ctanl.c: Likewise.
83818         * math/w_fmod.c: Likewise.
83819         * math/w_fmodf.c: Likewise.
83820         * math/w_fmodl.c: Likewise.
83821         * math/w_remainder.c: Likewise.
83822         * math/w_remainderf.c: Likewise.
83823         * math/w_remainderl.c: Likewise.
83824         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
83825         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
83826         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
83827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
83828         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
83829         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
83830         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
83831         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
83833         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
83834         of the number.
83835         * stdio-common/printf_fphex.c: Likewise.
83836         * stdio-common/printf_size.c: Likewise.
83838         * math/e_exp10.c: Include math_private.h using <...> not "...".
83839         * math/e_exp10f.c: Likewise.
83840         * math/e_exp10l.c: Likewise.
83841         * math/e_exp2l.c: Likewise.
83842         * math/e_j0l.c: Likewise.
83843         * math/e_j1l.c: Likewise.
83844         * math/e_jnl.c: Likewise.
83845         * math/e_lgammal_r.c: Likewise.
83846         * math/e_rem_pio2l.c: Likewise.
83847         * math/e_scalb.c: Likewise.
83848         * math/e_scalbf.c: Likewise.
83849         * math/e_scalbl.c: Likewise.
83850         * math/k_cosl.c: Likewise.
83851         * math/k_sinl.c: Likewise.
83852         * math/k_tanl.c: Likewise.
83853         * math/s_cacoshf.c: Likewise.
83854         * math/s_catan.c: Likewise.
83855         * math/s_catanf.c: Likewise.
83856         * math/s_catanh.c: Likewise.
83857         * math/s_catanhf.c: Likewise.
83858         * math/s_catanhl.c: Likewise.
83859         * math/s_catanl.c: Likewise.
83860         * math/s_ccosh.c: Likewise.
83861         * math/s_ccoshf.c: Likewise.
83862         * math/s_ccoshl.c: Likewise.
83863         * math/s_cexp.c: Likewise.
83864         * math/s_cexpf.c: Likewise.
83865         * math/s_cexpl.c: Likewise.
83866         * math/s_clog.c: Likewise.
83867         * math/s_clog10.c: Likewise.
83868         * math/s_clog10f.c: Likewise.
83869         * math/s_clog10l.c: Likewise.
83870         * math/s_clogf.c: Likewise.
83871         * math/s_clogl.c: Likewise.
83872         * math/s_csin.c: Likewise.
83873         * math/s_csinf.c: Likewise.
83874         * math/s_csinh.c: Likewise.
83875         * math/s_csinhf.c: Likewise.
83876         * math/s_csinhl.c: Likewise.
83877         * math/s_csinl.c: Likewise.
83878         * math/s_csqrt.c: Likewise.
83879         * math/s_csqrtf.c: Likewise.
83880         * math/s_csqrtl.c: Likewise.
83881         * math/s_ctan.c: Likewise.
83882         * math/s_ctanf.c: Likewise.
83883         * math/s_ctanh.c: Likewise.
83884         * math/s_ctanhf.c: Likewise.
83885         * math/s_ctanhl.c: Likewise.
83886         * math/s_ctanl.c: Likewise.
83887         * math/s_ldexp.c: Likewise.
83888         * math/s_ldexpf.c: Likewise.
83889         * math/s_ldexpl.c: Likewise.
83890         * math/s_significand.c: Likewise.
83891         * math/s_significandf.c: Likewise.
83892         * math/s_significandl.c: Likewise.
83893         * math/w_acos.c: Likewise.
83894         * math/w_acosf.c: Likewise.
83895         * math/w_acosh.c: Likewise.
83896         * math/w_acoshf.c: Likewise.
83897         * math/w_acoshl.c: Likewise.
83898         * math/w_acosl.c: Likewise.
83899         * math/w_asin.c: Likewise.
83900         * math/w_asinf.c: Likewise.
83901         * math/w_asinl.c: Likewise.
83902         * math/w_atan2.c: Likewise.
83903         * math/w_atan2f.c: Likewise.
83904         * math/w_atan2l.c: Likewise.
83905         * math/w_atanh.c: Likewise.
83906         * math/w_atanhf.c: Likewise.
83907         * math/w_atanhl.c: Likewise.
83908         * math/w_cosh.c: Likewise.
83909         * math/w_coshf.c: Likewise.
83910         * math/w_coshl.c: Likewise.
83911         * math/w_dremf.c: Likewise.
83912         * math/w_exp10.c: Likewise.
83913         * math/w_exp10f.c: Likewise.
83914         * math/w_exp10l.c: Likewise.
83915         * math/w_exp2.c: Likewise.
83916         * math/w_exp2f.c: Likewise.
83917         * math/w_fmod.c: Likewise.
83918         * math/w_fmodf.c: Likewise.
83919         * math/w_fmodl.c: Likewise.
83920         * math/w_hypot.c: Likewise.
83921         * math/w_hypotf.c: Likewise.
83922         * math/w_hypotl.c: Likewise.
83923         * math/w_j0.c: Likewise.
83924         * math/w_j0f.c: Likewise.
83925         * math/w_j0l.c: Likewise.
83926         * math/w_j1.c: Likewise.
83927         * math/w_j1f.c: Likewise.
83928         * math/w_j1l.c: Likewise.
83929         * math/w_jn.c: Likewise.
83930         * math/w_jnf.c: Likewise.
83931         * math/w_jnl.c: Likewise.
83932         * math/w_lgamma.c: Likewise.
83933         * math/w_lgamma_r.c: Likewise.
83934         * math/w_lgammaf.c: Likewise.
83935         * math/w_lgammaf_r.c: Likewise.
83936         * math/w_lgammal.c: Likewise.
83937         * math/w_lgammal_r.c: Likewise.
83938         * math/w_log.c: Likewise.
83939         * math/w_log10.c: Likewise.
83940         * math/w_log10f.c: Likewise.
83941         * math/w_log10l.c: Likewise.
83942         * math/w_log2.c: Likewise.
83943         * math/w_log2f.c: Likewise.
83944         * math/w_log2l.c: Likewise.
83945         * math/w_logf.c: Likewise.
83946         * math/w_logl.c: Likewise.
83947         * math/w_pow.c: Likewise.
83948         * math/w_powf.c: Likewise.
83949         * math/w_powl.c: Likewise.
83950         * math/w_remainder.c: Likewise.
83951         * math/w_remainderf.c: Likewise.
83952         * math/w_remainderl.c: Likewise.
83953         * math/w_scalb.c: Likewise.
83954         * math/w_scalbf.c: Likewise.
83955         * math/w_scalbl.c: Likewise.
83956         * math/w_sinh.c: Likewise.
83957         * math/w_sinhf.c: Likewise.
83958         * math/w_sinhl.c: Likewise.
83959         * math/w_sqrt.c: Likewise.
83960         * math/w_sqrtf.c: Likewise.
83961         * math/w_sqrtl.c: Likewise.
83962         * math/w_tgamma.c: Likewise.
83963         * math/w_tgammaf.c: Likewise.
83964         * math/w_tgammal.c: Likewise.
83966         * po/ja.po: Update from translation team.
83968 2011-09-29  Andreas Jaeger  <aj@suse.de>
83970         [BZ #13179]
83971         * sunrpc/netname.c (netname2host): Fix logic.
83973         [BZ #6779]
83974         [BZ #6783]
83975         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
83976         correctly.
83977         * math/w_remainder.c (__remainder): Likewise.
83978         * math/w_remainderf.c (__remainderf): Likewise.
83979         * math/libm-test.inc (remainder_test): Add test cases.
83981 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83983         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
83984         sdiv_qrnnd.
83986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
83988         * string/test-memcmp.c: Avoid unncessary #defines.
83989         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83991 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83993         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
83994         Use new sse2 version for core i3 - i7 as it's faster
83995         than sse42 version.
83996         (bit_Prefer_PMINUB_for_stringop): New.
83997         * sysdeps/x86_64/rawmemchr.S: Update.
83998         Replace with faster SSE2 version.
83999         * sysdeps/x86_64/memrchr.S: New file.
84000         * sysdeps/x86_64/memchr.S: Update.
84001         Replace with faster SSE2 version.
84003 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84005         * elf/dl-load.c (lose): Add cast to avoid warning.
84007 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84009         * po/ca.po: Update from translation team.
84011         * inet/getnetgrent_r.c: Hook up nscd.
84012         * nscd/Makefile (routines): Add nscd_netgroup.
84013         (nscd-modules): Add netgroupcache.
84014         (CFLAGS-netgroupcache.c): Define.
84015         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84016         (cache_search): Add const to second parameter.
84017         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84018         INNETGR.
84019         (dbs): Add netgrdb entry.
84020         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84021         (verify_persistent_db): Handle netgrdb.
84022         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84023         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84024         GETFDNETGR.
84025         (netgroup_response_header): Define.
84026         (innetgroup_response_header): Define.
84027         (datahead): Add netgroup_response_header and innetgroup_response_header
84028         elements.
84029         * nscd/nscd.conf: Add entries for netgroup cache.
84030         * nscd/nscd.h (dbtype): Add netgrdb.
84031         (_PATH_NSCD_NETGROUP_DB): Define.
84032         (netgroup_iov_disabled): Declare.
84033         (xmalloc, xcalloc, xrealloc): Move declarations here.
84034         (cache_search): Adjust prototype.
84035         Add netgroup-related prototypes.
84036         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84037         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84038         (__nscd_innetgr): Declare.
84039         * nscd/selinux.c (perms): Use access_vector_t as element type and
84040         add netgroup-related initializers.
84041         * nscd/netgroupcache.c: New file.
84042         * nscd/nscd_netgroup.c: New file.
84043         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84044         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84045         For four parameters use innetgr.
84046         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84047         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84048         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84049         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84051         * nscd/connections.c (register_traced_file): Don't register file
84052         for disabled databases.
84054 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84056         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84058         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84059         from tree and freeing node.
84061 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84063         * nss/nsswitch.c (__nss_database_lookup): Handle
84064         nss_parse_service_list out of memory case.
84066 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84068         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84069         out of memory case.
84071 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84073         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84074         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84075         pass it down.
84076         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84077         elf_machine_rela, elf_machine_lazy_rel.
84078         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84079         (ELF_DYNAMIC_DO_REL): Likewise.
84080         (ELF_DYNAMIC_DO_RELA): Likewise.
84081         (ELF_DYNAMIC_RELOCATE): Likewise.
84082         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84083         to ELF_DYNAMIC_DO_REL.
84084         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84085         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84086         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84087         elf_machine_rela.
84088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84089         skip_ifunc, don't call ifunc function if non-zero.
84090         (elf_machine_rela): Likewise.
84091         (elf_machine_lazy_rel): Likewise.
84092         (elf_machine_lazy_rela): Likewise.
84093         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84094         (elf_machine_lazy_rel): Likewise.
84095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84096         Likewise.
84097         (elf_machine_lazy_rel): Likewise.
84098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84099         Likewise.
84100         (elf_machine_lazy_rel): Likewise.
84101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84102         (elf_machine_lazy_rel): Likewise.
84103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84104         (elf_machine_lazy_rel): Likewise.
84105         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84106         (elf_machine_lazy_rel): Likewise.
84107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84108         (elf_machine_lazy_rel): Likewise.
84109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84110         (elf_machine_lazy_rel): Likewise.
84111         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84112         (elf_machine_lazy_rel): Likewise.
84114 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84116         * nss/nss_files/files-init.c (_nss_files_init): Use static
84117         initialization for all the *_traced_file variables.
84119 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84121         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84123 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84125         [BZ #13226]
84126         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84128 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84131         Reread the line before reparsing it.
84133 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84135         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84137 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84138             Maxim Kuvyrkov  <maxim@codesourcery.com>
84139             Joseph Myers  <joseph@codesourcery.com>
84141         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84142         if needed for __stack_chk_guard.
84144 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84146         * sysdeps/posix/spawni.c (script_execute): Always define it.
84147         It will be optimized away if unused.
84148         (maybe_script_execute): New function.
84149         (__spawni): Call it.
84151         * Makerules: Don't include tls.make.
84152         (config-tls): Always set to thread.
84153         * tls.make.c: File removed.
84155 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84157         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84158         * config.make.in (CPPFLAGS-config): New substituted variable.
84160 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84162         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84164         [BZ #13192]
84165         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84166         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84168 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84170         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84171         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84172         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84173         (CALL_FAIL): Likewise.
84174         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84175         (CALL_FAIL): Macro removed.
84176         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84178 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84180         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84181         for __FINITE_MATH_ONLY__ == 1.
84183 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84185         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84186         __ieee754_sqrt instead of sqrt.
84187         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84188         __ieee754_sqrtf instead of sqrtf.
84189         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84190         __floorf instead of floorf.
84191         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84192         __floorf, __truncf instead of floorf, truncf.
84194 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84196         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84198         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84199         __extern_always_inline.
84200         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84201         32-bit.
84203 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84205         * elf/rtld.c (dl_main): Also relocate in dependency order when
84206         doing symbol dependency testing.
84208 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84211         Always define `refsym'.
84213 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84215         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84216         (__FD_ELT): Renamed from __FDELT.
84217         * misc/bits/select2.h (__FD_ELT): Likewise.
84218         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84219         __FD_MASK instead of __FDELT, __FDMASK.
84220         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84221         Likewise.
84222         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84223         Likewise.
84225         * elf/Makefile (gen-ldd): Fix pattern.
84227         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84228         (init_tls): Likewise.
84230 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84232         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84234 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84236         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84237         `struct cmsghdr *' instead of `void *'.
84238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84239         Likewise.
84241 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84243         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84244         if non-absolute.
84245         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84246         ldd_rewrite_script.
84248 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84250         * configure.in: Remove --with-tls option.
84251         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84252         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84253         out in case it is missing.
84254         * sysdeps/ia64/elf/configure.in: Likewise.
84255         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84256         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84257         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84258         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84259         * sysdeps/sh/elf/configure.in: Likewise.
84260         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84261         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84262         * sysdeps/x86_64/elf/configure.in: Likewise.
84263         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84264         * sysdeps/mach/hurd/tls.h: Likewise.
84266         [BZ #13067]
84267         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84269         [BZ #13090]
84270         * configure.in: Fix use of AC_INIT.
84272         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84274 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84276         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84277         __set_errno.
84278         * malloc/hooks.c: Likewise.
84280         [BZ #11929]
84281         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84282         variables statically.
84283         (narenas): Initialize.
84284         (list_lock): Initialize.
84285         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84286         initializtion of main_arena and list_lock.  Small cleanups.
84287         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84288         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84289         Add initializers to main_arena and mp_.
84290         (malloc_state): Remove pagesize member.  Change all users to use
84291         GLRO(dl_pagesize).
84293         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84294         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84295         is always initialized.
84297         * malloc/malloc.c: Removed unused configurations and dead code.
84298         * malloc/arena.c: Likewise.
84299         * malloc/hooks.c: Likewise.
84300         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84302         * include/tls.h: Removed.  USE___THREAD must always be defined.
84303         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84304         * elf/dl-libc.c: Likewise.
84305         * elf/dl-tsd.c: Likewise.
84306         * include/errno.h: Likewise.
84307         * include/netdb.h: Likewise.
84308         * include/resolv.h: Likewise.
84309         * inet/herrno-loc.c: Likewise.
84310         * inet/herrno.c: Likewise.
84311         * malloc/arena.c: Likewise.
84312         * malloc/hooks.c: Likewise.
84313         * malloc/malloc.c: Likewise.
84314         * resolv/res-state.c: Likewise.
84315         * resolv/res_libc.c: Likewise.
84316         * sysdeps/i386/dl-machine.h: Likewise.
84317         * sysdeps/ia64/dl-machine.h: Likewise.
84318         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84320         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84321         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84322         * sysdeps/sh/dl-machine.h: Likewise.
84323         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84324         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84325         * sysdeps/unix/i386/sysdep.S: Likewise.
84326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84327         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84332         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84336         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84337         * sysdeps/x86_64/dl-machine.h: Likewise.
84338         * tls.make.c: Likewise.
84340         * configure.in: Remove --with-__thread option.  Make tests for
84341         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84342         tls_model attribute fail if no support is available.  Remove
84343         USE_IN_LIBIO.
84344         * Makeconfig: Adjust for dropped configure option.  All features are
84345         now mandatory.
84346         * Makerules: Likewise.
84347         * Versions.def: Likewise.
84348         * argp/argp-fmtstream.c: Likewise.
84349         * argp/argp-fmtstream.h: Likewise.
84350         * argp/argp-help.c: Likewise.
84351         * assert/assert.c: Likewise.
84352         * config.h.in: Likewise.
84353         * config.make.in: Likewise.
84354         * configure: Likewise.
84355         * configure.in: Likewise.
84356         * csu/Versions: Likewise.
84357         * csu/init.c: Likewise.
84358         * elf/tst-audit2.c: Likewise.
84359         * elf/tst-tls10.c: Likewise.
84360         * elf/tst-tls10.h: Likewise.
84361         * elf/tst-tls11.c: Likewise.
84362         * elf/tst-tls12.c: Likewise.
84363         * elf/tst-tls14.c: Likewise.
84364         * elf/tst-tlsmod11.c: Likewise.
84365         * elf/tst-tlsmod12.c: Likewise.
84366         * elf/tst-tlsmod13.c: Likewise.
84367         * elf/tst-tlsmod13a.c: Likewise.
84368         * elf/tst-tlsmod14a.c: Likewise.
84369         * elf/tst-tlsmod15b.c: Likewise.
84370         * elf/tst-tlsmod16a.c: Likewise.
84371         * elf/tst-tlsmod16b.c: Likewise.
84372         * elf/tst-tlsmod7.c: Likewise.
84373         * elf/tst-tlsmod8.c: Likewise.
84374         * elf/tst-tlsmod9.c: Likewise.
84375         * gmon/gmon.c: Likewise.
84376         * grp/fgetgrent_r.c: Likewise.
84377         * grp/putgrent.c: Likewise.
84378         * hurd/fopenport.c: Likewise.
84379         * include/libc-symbols.h: Likewise.
84380         * include/tls.h: Likewise.
84381         * intl/gettextP.h: Likewise.
84382         * intl/loadinfo.h: Likewise.
84383         * locale/global-locale.c: Likewise.
84384         * locale/localeinfo.h: Likewise.
84385         * mach/devstream.c: Likewise.
84386         * malloc/arena.c: Likewise.
84387         * malloc/set-freeres.c: Likewise.
84388         * misc/err.c: Likewise.
84389         * misc/getttyent.c: Likewise.
84390         * misc/mntent_r.c: Likewise.
84391         * posix/getopt.c: Likewise.
84392         * posix/wordexp.c: Likewise.
84393         * pwd/fgetpwent_r.c: Likewise.
84394         * resolv/Versions: Likewise.
84395         * resolv/res_hconf.c: Likewise.
84396         * shadow/fgetspent_r.c: Likewise.
84397         * shadow/putspent.c: Likewise.
84398         * stdio-common/printf_fphex.c: Likewise.
84399         * stdio-common/tmpfile.c: Likewise.
84400         * stdlib/abort.c: Likewise.
84401         * stdlib/fmtmsg.c: Likewise.
84402         * sunrpc/auth_unix.c: Likewise.
84403         * sunrpc/clnt_perr.c: Likewise.
84404         * sunrpc/clnt_tcp.c: Likewise.
84405         * sunrpc/clnt_udp.c: Likewise.
84406         * sunrpc/clnt_unix.c: Likewise.
84407         * sunrpc/openchild.c: Likewise.
84408         * sunrpc/svc_simple.c: Likewise.
84409         * sunrpc/svc_tcp.c: Likewise.
84410         * sunrpc/svc_udp.c: Likewise.
84411         * sunrpc/svc_unix.c: Likewise.
84412         * sunrpc/xdr.c: Likewise.
84413         * sunrpc/xdr_array.c: Likewise.
84414         * sunrpc/xdr_rec.c: Likewise.
84415         * sunrpc/xdr_ref.c: Likewise.
84416         * sunrpc/xdr_stdio.c: Likewise.
84418 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84420         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84422 2011-07-03  Andreas Jaeger  <aj@suse.de>
84424         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84425         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84426         regenerate with gen-libm-tests.pl.
84428 2010-05-12  Petr Baudis  <pasky@suse.cz>
84430         [BZ #11589]
84431         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84432         around j0() zero points by switching to j1().
84433         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84434         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84438 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84440         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84441         instead of 0.
84442         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84443         instead of 0.
84444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84445         Patch in part by Pavel Roskin <proski@gnu.org>.
84447         [BZ #13138]
84448         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84449         realloc.
84450         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84451         Free memory block if necessary.
84453         [BZ #12847]
84454         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84455         be NULL.  Don't lock in this case.
84457 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84459         * elf/elf.h (ELFOSABI_GNU): New macro.
84460         (ELFOSABI_LINUX): Define to that.
84462 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84464         * string/strncat.c (strncat): Undef the symbol in case it has been
84465         defined in bits/string.h.
84467 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84469         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84471         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84472         link map.
84474 2011-08-17  Andreas Jaeger  <aj@suse.de>
84476         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84478 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84479             Ian Lance Taylor  <iant@google.com>
84481         * math/libm-test.inc (lround_test): New testcase.
84482         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84484 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84486         * Makefile: Remove support for automatic cvs check-ins.
84487         * Makerules: Likewise.
84488         * config.make.in: Likewise.
84489         * configure.in: Likewise.
84490         * intl/Makefile: Likewise.
84491         * locale/Makefile: Likewise.
84492         * po/Makefile: Likewise.
84493         * posix/Makefile: Likewise.
84494         * sysdeps/gnu/Makefile: Likewise.
84495         * sysdeps/mach/hurd/Makefile: Likewise.
84496         * sysdeps/sparc/sparc32/Makefile: Likewise.
84498         [BZ #13118]
84499         * posix/Makefile (bug-regex32-ENV): Define.
84500         Patch by John Stanley <jpsinthemix@verizon.net>.
84502         * misc/Makefile (headers): Add bits/select2.h.
84503         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84504         * misc/bits/select2.h: New file.
84505         * include/bits/select2.h: New file.
84506         * debug/Makefile (routines): Add fdelt_chk.
84507         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84508         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84509         FD_ISSET.
84510         * debug/fdelt_chk.c: New file.
84512         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84513         * wcsmbs/test-wmemcmp.c: Likewise.
84514         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84515         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84517 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84519         * string/Makefile (strop-tests): Add memcmp.
84520         * string/test-wmemcmp.c: New file.
84521         * string/test-memcmp.c: Add wmemcmp support.
84523 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84525         [BZ #13153]
84526         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84527         2011-07-19 change.
84529         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84530         garbage value in a __mach_port_mod_refs call in the cases of the
84531         task-self and thread-self ports.
84533 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84535         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84537 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84539         * elf/dl-load.c (lose): Check for non-null L.
84541 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84543         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84545         * elf/dl-libc.c (dlerror_run): Pass back error code from
84546         dl_catch_error.
84548         [BZ #13123]
84549         * elf/dl-load.c (lose): Free l_origin if it is valid.
84551         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84552         names.
84553         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84554         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84555         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84556         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84557         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84558         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84560 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84562         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84563         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84564         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84565         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84566         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84567         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84568         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84569         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84570         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84571         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84573 2011-08-15  Alan Modra  <amodra@gmail.com>
84575         [BZ #13092]
84576         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84577         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84578         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84579         ppc_mcount to static-only-routines.
84580         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84581         __mcount_internal.
84582         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84583         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84585 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84587         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84588         for finite and infinity parameters.
84590 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84592         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84593         and add nop instructions for throughput optimization.
84594         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84596 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84598         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84599         aligned copy for power7 with vector-scalar instructions.
84600         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84602 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84605         AVX check.
84607 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84609         [BZ #13144]
84610         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84611         last change.
84613 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84615         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84616         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84617         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84618         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84619         clock_gettime.
84621 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84623         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84624         Forgot to demangle the pointer.
84626         * sysdeps/i386/sysdep.h: Define atom_text_section.
84627         * sysdeps/x86_64/sysdep.h: Likewise.
84628         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84629         section with atom_text_section.
84630         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84631         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84632         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84633         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84634         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84637         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84638         already be defined.  Change to take two parameters and don't assign
84639         result to variable.  Adjust all users.
84640         Define INTERNAL_GETTIME if not already defined.
84641         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84642         call.
84643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84644         HAVE_CLOCK_GETTIME_VSYSCALL.
84645         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84648         gettimeofday vsyscall, just use time.
84650 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84652         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84653         <errno.h>.
84655 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84657         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84658         syscall on x86-64.
84659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84660         syscall.
84661         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84662         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84663         syscall if possible.
84665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84667         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84668         e_ident.  Don't pass to find_mapsXX.
84669         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84671 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84674         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84675         * sysdeps/x86_64/multiarch/strchr.S: Update.
84676         Check bit_slow_BSF bit.
84677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84678         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84679         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84681 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84683         [BZ #13134]
84684         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84685         before glibc 2.15.
84686         (tryshell): Define.
84687         (__spawni): Change last parameter to be flag.  Test
84688         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84689         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84690         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84691         * posix/spawni.c: Likewise.
84692         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84693         * posix/spawnp.c: Likewise.  Change normal version to use
84694         SPAWN_XFLAGS_USE_PATH.
84695         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84696         SPAWN_XFLAGS_TRY_SHELL.
84698         [BZ #13150]
84699         * posix/glob.h: Remove gcc 1.x support.
84701         [BZ #13068]
84702         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84704 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84707         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84708         strrchr-sse2-bsf
84709         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84710         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84711         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84712         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84713         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84714         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84716 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84718         * sysdeps/x86_64/wcscmp.S: New file.
84720         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
84721         wcscmp-c wcscmp-sse2
84722         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
84723         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
84724         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
84725         * wcsmbs/wcscmp.c: Allow renaming.
84727 2011-09-05  David S. Miller  <davem@davemloft.net>
84729         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
84730         stack slot, rather than the struct return pointer slot.
84731         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
84732         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
84733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
84734         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
84736 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84738         * po/ja.po: Update from translation team.
84740         [BZ #13144]
84741         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
84742         kernel in 64-bit binaries.
84744 2011-09-01  David S. Miller  <davem@davemloft.net>
84746         * elf/elf.h (HWCAP_SPARC_*): Move to..
84747         * sysdeps/sparc/sysdep.h: this new file and add new values.
84748         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
84749         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
84750         _DL_HWCAP_COUNT to 24.
84751         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
84752         entries.
84753         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
84754         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
84755         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
84756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
84757         instead of magic constants.
84758         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
84760 2011-08-31  David S. Miller  <davem@davemloft.net>
84762         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
84763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
84764         Reimplement to do errno handling inline.
84765         (SYSCALL_ERROR_HANDLER): New macro.
84766         (__SYSCALL_STRING): Do not do errno handling in asm.
84767         (__CLONE_SYSCALL_STRING): Delete.
84768         (__INTERNAL_SYSCALL_STRING): Delete.
84769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
84770         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
84771         (PSEUDO): Reimplement to do errno handling inline.
84772         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
84773         (SYSCALL_ERROR_HANDLER): New macro.
84774         (__SYSCALL_STRING): Do not do errno handling in asm.
84775         (__CLONE_SYSCALL_STRING): Delete.
84776         (__INTERNAL_SYSCALL_STRING): Delete.
84777         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
84778         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
84779         i386.
84780         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
84781         (inline_syscall*): Add 'err' argument.
84782         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
84783         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
84784         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
84785         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
84787         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
84788         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
84790 2011-08-30  Andreas Schwab  <schwab@redhat.com>
84792         * elf/rtld.c (dl_main): Relocate objects in dependency order.
84794 2011-08-29  Jiri Olsa <jolsa@redhat.com>
84796         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
84797         directive.
84799 2011-08-24  David S. Miller  <davem@davemloft.net>
84801         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
84803 2011-08-24  Andreas Schwab  <schwab@redhat.com>
84805         * elf/Makefile: Add rules to build and run unload8 test.
84806         * elf/unload8.c: New file.
84807         * elf/unload8mod1.c: New file.
84808         * elf/unload8mod1x.c: New file.
84809         * elf/unload8mod2.c: New file.
84810         * elf/unload8mod3.c: New file.
84812         * elf/dl-close.c (_dl_close_worker): Reset private search list if
84813         it wasn't used.
84815 2011-08-23  David S. Miller  <davem@davemloft.net>
84817         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
84818         subtract stack bias.
84819         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
84820         %sp not %fp in calculations.
84821         (_JMPBUF_UNWINDS_ADJ): Likewise.
84823         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
84824         (aio_suspend): Call it to force an exception region around the
84825         AIO_MISC_WAIT() invocation.
84827 2011-08-23  Andreas Schwab  <schwab@redhat.com>
84829         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
84830         backslash.
84832 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
84834         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
84835         protection macro.
84836         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
84837         and <dl-machine.h>.
84838         (Elf64_FuncDesc): Remove.
84840 2011-08-22  David S. Miller  <davem@davemloft.net>
84842         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
84843         sigaltstack check, add missing cfi directives.
84844         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
84845         missing cfi directives, and sigaltstack handling.
84847 2011-08-16  Andreas Schwab  <schwab@redhat.com>
84849         [BZ #11724]
84850         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
84851         object is seen twice.
84852         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84854         * elf/Makefile (distribute): Add tst-initorder2.c.
84855         (tests): Add tst-initorder2.
84856         (modules-names): Add tst-initorder2a tst-initorder2b
84857         tst-initorder2c tst-initorder2d.  Add rules to build them.
84858         ($(objpfx)tst-initorder2.out): New rule.
84859         * elf/tst-initorder2.c: New file.
84860         * elf/tst-initorder2.exp: New file.
84862 2011-08-22  Andreas Schwab  <schwab@redhat.com>
84864         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
84866         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
84867         dependencies back to end of function.
84869         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84870         $(elfobjdir)/ld.so.
84872 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
84874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
84875         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
84876         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
84877         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
84878         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
84879         of __vdso_gettimeofday.
84880         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
84881         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
84882         attribute_hidden.
84883         (_libc_vdso_platform_setup): Remove initialization of
84884         __vdso_gettimeofday and __vdso_time.
84886 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84888         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
84889         and fgetc_unlocked.
84890         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
84891         getc_unlocked.
84893         * elf/dl-open.c (add_to_global): Report additions to the global scope
84894         for LD_DEBUG=scopes.
84895         (dl_open_worker): Also print scope of newly loaded dependencies.
84896         (_dl_show_scope): Indicate if there is no scope.
84898         [BZ #13114]
84899         * stdio-common/Makefile (tests): Add bug24.
84900         * stdio-common/bug24.c: New file.
84902 2011-08-19  Andreas Jaeger  <aj@suse.de>
84904         [BZ #13114]
84905         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
84906         non-existant file when using close-on-exec mode.
84908 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
84910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
84911         the very first instruction.
84913         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
84914         the CFI state in the end.
84915         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
84916         inclusion of dl-trampoline.h.
84917         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
84919 2011-08-19  Andreas Schwab  <schwab@redhat.com>
84921         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
84922         expectations for long double.
84924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
84925         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
84927 2011-08-14  David S. Miller  <davem@davemloft.net>
84929         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
84930         artificual limit depends upon the system page size.
84932 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84934         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
84935         * resolv/Makefile: Define CFLAGS-libresolv.
84937 2011-08-17  Andreas Schwab  <schwab@redhat.com>
84939         * nss/makedb.c (compute_tables): Make variables used in nested
84940         function static.
84942 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
84944         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
84945         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
84946         if buffer was too small.
84948         * elf/pldd.c (main): Attach to all threads in the process.
84949         Rewrite /proc handling to use *at functions.
84951 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
84953         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
84954         specifies first scope to show.
84955         (dl_open_worker): Update callers.  Move printing scope of new
84956         object to before the relocation.
84957         * elf/rtld.c (dl_main): Update _dl_show_scope call.
84958         * sysdeps/generic/ldsodefs.h: Update declaration.
84960         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
84961         string for the scope number.
84963 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
84965         * nscd/servicescache.c (cache_addserv): Make sure written is always
84966         initialized.
84968 2011-08-14  Roland McGrath  <roland@hack.frob.com>
84970         * sysdeps/i386/i486/bits/atomic.h
84971         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
84972         statement expression, so as to suppress "set but not used" warning.
84973         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
84975         * string/strncat.c (STRNCAT): Use prototype definition.
84977         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
84978         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
84979         -Iprograms here.
84980         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
84981         (localedef-modules): Add localedef.
84982         (locale-modules): Add locale.
84984         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
84985         * elf/rtld.c (dl_main): Invert order of assignment in last change,
84986         to avoid a warning.
84988 2011-08-14  David S. Miller  <davem@davemloft.net>
84990         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
84991         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
84993 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
84995         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
84996         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
84997         * elf/rtld.c (dl_main): Set l_name of vDSO.
84998         Call _dl_show_scope when DL_DEBUG_SCOPES.
84999         (process_dl_debug): Recognize scopes flag and also set it for all.
85000         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85001         Declare _dl_show_scope.
85003         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85004         (do_dlopen): Pass caller_dlopen to dl_open.
85005         (__libc_dlopen_mode): Initialize caller_dlopen.
85007         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85008         of libc.  Make tolower call locale-independent.  Optimize a bit by
85009         using isdigit instead of isalnum.
85010         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85012 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85014         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85015         was a dependency or dynamically loaded.
85017 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85019         * intl/l10nflist.c: Allow architecture-specific pop function.
85020         * sysdeps/x86_64/l10nflist.c: New file.
85022         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85023         classification.
85025 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85027         * include/dirent.h: Add libc_hidden_proto for scandirat and
85028         scandirat64.  Don't declare __scandirat64.
85029         * dirent/scandirat.c: Add libc_hidden_def.
85030         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85031         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85033 2011-08-10  David S. Miller  <davem@davemloft.net>
85035         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85036         enum.
85037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85039         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85041 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85043         * Versions.def [libc]: Add GLIBC_2.15.
85044         * dirent/Makefile (routines): Add scandirat and scandirat64.
85045         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85046         GLIBC_2.15.
85047         * dirent/dirent.h: Declare scandirat and scandirat64.
85048         * dirent/scandirat.c: New file.
85049         * dirent/scandirat64.c: New file.
85050         * sysdeps/wordsize-64/scandirat.c: New file.
85051         * sysdeps/wordsize-64/scandirat64.c: New file.
85052         * dirent/opendir.c: Define opendirat.
85053         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85054         using scandirat.
85055         * dirent/scandir64.c: Adjust for scandir.c change.
85056         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85057         __scandirat64, and __scandir_cancel_handler.
85058         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85059         additional parameter and use openat instead of open (outside of ld.so).
85060         Add new __opendir as wrapper around __opendirat.
85061         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85062         here without requiring old scandirat implementation.
85064 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85066         * dirent/scandir.c (cancel_handler): Renamed to
85067         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85068         defined.  Adjust users.
85069         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85070         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85072 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85074         * string/test-string.h (IMPL): Use __STRING to expand name and then
85075         stringify it.
85077         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85078         of cleanups.
85080 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85082         * string/Makefile: Update.
85083         (strop-tests): Append strncat.
85084         * string/test-wcscmp.c: New file.
85085         New comprehensive test for wcscmp.
85086         * string/test-strcmp.c: Update.
85087         (WIDE): New define.
85089 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85091         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85092         line.
85094 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85097         encoding to ACE if AI_IDN.
85099 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85101         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85102         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85104 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85106         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85107         Fix overflow bug in strncat.
85108         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85110         * string/test-strncat.c: Update.
85111         Add new tests for checking overflow bugs.
85113 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85116         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85117         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85118         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85120         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85121         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85122         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85123         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85126         (USE_AS_STRCAT): Define.
85127         Add strcat and strncat support.
85128         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85130 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85132         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85133         __n bigger than INT_MAX+1.
85134         (__strncmp_g): Likewise.
85136 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85138         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85139         * libio/stido.h: Likewise.
85141         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85142         (AF_NFC): Define.
85143         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85144         (AF_NFC): Define.
85146         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85147         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85148         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85152         [BZ #13021]
85153         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85154         installed.
85156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85157         typo.
85158         (_dl_x86_64_save_sse): Likewise.
85160 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85162         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85163         OSXSAVE.
85164         (_dl_x86_64_save_sse): Likewise.
85166         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85168         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85170 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85172         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85173         change.
85174         (_dl_x86_64_save_sse): Use correct AVX check.
85176 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85178         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85179         bug in strncpy/strncat.
85180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85182 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85184         * string/tester.c (test_strcat): Add tests for different alignments
85185         of source and destination.
85186         (test_strncat): Likewise.
85188 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85190         [BZ #12852]
85191         * posix/glob.c (glob): Check passed in values before using them in
85192         expressions to avoid some overflows.
85193         (glob_in_dir): Likewise.
85195         [BZ #13007]
85196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85197         check for AVX enablement so that we don't crash with old kernels and
85198         new hardware.
85199         * elf/tst-audit4.c: Add same checks here.
85200         * elf/tst-audit6.c: Likewise.
85202         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85204 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85206         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85208 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85210         * po/cs.po: Update from translation team.
85211         * po/bg.po: Likewise.
85213 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85215         * misc/sys/cdefs.h: Add support for const attribute.
85216         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85217         to gnu_dev_{major,minor,makedev} functions.
85219 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85221         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85223 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85225         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85226         strlen results.
85228 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85231         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85232         register in order to avoid conflicts with the soft frame pointer
85233         being held in r11 when necessary.
85234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85235         (INTERNAL_VSYSCALL_NCS): Likewise.
85237 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85239         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85240         * elf/dl-fini.c (_dl_fini): Adjust caller.
85241         * elf/dl-close.c (_dl_close_worker): Likewise.
85242         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85244 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85246         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85247         "aux_cache->nlibs < 0".
85249         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85250         in the reload-count case.
85252 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85255         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85256         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85257         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85258         * sysdeps/x86_64/multiarch/strcat.S: New file.
85259         * sysdeps/x86_64/multiarch/strncat.S: New file.
85260         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85261         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85262         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85263         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85264         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85265         (USE_AS_STRCAT): Define.
85266         Add strcat and strncat support.
85267         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85268         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85269         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85270         * string/strncat.c: Update.
85271         (USE_AS_STRNCAT): Define.
85272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85273         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85274         and i7.
85275         * sysdeps/x86_64/multiarch/init-arch.h
85276         (bit_Prefer_PMINUB_for_stringop): New.
85277         (index_Prefer_PMINUB_for_stringop): Likewise.
85278         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85279         bit_Prefer_PMINUB_for_stringop.
85281 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85283         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85284         buffer64.
85285         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85286         of casting of buffer.
85287         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85288         buffer32 and buffer64.
85289         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85290         writes instead of casting of buffer.
85291         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85292         buffer32.
85293         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85294         casting of buffer.
85296 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85298         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85300 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85302         * nscd/nscd.c (termination_handler): Don't do anything for a database
85303         if it has not yet been initialized.
85305 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85307         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85309 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85311         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85313 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85315         * po/nl.po: Update from translation team.
85316         * po/sv.po: Likewise.
85318 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85320         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85321         now disallowed by GCC.
85323         * configure.in (use-default-link): Default to yes if a test -shared
85324         link meets our qualifications.
85325         * configure: Regenerated.
85327         * config.make.in (output-format): New variable.
85328         * configure.in: Check for ld --print-output-format support.
85329         * configure: Regenerated.
85330         * Makerules ($(common-objpfx)format.lds)
85331         [$(output-format) != unknown]: Just use $(output-format),
85332         instead of the linker-script munging.
85334 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85336         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85337         of $(common-objpfx)shlib.lds.
85338         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85340         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85341         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85343         * configure.in (-z relro check): Adjust test code to add a large
85344         writable data section after it.
85345         * configure: Regenerated.
85347 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85349         * configure.in (-z relro check): Fix test code to make the variable
85350         truly const.
85351         * configure: Regenerated.
85353 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85355         * nscd/nscd.h (struct traced_file): Define.
85356         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85357         elements.  Add traced_files.
85358         (inotify_fd): Declare.
85359         (register_traced_file): Declare.
85360         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85361         (inotify_fd): Export.
85362         (resolv_conf_descr): Remove.
85363         (nscd_init): Move inotify descriptor creation to main.
85364         Don't register files for notification here.
85365         (register_traced_file): New function.
85366         (invalidate_cache): Don't use reset_res to determine whether to call
85367         res_init, go through the list of registered files.
85368         (main_loop_poll): The inotify descriptors are now stored in the
85369         structures for the traced files.
85370         (main_loop_epoll): Likewise.
85371         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85372         to __nss_disable_nscd.
85373         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85374         for a database anymore.  Check the records for all the registered
85375         files instead.
85376         * nss/Makefile (libnss_files-routines): Add files-init.
85377         (libnss_db-routines): Add db-init.
85378         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85379         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85380         * nss/nss_db/db-init.c: New file.
85381         * nss/nss_files/files-init.c: New file.
85382         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85383         __nss_lookup_function.
85384         (__nss_lookup_function): Call nss_load_library.
85385         (nss_load_all_libraries): New function.
85386         (__nss_disable_nscd): Take parameter with callback function for files
85387         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85388         used for the cached services.
85389         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85390         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85391         options for features to all the files in nscd.
85393         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85395 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85397         * csu/elf-init.c (__libc_csu_init): Comment typo.
85399 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85401         * po/pl.po: Update from translation team.
85402         * po/ja.po: Likewise.
85403         * po/ru.po: Likewise.
85404         * po/ko.po: Likewise.
85405         * po/fr.po: Likewise.
85407 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85409         * configure.in (.ctors/.dtors header and trailer check):
85410         Use an empirical test on a built program.
85411         * configure: Regenerated.
85413         * configure.in (-z relro check): Use an empirical test on a built DSO.
85414         Detect, but do not require, on ia64.
85415         * configure: Regenerated.
85417         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85418         Update tests that use readelf to use $READELF instead.
85419         * configure: Regenerated.
85421 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85423         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85424         if the result is not used.
85426 2011-07-05  Andreas Jaeger  <aj@suse.de>
85428         [BZ#9696]
85429         * stdlib/tst-strtod.c: Add testcase.
85431 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85433         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85434         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85435         The latter has a higher limit.  Take additional parameter to pass to
85436         the new function.
85437         (__pathconf): Pass file to __statfs_link_max.
85438         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85439         __statfs_link_max.
85440         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85441         __statfs_link_max.
85443         [BZ #12868]
85444         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85446         Handle Lustre.
85447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85448         (__statfs_filesize_max): Likewise.
85449         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85451 2011-07-05  Andreas Jaeger  <aj@suse.de>
85453         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85455 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85457         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85458         `status' variable.
85459         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85460         Likewise.
85462 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85464         * Makefile (strop-tests): Add strncat.
85465         * string/test-strncat.c: New file.
85467 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85469         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85471 2011-06-21  Andreas Jaeger  <aj@suse.de>
85473         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85474         Copy rule from iconvdata/Makefile.
85476 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85478         [BZ #12922]
85479         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85480         but no long options are defined, just return 'W'.
85482 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85484         [BZ #9696]
85485         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85487 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85489         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85490         netgroups to read.
85491         (innetgr): Likewise.
85493 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85495         * config.make.in (install_root): Default to $(DESTDIR).
85497 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85499         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85501 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85503         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85505         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85506         containing directory rather than embedding absolute directory names.
85508         * scripts/check-local-headers.sh: Rewritten using awk.
85509         Match by word, not by line.  Print error messages for matches.
85510         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85512         * Makerules [shlib-lds-flags empty]:
85513         ($(common-objpfx)libc_pic.opts): New target.
85514         ($(common-objpfx)libc_pic.os.clean): New target.
85515         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85517         * config.make.in (OBJCOPY): New variable.
85518         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85519         * configure: Regenerated.
85521         * config.make.in (use-default-link): New variable.
85522         * configure.in (use_default_link): Grok --with-default-link to set it.
85523         * configure: Regenerated.
85524         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85525         (shlib-lds, shlib-lds-flags): Define to empty.
85527         * Makerules (shlib-lds): New variable.
85528         (shlib-lds-flags): New variable.
85529         (build-shlib, build-moduile, build-module-asneeded): Use it.
85530         ($(common-objpfx)libc.so): Use $(shlib-lds).
85531         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85532         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85534         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85535         DT_FLAGS/DT_FLAGS_1 with zero flags.
85537         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85538         linker script munging.
85540 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85542         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85543         as 128-bit value.
85544         * crypt/sha512.c (sha512_process_block): Perform total addition using
85545         128-bit if possible.
85546         (__sha512_finish_ctx): Likewise.
85547         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85548         as 64-bit value.
85549         * crypt/sha256.c (SWAP64): Define.
85550         (sha256_process_block): Perform total addition using 64-bit if
85551         possible.
85552         (__sha256_finish_ctx): Likewise.
85554 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85556         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85557         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85558         * nscd/hstcache.c (cache_addhst): Likewise.
85559         * nscd/grpcache.c (cache_addgr): Likewise.
85560         * nscd/aicache.c (addhstaiX): Likewise.
85561         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85563 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85565         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85567         * nscd/hstcache.c (cache_addhst): Likewise.
85568         * nscd/grpcache.c (cache_addgr): Likewise.
85569         * nscd/aicache.c (addhstaiX): Likewise.
85571 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85573         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85574         domain only when needed.
85576 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85579         is always restored.
85581 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85583         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85584         are re-adding the entry.
85585         * nscd/servicescache.c (cache_addserv): Likewise.
85587 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85589         * sysdeps/generic/dl-irel.h: fix protection against multiple
85590         inclusions.
85591         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85593 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85595         [BZ #12935]
85596         * malloc/memusage.sh: Fix quoting in message.
85597         * debug/xtrace.sh: Likewise.
85599         * configure.in: Remove support for --experimental-malloc option, make
85600         it the default.
85601         * config.make.in: Likewise.
85602         * malloc/Makefile: Likewise.
85604 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85606         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85607         two-byte characters.
85609 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85611         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85612         AC_CACHE_CHECK invocation.
85613         * configure: Regenerated.
85615         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85617 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85619         [BZ #12350]
85620         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85621         bit from old_res_options.
85623         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85625         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85626         value type for setfct.
85628 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85631         __gettimeofday instead of gettimeofday.
85633 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85635         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85637 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85641         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85642         info.
85644 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85647         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85648         strcpy-sse2-unaligned strncpy-sse2-unaligned
85649         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85650         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85651         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85652         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85653         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85656         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85657         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85658         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85659         (STRCPY): Support SSE2 and SSSE3 versions.
85661 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85663         [BZ #12874]
85664         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85665         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85666         kernels which artificially limit size of requests.
85668 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85671         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85672         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85673         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85674         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85675         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85676         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85677         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85679         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85680         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85681         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85682         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85683         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85684         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85686         Enable unaligned load optimization for Intel Core i3, i5 and i7
85687         processors.
85688         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85689         Define.
85690         (index_Fast_Unaligned_Load): Define.
85691         (HAS_FAST_UNALIGNED_LOAD): Define.
85693 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85695         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85697 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85699         [BZ #12907]
85700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85701         until it is clear that the information is realy needed.
85702         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85704 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85708 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85711         /sys/devices/system/cpu/online if it is usable.
85713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85714         reading the information from the /proc filesystem to once a second.
85716 2011-06-21  Andreas Jaeger  <aj@suse.de>
85718         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
85719         NULL after inclusion of kernel headers.
85721 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
85723         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
85724         calls to internal_setent.
85726         [BZ #12885]
85727         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
85728         addresses using gethostbyname4_r ignore IPv4 addresses.
85730         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
85731         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
85733         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
85735 2011-06-20  David S. Miller  <davem@davemloft.net>
85737         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
85738         inclusions.
85739         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
85741         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
85742         (elf_irel): Use it.
85743         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
85744         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
85745         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
85746         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
85747         * sysdeps/x86_64/dl-irel.h: Likewise.
85749         * elf/dl-runtime.c: Use elf_ifunc_invoke.
85750         * elf/dl-sym.c: Likewise.
85752 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85754         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
85755         need to dereference resplen2.
85757 2011-06-14  Andreas Schwab  <schwab@redhat.com>
85759         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
85761 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
85763         * Makeconfig: Define vardbdir and inst_vardbdir.
85764         * nss/Makefile: Add rules to install db-Makefile.
85766         * nss/nss_db/db-XXX.c: Cleanup.
85768         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
85769         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
85770         GLIBC_PRIVATE.
85771         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
85772         * nss/makedb.c: Implement -g option to specify that value strings
85773         are generated and should not be added to table iterated over for
85774         get*ent calls.
85775         * nss/nss_db/db-initgroups.c: New file.
85777         * nss/getent.c: Add support for initgroups lookups through getgrouplist
85778         interface.
85780         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
85781         (internal_getgrouplist): Adjust to name change.
85782         Update use_initgroups_entry if this is not the first call.
85783         * nss/databases.def: Add initgroups entry.
85785         * nss/makedb.c (compute_tables): Check result of multiple hash table
85786         sizes to minimize maximum chain length.
85788 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
85790         * Versions.def: Add entry for libnss_db.
85791         * shlib-versions: Likewise.
85792         * nss/Makefile: Add rules to build libnss_db.
85793         * nss/Versions: Add libnss_db information.  Organize libnss_files
85794         entries better.
85795         * nss/db-Makefile: Add gshadow support.  Change rules for the new
85796         makedb progra.  Some minor improvements to generate smaller files.
85797         * nss/nss_db/nss_db.h: Move NSS database header data structures to
85798         here from...
85799         * nss/makedb.c: ...here.
85800         Improve database format to be smaller and require less memory at
85801         runtime.
85802         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
85803         db anymore.
85804         * nss/nss_db/db-netgrp.c: Likewise.
85805         * nss/nss_db/db-open.c: Likewise.
85806         * nss/nss_files/flies-XXX.x: Adjust comments.
85807         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
85808         * nss/nss_files/files-grp.c: Likewise.
85809         * nss/nss_files/files-hosts.c: Likewise.
85810         * nss/nss_files/files-network.c: Likewise.
85811         * nss/nss_files/files-proto.c: Likewise.
85812         * nss/nss_files/files-pwd.c: Likewise.
85813         * nss/nss_files/files-rpc.c: Likewise.
85814         * nss/nss_files/files-service.c: Likewise.
85815         * nss/nss_files/files-sgrp.c: Likewise.
85816         * nss/nss_files/files-spwd.c: Likewise.
85817         * nss/nss_db/db-alias.c: Removed.
85818         * nss/nss_db/dummy-db.h: Removed.
85820 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
85822         * nss/makedb.c: Rewritten to not use database library.
85823         * nss/Makefile: Update to build new makedb program.
85825 2011-06-14  Andreas Jaeger  <aj@suse.de>
85827         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
85828         memset declaration.
85830 2011-06-10  Andreas Schwab  <schwab@redhat.com>
85832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
85833         tmpbuf.
85835 2011-06-10  Roland McGrath  <roland@hack.frob.com>
85837         * Makerules (shlib.lds): Fail if the linker script comes out empty.
85838         * elf/Makefile ($(objpfx)ld.so): Likewise.
85840         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
85841         Don't list ld.so twice in dependencies.
85843         * posix/bug-regex31.c: Include <stdlib.h>.
85845         * nscd/hstcache.c (cache_addhst): Remove unused variable.
85847         * nis/nss_compat/compat-spwd.c
85848         (getspent_next_nss_netgr): Remove unused variable.
85849         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
85851         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
85852         nonmembers" output to use the right array.
85854         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
85856         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
85858         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
85859         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
85860         * catgets/gencat.c (read_input_file): Likewise.
85861         * locale/programs/locarchive.c (enlarge_archive): Likewise.
85863         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
85864         variable definition inside #if's controlling its use.
85866         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
85868         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
85870         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
85872         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
85873         unreachable code.
85875         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
85877         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
85878         * configure: Regenerated.
85880         * Makerules: Revert last change.
85881         * elf/Makefile: Likewise.
85883 2011-06-09  Roland McGrath  <roland@hack.frob.com>
85885         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
85886         * elf/Makefile ($(objpfx)librtld.os): Likewise.
85887         (reloc-link): Likewise.
85889 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
85891         * elf/Makefile: Add rules to build pldd.
85892         * elf/pldd.c: New file.
85893         * elf/pldd-xx.c: New file.
85895 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
85897         * version.h: Update for 2.15 development version.
85899 2011-06-07  David S. Miller  <davem@davemloft.net>
85901         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
85902         ifuncs.
85903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
85904         elf_machine_lazy_rel): Likewise.
85905         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
85906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
85907         elf_machine_lazy_rel): Likewise.
85908         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
85909         dl_hwcap via passed in argument.
85910         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
85911         Likewise.
85913 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85915         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
85917 2011-06-06  Roland McGrath  <roland@hack.frob.com>
85919         [BZ #12849]
85920         * manual/fdl-1.1.texi: New file, verbatim from:
85921         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
85922         * manual/lgpl-2.1.texi: New file, verbatim from:
85923         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
85924         * manual/Makefile (licenses): New variable, list those new file names.
85925         (texis): Use it.
85926         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
85928         * manual/fdl.texi: File removed.
85929         * manual/lesser.texi: File removed.
85930         * manual/libc.texinfo (Copying, Documentation License):
85931         Use new @include file names, put @appendix directive before @include.
85933 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
85935         [BZ #12841]
85936         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
85937         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
85938         (mq_open): Add __NTH.
85940 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
85942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85943         Assume Intel Core i3/i5/i7 processor if AVX is available.
85945 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85947         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
85948         typo.
85950 2011-05-31  Andreas Schwab  <schwab@redhat.com>
85952         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
85953         memory.  Use alloca_account.  Fix memory leak when retrying.
85955 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
85957         * version.h (RELEASE): Bump for 2.14 release.
85958         * include/features.h (__GLIBC_MINOR__): Bump to 14.
85960         * config.make.in (RANLIB): Remove entry.
85962 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
85964         * po/Makefile (po-sed-cmd): Add ksh to extensions.
85965         (libc.pot): Work around missing support for .ksh extension in xgettext.
85967         [BZ #12684]
85968         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
85969         if both request failed.
85970         (send_dg): In case of server errors clear resplen or *resplen2.
85972         [BZ #12454]
85973         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
85974         when there are multiple maps.
85975         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
85976         (_dl_fini): Remove test here.
85978         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
85980 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
85982         [BZ #12350]
85983         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
85984         bit from old_res_options.
85985         (gaih_inet): Likewise.
85987         [BZ #11099]
85988         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
85989         as signed.
85991         * resolv/res_init.c (res_setoptions): Make the code more compact.
85993         [BZ #11558]
85994         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
85995         set RES_USEVC.
85997         [BZ #11634]
85998         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86000         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86002         [BZ #11781]
86003         * malloc/malloc.h: Declare malloc hook variables as volatile.
86005         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86006         in last patch.
86008         [BZ #11799]
86009         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86010         raise in the comment.
86011         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86012         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86013         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86015 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86017         [BZ #12811]
86018         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86019         grow the buffers more if it already has to be sufficient.
86020         (build_wcs_upper_buffer): Likewise.
86021         * posix/regexec.c (check_matching): Likewise.
86022         (clean_state_log_if_needed): Likewise.
86023         (extend_buffers): Don't enlarge buffers beyond size of the input
86024         buffer.
86025         Patches mostly by Emil Wojak <emil@wojak.eu>.
86026         * posix/bug-regex32.c: New file.
86027         * posix/Makefile (tests): Add bug-regex32.
86029         * locale/findlocale.c (_nl_find_locale): Return right away if
86030         _nl_explode_name failed.
86031         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86035         * debug/xtrace.sh: Unify messages.
86036         * malloc/memusage.sh: Likewise.
86038         [BZ #12813]
86039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86040         time symbol from vDSO.  Substitute with vsyscall if not available.
86041         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86042         __vdso_time.
86044         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86045         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86046         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86047         Add sendmmsg and internal_sendmmsg.
86048         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86049         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86050         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86052         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86053         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86054         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86056 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86058         [BZ #12813]
86059         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86060         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86061         available.
86062         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86063         __vdso_getcpu.
86065         [BZ #12814]
86066         * iconvdata/Makefile (tests): Add bug-iconv9.
86067         * iconvdata/bug-iconv9.c: New file.
86069 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86071         [BZ #12814]
86072         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86074 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86076         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86077         (struct user_regs_struct): Change intcs field back to cs.
86079 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86081         * po/ja.po: Update from translation team.
86083 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86085         [BZ #12795]
86086         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86087         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86089 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86091         * stdlib/longlong.h: Update from GCC.
86093 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86095         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86096         parameter name.
86097         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86098         Add parameter name.
86099         (__sysconf): Pass it down.
86101 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86103         [BZ #12671]
86104         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86105         some situations.
86106         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86107         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86108         add in in __libc_use_alloca calls.  Adjust callers.
86109         (glob): Use malloc in some situations.
86111         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86112         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86113         pltexit.
86115 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86117         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86118         and CLOCK_BOOTTIME_ALARM.
86120         [BZ #12782]
86121         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86122         is returned.
86124         * string/_strerror.c (__strerror_r): Print negative errors as signed
86125         numbers.
86127         [BZ #12777]
86128         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86129         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86130         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86132         * configure.in: Fix typo in redirection and correct removal of test
86133         files in two cases.
86135         [BZ #12788]
86136         * locale/setlocale.c (new_composite_name): Fix test to check for
86137         identical name of all categories.
86139         [BZ #12792]
86140         * libio/filedoalloc.c (local_isatty): New function.
86141         (_IO_file_doallocate): Use local_isatty.
86142         * stdio-common/perror.c (perror): In case a new stream is used
86143         forward the stream error.
86144         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86145         error flag.
86147 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86149         [BZ #11884]
86150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86151         alloca.
86152         * include/alloca.h (extend_alloca_account): Define.
86154         [BZ #11857]
86155         * posix/regex.h: Fix comments with documentation of user-accessible
86156         fields after compilation and describe correct free'ing of pattern
86157         after re_compile_pattern.
86158         Patch by Reuben Thomas <rrt@sc3d.org>.
86160 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86162         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86163         and -mno-altivec to prevent the compiler from using Altivec and/or
86164         VSX instructions when the corresponding registers are not available.
86166 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86168         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86170 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86172         * libio/freopen.c (freopen): Use __dup2, not dup2.
86173         * libio/freopen64.c (freopen64): Likewise.
86175 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86177         [BZ #12775]
86178         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86179         * math/Makefile (tests): Add test-powl.
86180         (CFLAGS-test-powl.c): Define.
86181         * math/test-powl.c: New file.
86183 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86185         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86187 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86189         [BZ #11837]
86190         * iconvdata/gb18030.c: Update to GB18020-2005.
86192 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86194         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86195         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86196         Patch by Aharon Robbins <arnold@skeeve.com>.
86198         [BZ #11892]
86199         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86200         on the stack.
86202         [BZ #11895]
86203         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86204         through underflows.
86206         [BZ #12766]
86207         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86208         point to strings before performing equality test for error_one_per_line
86209         mode.
86211         [BZ #11697]
86212         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86214         [BZ #11820]
86215         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86216         (struct user_fpregs_struct): Avoid __uint*_t types.
86218         [BZ #6420]
86219         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86220         symbol info.  Use it instead of calling _dl_addr locally.
86221         (lock_and_info): New function.
86222         (tr_freehook): Call lock_and_info and pass symbol info as additional
86223         parameter to tr_where.
86224         (tr_mallochook): Likewise.
86225         (tr_reallochook): Likewise.
86226         (tr_memalignhook): Likewise.
86228         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86229         used and couldn't be at all thread-safe.
86231 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86233         * libio/freopen.c (freopen): Don't close old file descriptor
86234         before the new one is opened.  Instead dup the new file descriptor
86235         to the old one after the new stream is created.
86236         * libio/freopen64.c (freopen64): Likewise.
86237         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86238         * libio/fileops.c (_IO_new_file_close_it): Handle new
86239         _IO_FLAGS2_NOCLOSE flag.
86240         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86241         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86242         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86243         _IO_FLAGS2_NOCLOSE flag.
86244         * include/unistd.h: Add hidden_proto for dup3.
86245         Define __have_dup3.
86246         * io/dup3.c: Define hidden symbol.
86247         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86249         [BZ #7101]
86250         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86251         when an incomplete long option is used.
86252         * posix/tst-getopt_long1.c: New file.
86253         * posix/Makefile (tests): Add tst-getopt_long1.
86255         [BZ #10138]
86256         * scripts/config.guess: Update from autoconf-2.68.
86257         * scripts/config.sub: Likewise.
86259         [BZ #10157]
86260         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86261         tests into ...
86262         (has_cpuclock): ...this.  New function.
86263         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86264         macro here based on has_cpuclock code.
86266         [BZ #10149]
86267         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86268         First byte (not low byte) is now always NUL.
86269         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86271         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86272         Use non-cancelable interfaces.
86274         [BZ #9809]
86275         * locale/iso-639.def: Add entry for Sorani.
86277         [BZ #11901]
86278         * include/stdlib.h: Move include protection to the right place.
86279         Define abort_msg_s.  Declare __abort_msg with it.
86280         * stdlib/abort.c (__abort_msg): Adjust type.
86281         * assert/assert.c (__assert_fail_base): New function.  Majority
86282         of code from __assert_fail.  Allocate memory for __abort_msg with
86283         mmap.
86284         (__assert_fail): Now call __assert_fail_base.
86285         * assert/assert-perr.c: Remove bulk of implementation.  Use
86286         __assert_fail_base.
86287         * include/assert.hL Declare __assert_fail_base.
86288         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86289         mmap.
86290         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86292 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86294         [BZ #11952]
86295         [BZ #12453]
86296         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86297         until all modules are registered in the DTV.
86298         * elf/Makefile: Add rules to build and run tst-tls19.
86299         * elf/tst-tls19.c: New file.
86300         * elf/tst-tls19mod1.c: New file.
86301         * elf/tst-tls19mod2.c: New file.
86302         * elf/tst-tls19mod3.c: New file.
86303         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86305         [BZ #12083]
86306         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86307         correctly.
86309         [BZ #12601]
86310         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86311         two-byte sequence errors.
86312         * iconvdata/Makefile (tests): Add bug-iconv8.
86313         * iconvdata/bug-iconv8.c: New file.
86315         [BZ #12626]
86316         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86317         buf2 definition.
86319         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86321         [BZ #12432]
86322         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86323         (dummy_getcfa): New function.
86324         (init): Get _Unwind_GetCFA address, use dummy if not found.
86325         (backtrace_helper): In recursion check, also check whether CFA changes.
86326         (__backtrace): Completely initialize arg.
86328         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86329         storing incomplete byte sequence in state object.  Avoid testing for
86330         guaranteed too small input if we know there is enough data available.
86332 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86334         * Makeconfig (+link-pie): Indent.
86335         * Rules (binaries-pie): Define if $(have-fpie) and
86336         $(build-shared).
86337         (binaries-shared): Also filter out $(binaries-pie).
86338         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86339         * nscd/Makefile (others-pie): Add nscd.
86340         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86341         ($(objpfx)nscd): Remove command override.
86342         * login/Makefile (others-pie): Add pt_chown.
86343         ($(objpfx)pt_chown): Remove command override.
86344         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86345         remove command overrides.
86347 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86349         * libio/tst_putwc.c: Fix error messages.
86351         [BZ #12724]
86352         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86353         currently writing and seek to current position when not.
86354         * libio/Makefile (tests): Add bug-fclose1.
86355         * libio/bug-fclose1.c: New file.
86357 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86359         [BZ #12511]
86360         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86361         don't set DF_1_NODELETE here.
86362         (do_lookup_x): When entering new entry test for copy relocation
86363         and if necessary set DF_1_NODELETE flag.
86364         * elf/tst-unique4.cc: New file.
86365         * elf/tst-unique4.h: New file.
86366         * elf/tst-unique4lib.cc: New file.
86367         * elf/Makefile: Add rules to build and run tst-unique4.
86368         Patch by Piotr Bury <pbury@goahead.com>.
86370 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86372         [BZ #12052]
86373         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86375         [BZ #12625]
86376         * misc/mntent_r.c (addmntent): Flush the stream after the output
86378         [BZ #12393]
86379         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86380         (is_trusted_path_normalize): Skip initial colon.  Append slash
86381         to empty buffer.  Duplicate is_trusted_path code but allow
86382         constructed patch to be prefix.
86383         (is_dst): Allow $ORIGIN followed by /.
86384         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86385         Correct testing of result of is_trusted_path_normalize
86386         (decompose_rpath): Fix warning.
86388 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86390         [BZ #11257]
86391         * grp/initgroups.c (internal_getgrouplist): When we found the service
86392         list through the initgroups entry in nsswitch.conf do not always
86393         continue on a successful lookup.  Don't always use the
86394         __nss_group_database value if it is set.
86395         * nss/nsswitch.conf (initgroups): Change action for successful db
86396         lookup to continue for compatibility.
86398 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86400         [BZ #11532]
86401         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86402         and CP774 modules.
86403         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86404         and CP774 modules.
86405         * iconvdata/tst-tables.sh: Likewise.
86406         * iconvdata/cp770.c: New file.
86407         * iconvdata/cp771.c: New file.
86408         * iconvdata/cp772.c: New file.
86409         * iconvdata/cp773.c: New file.
86410         * iconvdata/cp774.c: New file.
86411         * iconvdata/testdata/CP770: New file.
86412         * iconvdata/testdata/CP770..UTF8: New file.
86413         * iconvdata/testdata/CP771: New file.
86414         * iconvdata/testdata/CP771..UTF8: New file.
86415         * iconvdata/testdata/CP772: New file.
86416         * iconvdata/testdata/CP772..UTF8: New file.
86417         * iconvdata/testdata/CP773: New file.
86418         * iconvdata/testdata/CP773..UTF8: New file.
86419         * iconvdata/testdata/CP774: New file.
86420         * iconvdata/testdata/CP774..UTF8: New file.
86422         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86423         END CHARMAP line.
86424         * iconvdata/gen-8bit-gap.sh: Likewise.
86425         * iconvdata/gen-8bit.sh: Likewise.
86427         * locale/iso-639.def: Add ary entry.
86429         [BZ #11258]
86430         * locale/C-translit.h.in: Add U20A1 transliteration.
86432         [BZ #12178]
86433         * locale/iso-639.def: Add wae entry.
86434         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86436         [BZ #12545]
86437         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86438         for n.
86440         [BZ #12711]
86441         * locale/C-translit.h.in: Add entry for U20B9.
86442         Patch by pravin.d.s@gmail.com.
86444 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86446         [BZ #12713]
86447         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86448         ENAMETOOLONG use generic getcwd.
86449         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86450         in rtld.  Use *stat64.
86451         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86452         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86453         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86454         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86455         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86456         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86457         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86458         __fstatat64 macros.
86459         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86460         * dirent/rewinddir.c: Add libc_hidden_def.
86461         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86462         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86464         * include/dirent.h (__alloc_dir): Add flags parameter.
86465         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86466         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86467         __alloc_dir.
86468         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86469         from fdopendir if O_CLOEXEC is already set.
86471 2011-03-15  Alan Modra  <amodra@gmail.com>
86473         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86474         l_tls_firstbyte_offset non-zero.  Save padding offset in
86475         l_tls_firstbyte_offset for later use.
86476         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86477         freeing static tls block.
86479 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86481         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86482         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86483         being defined by the kernel headers.
86485 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86487         [BZ #12734]
86488         * resolv/resolv.h: Define RES_NOTLDQUERY.
86489         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86490         no-tld-query and set RES_NOTLDQUERY.
86491         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86492         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86493         modern BIND to search name as TLD unless forbidden.
86495 2011-05-07  Petr Baudis  <pasky@suse.cz>
86496             Ulrich Drepper  <drepper@gmail.com>
86498         [BZ #12393]
86499         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86500         (is_trusted_path): ...to here.
86501         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86502         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86503         using is_trusted_path_normalize() in setuid scripts.
86505 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86507         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86508         __BEGIN/__END_DECLS.
86510 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86512         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86513         NSS_STATUS_NOTFOUND if no record was found.
86515 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86517         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86518         (headers-not-in-tirpc): Remove rpc/netdb.h
86519         * resolv/netdb.h: Revert last change.
86521 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86523         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86524         circular dependency between libgcc.a and libc.a.
86526 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86528         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86529         * nis/Makefile: Don't install rpcsvc/*.
86530         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86531         instead of <rpc/types.h>.
86532         (MAXHOSTNAMELEN): Define.
86534 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86536         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86538 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86540         [BZ #12714]
86541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86542         gethostbyname4_r when IPv6 results are possible.
86544 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86546         [BZ #12723]
86547         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86548         _PC_PIPE_BUF handling.
86550 2011-04-30  Bruno Haible  <bruno@clisp.org>
86552         [BZ #12717]
86553         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86554         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86555         to 'int'.
86556         * inet/getnameinfo.c (getnameinfo): Likewise.
86558 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86560         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86561         to groups setting in database lookup.
86562         * nss/nsswitch.conf: Add initgroups entry.
86564 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86566         [BZ #12685]
86567         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86568         mode string.
86569         Patch by Eric Blake <eblake@redhat.com>.
86571 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86573         * sunrpc/Makefile (need-export-routines): Add svc_run.
86574         (routines): Remove svc_run.
86575         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86576         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86577         * sunrpc/svc_run.c (svc_run): Likewise.
86578         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86580 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86583         problem in reallocation in last patch.
86585 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86587         * sunrpc/Makefile: Move inclusion of Rules.
86589 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86591         * nss/nss_files/files-initgroups.c: New file.
86592         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86593         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86594         _nss_files_initgroups_dyn.
86596 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86598         * elf/elf.h (R_ARM_IRELATIVE): Define.
86600 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86602         * po/ru.po: Update from translation team.
86604 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86606         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86607         dependencies.
86609 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86611         [BZ #12653]
86612         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86613         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86614         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86615         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86618 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86621         differing bytes.
86622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86626 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86628         [BZ #12420]
86629         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86630         storing it.
86631         * stdlib/bug-getcontext.c: New file.
86632         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86634 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86636         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86637         instructions into .machine "z9-109".
86638         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86639         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86641 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86643         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86644         between environment variables and auxiliary vector.
86646 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86648         * Makefile: Add rules to build linkobj/libc.so.
86649         * include/libc-symbols.h: Define libc_hidden_nolink.
86650         * include/rpc/auth.h: Mark functions which are to be hidden.
86651         * include/rpc/auth_des.h: Likewise.
86652         * include/rpc/auth_unix.h: Likewise.
86653         * include/rpc/clnt.h: Likewise.
86654         * include/rpc/des_crypt.h: Likewise.
86655         * include/rpc/key_prot.h: Likewise.
86656         * include/rpc/pmap_clnt.h: Likewise.
86657         * include/rpc/pmap_prot.h: Likewise.
86658         * include/rpc/pmap_rmt.h: Likewise.
86659         * include/rpc/rpc_msg.h: Likewise.
86660         * include/rpc/svc.h: Likewise.
86661         * include/rpc/svc_auth.h: Likewise.
86662         * include/rpc/xdr.h: Likewise.
86663         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86664         * nss/Makefile: Likewise.
86665         * sunrpc/Makefile: Don't install headers.  Build library with normal
86666         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86667         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86668         for the compat linking library.  Remove use of INTDEF/INTUSE.
86669         * sunrpc/auth_none.c: Likewise.
86670         * sunrpc/auth_unix.c: Likewise.
86671         * sunrpc/authdes_prot.c: Likewise.
86672         * sunrpc/authuxprot.c: Likewise.
86673         * sunrpc/clnt_gen.c: Likewise.
86674         * sunrpc/clnt_perr.c: Likewise.
86675         * sunrpc/clnt_raw.c: Likewise.
86676         * sunrpc/clnt_simp.c: Likewise.
86677         * sunrpc/clnt_tcp.c: Likewise.
86678         * sunrpc/clnt_udp.c: Likewise.
86679         * sunrpc/clnt_unix.c: Likewise.
86680         * sunrpc/des_crypt.c: Likewise.
86681         * sunrpc/des_soft.c: Likewise.
86682         * sunrpc/get_myaddr.c: Likewise.
86683         * sunrpc/key_call.c: Likewise.
86684         * sunrpc/key_prot.c: Likewise.
86685         * sunrpc/netname.c: Likewise.
86686         * sunrpc/pm_getmaps.c: Likewise.
86687         * sunrpc/pm_getport.c: Likewise.
86688         * sunrpc/pmap_clnt.c: Likewise.
86689         * sunrpc/pmap_prot.c: Likewise.
86690         * sunrpc/pmap_prot2.c: Likewise.
86691         * sunrpc/pmap_rmt.c: Likewise.
86692         * sunrpc/publickey.c: Likewise.
86693         * sunrpc/rpc_cmsg.c: Likewise.
86694         * sunrpc/rpc_common.c: Likewise.
86695         * sunrpc/rpc_dtable.c: Likewise.
86696         * sunrpc/rpc_prot.c: Likewise.
86697         * sunrpc/rpc_thread.c: Likewise.
86698         * sunrpc/rtime.c: Likewise.
86699         * sunrpc/svc.c: Likewise.
86700         * sunrpc/svc_auth.c: Likewise.
86701         * sunrpc/svc_authux.c: Likewise.
86702         * sunrpc/svc_raw.c: Likewise.
86703         * sunrpc/svc_run.c: Likewise.
86704         * sunrpc/svc_simple.c: Likewise.
86705         * sunrpc/svc_tcp.c: Likewise.
86706         * sunrpc/svc_udp.c: Likewise.
86707         * sunrpc/svc_unix.c: Likewise.
86708         * sunrpc/svcauth_des.c: Likewise.
86709         * sunrpc/xcrypt.c: Likewise.
86710         * sunrpc/xdr.c: Likewise.
86711         * sunrpc/xdr_array.c: Likewise.
86712         * sunrpc/xdr_float.c: Likewise.
86713         * sunrpc/xdr_intXX_t.c: Likewise.
86714         * sunrpc/xdr_mem.c: Likewise.
86715         * sunrpc/xdr_rec.c: Likewise.
86716         * sunrpc/xdr_ref.c: Likewise.
86717         * sunrpc/xdr_sizeof.c: Likewise.
86718         * sunrpc/xdr_stdio.c: Likewise.
86720 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
86722         [BZ #12650]
86723         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
86724         * sysdeps/ia64/dl-tls.h: Likewise.
86725         * sysdeps/powerpc/dl-tls.h: Likewise.
86726         * sysdeps/s390/dl-tls.h: Likewise.
86727         * sysdeps/sh/dl-tls.h: Likewise.
86728         * sysdeps/sparc/dl-tls.h: Likewise.
86729         * sysdeps/x86_64/dl-tls.h: Likewise.
86730         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
86732 2011-03-14  Andreas Schwab  <schwab@redhat.com>
86734         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
86735         rpath element also skip the following colon.
86736         (expand_dynamic_string_token): Add is_path parameter and pass
86737         down to DL_DST_REQUIRED and _dl_dst_substitute.
86738         (decompose_rpath): Call expand_dynamic_string_token with
86739         non-zero is_path.  Ignore empty rpaths.
86740         (_dl_map_object_from_fd): Call expand_dynamic_string_token
86741         with zero is_path.
86743 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
86745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
86746         Make cancelable.
86748 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
86750         [BZ #12655]
86751         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
86752         Patch by Filipe David Manana <fdmanana@apache.org>.
86754 2011-04-07  Andreas Schwab  <schwab@redhat.com>
86756         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
86757         Maintain aligned stack.
86758         (CHECK_RSP): Remove unused macro.
86760 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
86762         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
86763         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
86765 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
86767         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
86769         * include/features.h: Mention __USE_XOPEN2K8 in comment.
86771 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
86773         [BZ #12518]
86774         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
86775         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
86776         * sysdeps/x86_64/memmove.c: New file.
86777         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
86778         (memcpy): Renamed to ...
86779         (__new_memcpy): This.
86780         (memcpy): Provide GLIBC_2_14 memcpy.
86781         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
86782         (memcpy): Provide GLIBC_2_2_5 memcpy.
86784 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86786         [BZ #12631]
86787         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
86789 2011-03-30  Andreas Schwab  <schwab@redhat.com>
86791         * misc/syncfs.c: New file.
86792         * misc/Makefile (routines): Add syncfs.
86793         * posix/unistd.h: Declare syncfs.
86794         * sysdeps/unix/syscalls.list: Add syncfs.
86796 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86798         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
86799         open_by_handle_at.
86800         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86801         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86803         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86805         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
86806         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86808 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86810         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
86811         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86812         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
86813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86814         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86816         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86818         * io/Makefile: Compile fallocate.c, fallocate64.c, and
86819         sync_file_range.c with -fexceptions.
86820         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
86821         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
86822         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
86823         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
86824         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
86825         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
86826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
86827         sync_file_range as cancellation point
86828         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
86829         now a wrapper around __call_sync_file_range with cancellation handling.
86830         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
86831         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
86832         function name to __call_sync_file_range.
86833         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
86834         Add call_sync_file_range.
86836 2011-04-01  Andreas Schwab  <schwab@redhat.com>
86838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86839         bits/timex.h.
86841 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
86843         * iconv/iconv.h: Fix typo in comment.
86844         * io/fcntl.h: Likewise.
86845         * libio/stdio.h: Likewise.
86846         * posix/spawn.h: Likewise.
86847         * posix/unistd.h: Likewise.
86848         * stdlib/stdlib.h: Likewise.
86849         * time/time.h: Likewise.
86850         * wcsmbs/wchar.h: Likewise.
86852         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
86853         open_by_handle): Add.
86854         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
86855         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
86856         Augment a few comments.
86857         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86858         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86859         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86861         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86862         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
86863         open_by_handle.
86865         * io/fcntl.h (AT_EMPTY_PATH): Define.
86867 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
86869         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
86870         * sysdeps/unix/sysv/linux/bits/time.h: New file.
86871         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
86872         to...
86873         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
86874         * Versions.def: Add GLIBC_2.14.
86875         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
86876         Export.
86878 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
86880         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
86881         round counter.
86882         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86884 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86886         [BZ #12597]
86887         * string/test-strncmp.c (do_page_test): New function.
86888         (check2): Likewise.
86889         (test_main): Call check2.
86890         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
86892 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
86894         [BZ #12587]
86895         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
86896         Handle cache information in CPU leaf 4.
86897         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
86899 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
86901         [BZ #12583]
86902         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
86903         character representation.
86904         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
86906 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
86908         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
86909         END(__isnan) to END(__isnanf) to match function entry point/label
86910         EALIGN(__isnanf,...).
86912 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
86914         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
86916 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
86918         [BZ #12510]
86919         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
86920         copy from the symbol referenced in the relocation to initialize the
86921         used variable.
86922         Patch by Piotr Bury <pbury@goahead.com>.
86923         * elf/Makefile: Add rules to build and tst-unique3.
86924         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
86925         * elf/tst-unique3.cc: New file.
86926         * elf/tst-unique3.h: New file.
86927         * elf/tst-unique3lib.cc: New file.
86928         * elf/tst-unique3lib2.cc: New file.
86930         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
86932 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
86934         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
86935         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
86936         to _start.
86938 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
86940         * elf/dl-load.c (_dl_map_object): If we are looking for the first
86941         to-be-loaded object along a path to loader is ld.so.
86943 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86944             Ulrich Drepper  <drepper@gmail.com>
86946         * sysdeps/x86_64/memset.S: After aligning destination, code
86947         branches to different locations depending on the value of
86948         misalignment, when multiarch is enabled. Fix this.
86950 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
86952         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
86953         Set _x86_64_preferred_memory_instruction for AMD processsors.
86954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86955         Set bit_Prefer_SSE_for_memop for AMD processors.
86957 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
86959         * libio/fmemopen.c (fmemopen): Optimize a bit.
86961 2011-03-03  Andreas Schwab  <schwab@redhat.com>
86963         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
86965 2011-03-03  Roland McGrath  <roland@redhat.com>
86967         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
86969 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
86971         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
86972         __bzero_ultra1 instead of __memset_ultra1.
86974 2011-02-23  Andreas Schwab  <schwab@redhat.com>
86975             Ulrich Drepper  <drepper@gmail.com>
86977         [BZ #12509]
86978         * include/link.h (struct link_map): Add l_orig_initfini.
86979         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
86980         returning unsuccessfully.
86981         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
86982         close of a file loaded at startup, restore the original l_initfini
86983         list.
86984         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
86985         list, store the pointer.
86986         * elf/Makefile ($(objpfx)noload-mem): New rule.
86987         (noload-ENV): Define.
86988         (tests): Add $(objpfx)noload-mem.
86989         * elf/noload.c: Include <memcheck.h>.
86990         (main): Call mtrace.  Close all opened handles.
86992 2011-02-17  Andreas Schwab  <schwab@redhat.com>
86994         [BZ #12454]
86995         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
86996         dependencies are missing.
86998 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87000         Fix __if_freereq crash: Unlike the generic version which uses free,
87001         Hurd needs munmap.
87002         * sysdeps/mach/hurd/ifreq.h: New file.
87004 2011-01-27  Petr Baudis  <pasky@suse.cz>
87005             Ulrich Drepper  <drepper@gmail.com>
87007         [BZ 12445]#
87008         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87009         to extend_alloca().
87010         * stdio-common/bug23.c: New file.
87011         * stdio-common/Makefile (tests): Add bug23.
87013 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87014             Ulrich Drepper  <drepper@gmail.com>
87016         [BZ #12489]
87017         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87018         before performing relro protection.  At old place add assertion
87019         to make sure nothing changed.
87021 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87022             Glauber de Oliveira Costa  <glommer@gmail.com>
87024         * elf/elf.h: Add new ARM TLS relocs.
87026 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87029         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87030         cast from r3.
87031         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87032         'tests' variable.
87033         * sysdeps/wordsize-64/tst-writev.c: New file.
87035 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87037         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87038         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87039         insns in _dl_start to prevent a TOC reference before relocs are
87040         resolved.
87042 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87044         [BZ #12469]
87045         * Makeconfig: Remove RANLIB definition.
87046         * Makerules: Don't use RANLIB.
87047         * aclocal.m4: Remove ranlib test.
87048         * configure.in: No need to check for ranlib.
87049         * elf/rtld-Rules: Don't use RANLIB.
87051 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87053         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87054         protection macro.
87055         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87056         inclusion protection macro.
87058         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87059         SIGRTMIN and SIGRTMAX and print information in that case only when
87060         SIGRTMIN is defined.
87062 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87064         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87065         arginfo fn returning -1.
87067         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87068         and thousands string is zero terminated.
87070 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87073         sysdeps/unix/sysv/linux/bits/socket.h.
87075 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87077         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87078         (__CPU_COUNT): Remove old macros.
87079         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87080         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87081         (__CPU_ALLOC, __CPU_FREE): Add macros.
87082         (__sched_cpualloc, __sched_cpufree): Add declarations.
87084 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87086         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87087         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87088         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87089         (readdhstai): Return value of addhstaiX call.
87090         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87091         (addgrbyX): Return value returned by cache_addgr.
87092         (readdgrbyname): Return value returned by addgrbyX.
87093         (readdgrbygid): Likewise.
87094         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87095         (addpwbyX): Return value returned by cache_addpw.
87096         (readdpwbyname): Return value returned by addhstbyX.
87097         (readdpwbyuid): Likewise.
87098         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87099         (addservbyX): Return value returned by cache_addserv.
87100         (readdservbyname): Return value returned by addservbyX:
87101         (readdservbyport): Likewise.
87102         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87103         (addhstbyX): Return value returned by cache_addhst.
87104         (readdhstbyname): Return value returned by addhstbyX.
87105         (readdhstbyaddr): Likewise.
87106         (readdhstbynamev6): Likewise.
87107         (readdhstbyaddrv6): Likewise.
87108         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87109         (readdinitgroups): Return value returned by addinitgroupsX.
87110         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87111         (prune_cache): Keep track of timeout value of re-added entries.
87112         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87113         * nscd/nscd.h: Adjust prototypes of readd* functions.
87115 2011-02-04  Roland McGrath  <roland@redhat.com>
87117         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87118         (nis_stats): Likewise.
87119         * nis/nis_modify.c (nis_modify): Likewise.
87120         * nis/nis_remove.c (nis_remove): Likewise.
87121         * nis/nis_add.c (nis_add): Likewise.
87123         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87125         * posix/fnmatch_loop.c: Add some consts.
87127         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87129 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87131         [BZ #12460]
87132         * config.make.in (config-cflags-novzeroupper): Define.
87133         * configure.in: Substitute libc_cv_cc_novzeroupper.
87134         * elf/Makefile (AVX-CFLAGS): Define.
87135         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87136         (CFLAGS-tst-auditmod4a.c): Likewise.
87137         (CFLAGS-tst-auditmod4b.c): Likewise.
87138         (CFLAGS-tst-auditmod6b.c): Likewise.
87139         (CFLAGS-tst-auditmod6c.c): Likewise.
87140         (CFLAGS-tst-auditmod7b.c): Likewise.
87141         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87143 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87145         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87146         function to the callback.
87147         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87149 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87151         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87152         of errno.
87154 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87156         [BZ #11724]
87157         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87158         of constructors.
87159         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87160         of destructors.
87161         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87163         [BZ #11724]
87164         * elf/Makefile: Add rules to build and run new test.
87165         * elf/tst-initorder.c: New file.
87166         * elf/tst-initorder.exp: New file.
87167         * elf/tst-initordera1.c: New file.
87168         * elf/tst-initordera2.c: New file.
87169         * elf/tst-initordera3.c: New file.
87170         * elf/tst-initordera4.c: New file.
87171         * elf/tst-initorderb1.c: New file.
87172         * elf/tst-initorderb2.c: New file.
87173         * elf/tst-order-a1.c: New file.
87174         * elf/tst-order-a2.c: New file.
87175         * elf/tst-order-a3.c: New file.
87176         * elf/tst-order-a4.c: New file.
87177         * elf/tst-order-b1.c: New file.
87178         * elf/tst-order-b2.c: New file.
87179         * elf/tst-order-main.c: New file.
87180         New test case by George Gensure <werkt0@gmail.com>.
87182 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87185         decoding ACE if AI_CANONIDN.
87187 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87189         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87191 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87193         * version.h (RELEASE): Bump for 2.13 release.
87194         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87196         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87198         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87199         MADV_NOHUGEPAGE.
87200         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87201         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87202         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87203         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87205         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87207         * posix/getconf.c: Update copyright year.
87208         * catgets/gencat.c: Likewise.
87209         * csu/version.c: Likewise.
87210         * debug/catchsegv.sh: Likewise.
87211         * debug/xtrace.sh: Likewise.
87212         * elf/ldconfig.c: Likewise.
87213         * elf/ldd.bash.in: Likewise.
87214         * elf/sprof.c (print_version): Likewise.
87215         * iconv/iconv_prog.c: Likewise.
87216         * iconv/iconvconfig.c: Likewise.
87217         * locale/programs/locale.c: Likewise.
87218         * locale/programs/localedef.c: Likewise.
87219         * malloc/memusage.sh: Likewise.
87220         * malloc/mtrace.pl: Likewise.
87221         * nscd/nscd.c (print_version): Likewise.
87222         * nss/getent.c: Likewise.
87224         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87225         PF_CAIF, and PF_ALG.
87226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87228 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87230         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87231         (modules-names): Use them.
87232         (ifunc-test-modules, ifunc-pie-tests): Define.
87233         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87234         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87235         (test-extras): Likewise.
87236         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87237         $(compile-command.c).
87238         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87239         (all-built-dso): Define.
87240         (check-textrel.out, check-execstack.out): Depend on it.
87242         * configure.in: Don't override --enable-multi-arch.
87244 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87246         [BZ #6812]
87247         * nscd/hstcache.c (tryagain): Define.
87248         (cache_addhst): Return tryagain not notfound for temporary errors.
87249         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87250         failed.
87252 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87254         [BZ #10563]
87255         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87256         to make the syscall.
87257         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87259         [BZ #12378]
87260         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87261         and fall back to matching as normal character if the string ends before
87262         the matching ']' is found.  This is what POSIX requires.
87263         * posix/testfnm.c: Adjust test result.
87264         * posix/globtest.sh: Adjust test result.  Add new test.
87265         * posix/tst-fnmatch.input: Likewise.
87266         * posix/tst-fnmatch2.c: Add new test.
87268 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87270         * elf/Makefile (check-execstack): Revert last change.  Depend on
87271         check-execstack.h.
87272         (check-execstack.h): New target.
87273         (generated): Add check-execstack.h.
87274         * elf/check-execstack.c: Include "check-execstack.h".
87275         (main): Revert last change.
87276         (handle_file): Return zero if GNU_STACK is absent and
87277         DEFAULT_STACK_PERMS doesn't include PF_X.
87279 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87281         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87282         in child fails because the descriptor is already closed.
87283         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87284         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87285         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87287         [BZ #12397]
87288         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87289         syscall.
87291         [BZ #10484]
87292         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87293         temporary buffer used to handle multi lookups locally.
87294         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87296 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87298         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87299         loader is ld.so.
87301 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87303         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87304         alignment for SSE2.
87306 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87308         [BZ #12394]
87309         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87310         characters.  When rounding increased number of integer digits recompute
87311         number of groups.
87312         * stdio-common/tst-grouping.c: New file.
87313         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87315 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87317         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87318         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87320         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87321         void.
87322         * bits/select.h: Likewise.
87324 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87326         * po/ja.po: Update from translation team.
87328 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87330         [BZ #11155]
87331         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87332         implementation just like for lxstat, fxstatat, et al.
87334 2010-12-27  Jim Meyering  <meyering@redhat.com>
87336         [BZ #12348]
87337         * posix/regexec.c (build_trtable): Return failure indication upon
87338         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87340 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87342         [BZ #12201]
87343         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87344         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87345         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87346         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87348         [BZ #12207]
87349         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87351         [BZ #12204]
87352         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87353         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87355 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87357         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87358         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87359         script has SORT_BY_INIT_PRIORITY.
87360         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87361         NO_CTORS_DTORS_SECTIONS is defined.
87362         * elf/soinit.c: Likewise.
87363         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87364         NO_CTORS_DTORS_SECTIONS is defined.
87365         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87366         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87367         * sysdeps/sh/init-first.c: Likewise.
87368         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87370 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87372         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87373         always use the slow path.
87375 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87377         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87378         similar rule which adds the sysdep directories to the header search in
87379         order to pick up the correct platform stackinfo.h.
87380         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87381         perform test if it is, otherwise return successfully without testing.
87382         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87383         DEFAULT_STACK_PERMS define in stackinfo.h.
87384         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87385         defined in stackinfo.h.
87386         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87387         DEFAULT_STACK_PERMS defined in stackinfo.h.
87388         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87389         * sysdeps/ia64/stackinfo.h: Likewise.
87390         * sysdeps/s390/stackinfo.h: Likewise.
87391         * sysdeps/sh/stackinfo.h: Likewise.
87392         * sysdeps/sparc/stackinfo.h: Likewise.
87393         * sysdeps/x86_64/stackinfo.h: Likewise.
87394         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87395         PF_X for powerpc64.  Retain PF_X for powerpc32.
87397 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87399         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87400         accurately.
87401         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87402         GETDENTS_64BIT_ALIGNED.
87404 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87406         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87408 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87410         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87411         _GNU_SOURCE.
87413         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87414         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87415         Remove __restrict.
87416         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87417         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87419 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87421         [BZ #11655]
87422         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87423         are initialized.
87425 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87427         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87429 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87431         * po/it.po: Update from translation team.
87433 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87435         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87436         unused codes.
87438 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87440         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87442 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87444         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87445         specially.
87446         (gaih_getanswer_slice): Likewise.
87448 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87452 2010-05-31  Petr Baudis  <pasky@suse.cz>
87454         [BZ #11149]
87455         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87456         silently even in the chroot mode.
87458 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87460         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87461         last patch a bit.  Pretty printing
87463 2010-05-31  Petr Baudis <pasky@suse.cz>
87465         [BZ #10085]
87466         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87467         initialization of skip_initgroups_dyn.
87469 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87471         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87472         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87474 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87476         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87478 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87480         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87481         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87482         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87483         ($(objpfx)tst-fnmatch-mem): New rule.
87484         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87485         * posix/tst-fnmatch.c (main): Call mtrace.
87487 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87490         Support Intel processor model 6 and model 0x2c.
87492 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87494         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87495           signed comparison.
87497 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87499         [BZ #12205]
87500         * string/test-strncasecmp.c (check_result): New function.
87501         (do_one_test): Use it.
87502         (check1): New function.
87503         (test_main): Use it.
87504         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87505         Support strcasecmp and strncasecmp.
87507 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87509         [BZ #12194]
87510         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87511         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87513 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87515         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87516         IFUNC support.
87517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87518         memset-x86-64.
87519         * sysdeps/x86_64/multiarch/bzero.S: New file.
87520         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87521         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87522         * sysdeps/x86_64/multiarch/memset.S: New file.
87523         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87525         Set bit_Prefer_SSE_for_memop for Intel processors.
87526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87527         Define.
87528         (index_Prefer_SSE_for_memop): Define.
87529         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87531 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87533         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87534         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87536 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87538         [BZ #12191]
87539         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87540         (__x86_64_raw_data_cache_size_half): Likewise.
87541         (__x86_64_raw_shared_cache_size): Likewise.
87542         (__x86_64_raw_shared_cache_size_half): Likewise.
87544         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87545         (__x86_64_raw_data_cache_size_half): Likewise.
87546         (__x86_64_raw_shared_cache_size): Likewise.
87547         (__x86_64_raw_shared_cache_size_half): Likewise.
87548         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87549         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87550         and __x86_64_raw_shared_cache_size_half.  Round
87551         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87552         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87553         to multiple of 256 bytes.
87555 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87557         [BZ #12167]
87558         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87559         of inacessible symlinks.  Verify result of symlink before returning it.
87560         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87561         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87563 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87565         * math/math.h (isinf): Fix typo in comment.
87567 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87569         * po/da.po: Update from translation team.
87571 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87573         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87574         is added to the list.
87576 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87577             Ulrich Drepper  <drepper@gmail.com>
87579         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87580         the global list here.  Move code to...
87581         (_dl_add_to_namespace_list): ...here.  New function.
87582         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87583         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87584         * elf/dl-load.c (lose): Don't remove the element from the list.
87585         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87586         (_dl_map_object): Likewise.
87588 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87590         [BZ #12159]
87591         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87592         into all bytes of SSE register.
87593         Patch by Richard Li <richardpku@gmail.com>.
87595 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87597         [BZ #12140]
87598         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87599         perturbing.
87601 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87603         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87604         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87605         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87606         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87608         submachine.
87609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87611 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87613         * include/dlfcn.h (__RTLD_SECURE): Define.
87614         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87615         mode & __RTLD_SECURE instead.
87616         (open_path): Rename preloaded parameter to secure.
87617         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87618         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87619         * elf/dl-deps.c (openaux): Likewise.
87620         * elf/rtld.c (struct map_args): Remove is_preloaded.
87621         (map_doit): Don't use it.
87622         (dl_main): Likewise.
87623         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87624         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87626 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87628         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87629         (sysd-rules-targets): Remove duplicates.
87630         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87631         rtld-%.$o dependency.
87633 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87635         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87636         _dl_map_object do it.
87638 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87640         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87641         fast fma builtins, define the macros in the C99 standard.
87642         (FP_FAST_FMAF): Likewise.
87643         (FP_FAST_FMAL): Likewise.
87644         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87646         * bits/mathdef.h: Update copyright year.
87647         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87649 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87651         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87652         builtins, define the macros in the C99 standard.
87653         (FP_FAST_FMAF): Likewise.
87654         (FP_FAST_FMAL): Likewise.
87655         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87656         multiply/add.
87657         (FP_FAST_FMAF): Likewise.
87659 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87661         [BZ #3268]
87662         * math/libm-test.inc (fma_test): Some new testcases.
87663         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87665         y and infinite z.  Do multiplication by C already in long double.
87666         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87668         y and infinite z.  Do bitwise or of inexact bit into u.d.
87669         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87670         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87671         * sysdeps/i386/fpu/s_fma.S: Removed.
87672         * sysdeps/i386/fpu/s_fmal.S: Removed.
87674 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87676         [BZ #3268]
87677         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87679         computation is not scheduled after fetestexcept.  Fix value
87680         of minimum denormal long double.
87682 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87684         [BZ #3268]
87685         * math/libm-test.inc (fma_test): Add some more tests.
87686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87687         correctly.
87689 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87691         * scripts/data/localplt-s390-linux-gnu.data: New file.
87692         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87694 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87696         [BZ #3268]
87697         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87698         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87699         instead of dbl-64.
87700         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87701         inlines.
87702         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87704         if one of x and y is very large and the other is subnormal.
87705         * sysdeps/s390/fpu/s_fmaf.c: New file.
87706         * sysdeps/s390/fpu/s_fma.c: New file.
87707         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87708         * sysdeps/powerpc/fpu/s_fma.S: New file.
87709         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87710         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87711         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87713 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87715         [BZ #3268]
87716         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87717         fma tests.
87718         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
87719         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
87720         * sysdeps/i386/i686/multiarch/s_fma.c: Include
87721         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
87722         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
87723         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
87724         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
87726 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
87728         [BZ #12078]
87729         * posix/regcomp.c (parse_branch): One more memory leak plugged.
87730         * posix/bug-regex31.input: Add test case.
87732 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87734         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
87735         * posix/bug-regex31.input: New file.
87737         [BZ #12078]
87738         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
87739         (parse_sub_exp): Fix last change, use postorder.
87741         * posix/bug-regex31.c: New file.
87742         * posix/Makefile: Add rules to build and run bug-regex31.
87744         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
87746         [BZ #12078]
87747         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
87749         [BZ #12108]
87750         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
87751         to have entries in sys_siglist.
87753         [BZ #12093]
87754         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
87755         be NULL.
87757 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
87759         [BZ #3268]
87760         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
87761         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
87762         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
87763         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
87764         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87765         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
87766         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
87767         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
87768         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
87769         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
87770         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
87771         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
87772         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
87773         * math/ftestexcept.c (fetestexcept): Likewise.
87774         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
87775         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
87776         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
87777         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
87778         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
87779         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
87780         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
87782 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
87784         [BZ #12107]
87785         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
87786         newline.
87788 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
87790         * string/bug-strstr1.c: New file.
87791         * string/Makefile: Add rules to build and run bug-strstr1.
87793 2010-10-05  Eric Blake  <eblake@redhat.com>
87795         [BZ #12092]
87796         * string/str-two-way.h (two_way_long_needle): Always clear memory
87797         when skipping input due to the shift table.
87799 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
87801         [BZ #12005]
87802         * malloc/mcheck.c: Handle large requests.
87804         [BZ #12077]
87805         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
87806         for strncmp and strncasecmp.
87807         * string/stratcliff.c: Add tests for strcmp and strncmp.
87808         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
87810 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
87812         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
87813         __set_fpscr.
87815 2010-09-30  Andreas Jaeger  <aj@suse.de>
87817         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
87818         (CGROUP_SUPER_MAGIC): Define.
87819         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87820         Handle btrfs and cgroup file systems.
87821         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
87822         Likewise.
87824 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
87826         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
87827         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
87829 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87831         [BZ #12067]
87832         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
87833         trying to locate the ELF header.
87835 2010-09-27  Andreas Schwab  <schwab@redhat.com>
87837         [BZ #11611]
87838         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
87839         Mask out sign-bit copies when constructing f_fsid.
87841 2010-09-24  Petr Baudis <pasky@suse.cz>
87843         * debug/stack_chk_fail_local.c: Add missing licence exception.
87844         * debug/warning-nop.c: Likewise.
87846 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
87848         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
87849         implementing getdents64 using getdents syscall, set d_type if
87850         __ASSUME_GETDENTS32_D_TYPE.
87852 2010-09-16  Andreas Schwab  <schwab@redhat.com>
87854         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
87855         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
87857 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
87859         [BZ #12037]
87860         * posix/unistd.h: Undo change of feature selection for ftruncate from
87861         2010-01-11.
87863 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
87865         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
87866         detection.
87868 2010-09-20  Andreas Schwab  <schwab@redhat.com>
87870         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
87871         fanotify_mark.
87872         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
87874 2010-09-14  Andreas Schwab  <schwab@redhat.com>
87876         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
87877         variables after CHECK_SP call.
87878         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
87880 2010-09-13  Andreas Schwab  <schwab@redhat.com>
87881             Ulrich Drepper  <drepper@redhat.com>
87883         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
87884         re-relocationg ld.so.
87885         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
87886         _dl_init_paths call.
87887         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
87888         here anymore.
87890 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
87892         * resolv/res_init.c (__res_vinit): Count the default server we added.
87894 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
87895             Ulrich Drepper  <drepper@redhat.com>
87897         [BZ #11968]
87898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
87899         (____longjmp_chk): Use %ebx for saving value across system call.
87900         Add unwind info.
87902 2010-09-06  Andreas Schwab  <schwab@redhat.com>
87904         * manual/Makefile: Don't mix pattern rules with normal rules.
87906 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
87908         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
87909         operation.
87910         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
87911         * libio/iofopncook.c (_IO_cookie_init): Likewise.
87912         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
87913         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
87914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
87915         Likewise.
87917 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
87919         [BZ #11979]
87920         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
87921         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
87923 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
87925         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
87926         * sysdeps/x86_64/addmul_1.S: Likewise.
87927         * sysdeps/x86_64/lshift.S: Likewise.
87928         * sysdeps/x86_64/mul_1.S: Likewise.
87929         * sysdeps/x86_64/rshift.S: Likewise.
87930         * sysdeps/x86_64/sub_n.S: Likewise.
87931         * sysdeps/x86_64/submul_1.S: Likewise.
87933 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87935         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
87936         Define __sched_param instead of SCHED_* and sched_param when
87937         <bits/sched.h> is included with __need_schedparam defined.
87938         * bits/sched.h [__need_schedparam]
87939         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
87940         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
87941         (__defined_schedparam): Define to 1.
87942         (__sched_param): New structure, identical to sched_param.
87943         (__need_schedparam): Undefine.
87945 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
87947         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
87948         (epoll_create1): Declare.
87950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
87952 2010-08-31  Andreas Schwab  <schwab@redhat.com>
87954         [BZ #7066]
87955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
87956         shifting retval into place.
87958 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
87960         * nis/rpcsvc/nis.h: Update copyright notice.
87961         * nis/rpcsvc/nis.x: Likewise.
87962         * nis/rpcsvc/nis_callback.h: Likewise.
87963         * nis/rpcsvc/nis_callback.x: Likewise.
87964         * nis/rpcsvc/nis_object.x: Likewise.
87965         * nis/rpcsvc/nis_tags.h: Likewise.
87966         * nis/rpcsvc/yp.h: Likewise.
87967         * nis/rpcsvc/yp.x: Likewise.
87968         * nis/rpcsvc/ypupd.h: Likewise.
87969         * nis/yp_xdr.c: Likewise.
87970         * nis/ypupdate_xdr.c: Likewise.
87972         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
87973         mainly the body of pmap_getport.  Add parameters to specify timeouts.
87974         (pmap_getport): Use __libc_rpc_getport.
87975         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
87976         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
87977         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
87979 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
87981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
87982         fanotify_mark.
87984 2010-08-27  Roland McGrath  <roland@redhat.com>
87986         * sysdeps/i386/i686/multiarch/Makefile
87987         (CFLAGS-varshift.c): New variable.
87989 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
87991         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
87992         * sysdeps/i386/i686/multiarch/varshift.c: New file.
87994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
87996         * sysdeps/x86_64/strlen.S: Minimal code improvement.
87998 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88000         * sysdeps/x86_64/strlen.S: Unroll the loop.
88001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88002         strlen-sse2 strlen-sse2-bsf.
88003         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88004         __strlen_no_bsf if bit_Slow_BSF is set.
88005         (__strlen_sse42): Removed.
88006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88007         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88009 2010-08-25  Roland McGrath  <roland@redhat.com>
88011         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88012         * sysdeps/x86_64/multiarch/varshift.c: New file.
88013         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88014         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88015         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88016         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88018 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88021         strlen-sse2 strlen-sse2-bsf.
88022         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88023         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88024         (__strlen_sse2): Removed.
88025         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88028         bit_Slow_BSF for Atom.
88029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88030         (index_Slow_BSF): Define.
88031         (HAS_SLOW_BSF): Define.
88033 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88035         [BZ #10851]
88036         * resolv/res_init.c (__res_vinit): When no server address at all
88037         is given default to loopback.
88039 2010-08-24  Roland McGrath  <roland@redhat.com>
88041         * configure.in: Remove config-name.h generation.
88042         * configure: Regenerated.
88043         * config-name.in: File removed.
88044         * scripts/config-uname.sh: New file.
88045         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88046         ($(objdir)config-name.h): New target.
88048         * sunrpc/rpc_parse.h: Avoid nested comment.
88050 2010-08-24  Richard Henderson  <rth@redhat.com>
88051             Ulrich Drepper  <drepper@redhat.com>
88052             H.J. Lu  <hongjiu.lu@intel.com>
88054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88056         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88057         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88058         _mm_alignr_epi8 with _mm_loadu_si128.
88059         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88060         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88061         (__m128i_shift_right): Removed.
88062         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88063         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88064         * sysdeps/x86_64/multiarch/varshift.h: New file.
88065         * sysdeps/x86_64/multiarch/varshift.S: New file.
88067 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88069         * configure.in: Move assembler checks to before sysdep dir checking.
88071 2010-08-20  Petr Baudis  <pasky@suse.cz>
88073         * LICENSES: Sync the sunrpc license.
88075 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88077         * sunrpc/auth_des.c: Update copyright notice once again.
88078         * sunrpc/auth_none.c: Likewise.
88079         * sunrpc/auth_unix.c: Likewise.
88080         * sunrpc/authdes_prot.c: Likewise.
88081         * sunrpc/authuxprot.c: Likewise.
88082         * sunrpc/bindrsvprt.c: Likewise.
88083         * sunrpc/clnt_gen.c: Likewise.
88084         * sunrpc/clnt_perr.c: Likewise.
88085         * sunrpc/clnt_raw.c: Likewise.
88086         * sunrpc/clnt_simp.c: Likewise.
88087         * sunrpc/clnt_tcp.c: Likewise.
88088         * sunrpc/clnt_udp.c: Likewise.
88089         * sunrpc/clnt_unix.c: Likewise.
88090         * sunrpc/des_crypt.c: Likewise.
88091         * sunrpc/des_soft.c: Likewise.
88092         * sunrpc/get_myaddr.c: Likewise.
88093         * sunrpc/getrpcport.c: Likewise.
88094         * sunrpc/key_call.c: Likewise.
88095         * sunrpc/key_prot.c: Likewise.
88096         * sunrpc/openchild.c: Likewise.
88097         * sunrpc/pm_getmaps.c: Likewise.
88098         * sunrpc/pm_getport.c: Likewise.
88099         * sunrpc/pmap_clnt.c: Likewise.
88100         * sunrpc/pmap_prot.c: Likewise.
88101         * sunrpc/pmap_prot2.c: Likewise.
88102         * sunrpc/pmap_rmt.c: Likewise.
88103         * sunrpc/rpc/auth.h: Likewise.
88104         * sunrpc/rpc/auth_unix.h: Likewise.
88105         * sunrpc/rpc/clnt.h: Likewise.
88106         * sunrpc/rpc/des_crypt.h: Likewise.
88107         * sunrpc/rpc/key_prot.h: Likewise.
88108         * sunrpc/rpc/netdb.h: Likewise.
88109         * sunrpc/rpc/pmap_clnt.h: Likewise.
88110         * sunrpc/rpc/pmap_prot.h: Likewise.
88111         * sunrpc/rpc/pmap_rmt.h: Likewise.
88112         * sunrpc/rpc/rpc.h: Likewise.
88113         * sunrpc/rpc/rpc_des.h: Likewise.
88114         * sunrpc/rpc/rpc_msg.h: Likewise.
88115         * sunrpc/rpc/svc.h: Likewise.
88116         * sunrpc/rpc/svc_auth.h: Likewise.
88117         * sunrpc/rpc/types.h: Likewise.
88118         * sunrpc/rpc/xdr.h: Likewise.
88119         * sunrpc/rpc_clntout.c: Likewise.
88120         * sunrpc/rpc_cmsg.c: Likewise.
88121         * sunrpc/rpc_common.c: Likewise.
88122         * sunrpc/rpc_cout.c: Likewise.
88123         * sunrpc/rpc_dtable.c: Likewise.
88124         * sunrpc/rpc_hout.c: Likewise.
88125         * sunrpc/rpc_main.c: Likewise.
88126         * sunrpc/rpc_parse.c: Likewise.
88127         * sunrpc/rpc_parse.h: Likewise.
88128         * sunrpc/rpc_prot.c: Likewise.
88129         * sunrpc/rpc_sample.c: Likewise.
88130         * sunrpc/rpc_scan.c: Likewise.
88131         * sunrpc/rpc_scan.h: Likewise.
88132         * sunrpc/rpc_svcout.c: Likewise.
88133         * sunrpc/rpc_tblout.c: Likewise.
88134         * sunrpc/rpc_util.c: Likewise.
88135         * sunrpc/rpc_util.h: Likewise.
88136         * sunrpc/rpcinfo.c: Likewise.
88137         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88138         * sunrpc/rpcsvc/key_prot.x: Likewise.
88139         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88140         * sunrpc/rpcsvc/mount.x: Likewise.
88141         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88142         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88143         * sunrpc/rpcsvc/rex.x: Likewise.
88144         * sunrpc/rpcsvc/rstat.x: Likewise.
88145         * sunrpc/rpcsvc/rusers.x: Likewise.
88146         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88147         * sunrpc/rpcsvc/spray.x: Likewise.
88148         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88149         * sunrpc/rtime.c: Likewise.
88150         * sunrpc/svc.c: Likewise.
88151         * sunrpc/svc_auth.c: Likewise.
88152         * sunrpc/svc_authux.c: Likewise.
88153         * sunrpc/svc_raw.c: Likewise.
88154         * sunrpc/svc_run.c: Likewise.
88155         * sunrpc/svc_simple.c: Likewise.
88156         * sunrpc/svc_tcp.c: Likewise.
88157         * sunrpc/svc_udp.c: Likewise.
88158         * sunrpc/svc_unix.c: Likewise.
88159         * sunrpc/svcauth_des.c: Likewise.
88160         * sunrpc/xcrypt.c: Likewise.
88161         * sunrpc/xdr.c: Likewise.
88162         * sunrpc/xdr_array.c: Likewise.
88163         * sunrpc/xdr_float.c: Likewise.
88164         * sunrpc/xdr_mem.c: Likewise.
88165         * sunrpc/xdr_rec.c: Likewise.
88166         * sunrpc/xdr_ref.c: Likewise.
88167         * sunrpc/xdr_sizeof.c: Likewise.
88168         * sunrpc/xdr_stdio.c: Likewise.
88170         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88171         handling.
88173 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88175         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88177 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88179         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88180         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88181         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88182         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88183         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88184         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88185         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88186         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88187         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88188         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88189         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88190         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88191         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88192         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88194 2010-07-26  Anton Blanchard  <anton@samba.org>
88196         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88197         * malloc/arena.c (heap_trim): Likewise.
88199 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88201         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88202         here.  Not...
88203         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88204         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88206 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88208         * sysdeps/i386/elf/Makefile: New file.
88210 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88212         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88213         from fanotify_init.
88214         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88217 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88219         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88220         of strncasecmp_l.
88221         * sysdeps/multiarch/strcmp.S: Likewise.
88223 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88225         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88226         strncase_l-nonascii.
88227         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88228         Add strncase_l-ssse3.
88229         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88230         * sysdeps/x86_64/strcmp.S: Likewise.
88231         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88232         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88233         * sysdeps/x86_64/strncase.S: New file.
88234         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88235         * sysdeps/x86_64/strncase_l.S: New file.
88236         * string/Makefile (strop-tests): Add strncasecmp.
88237         * string/test-strncasecmp.c: New file.
88239         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88240         warning.
88242         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88243         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88245 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88247         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88249 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88251         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88252         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88253         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88255 2010-05-01  Alan Modra  <amodra@gmail.com>
88257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88258         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88259         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88260         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88261         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88262         tidying.  Don't tail-call __sigjmp_save for static lib.
88263         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88264         save location.
88265         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88266         (CALL_MCOUNT): Add eh info, and nop after bl.
88267         (TAIL_CALL_SYSCALL_ERROR): New macro.
88268         (PSEUDO_RET): Use it.
88269         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88270         Correct save location of integer regs and cr.
88271         (_dl_profile_resolve): Correct cr save location.  Delete nops
88272         after bl when SHARED.  Reduce cfi size a little by better
88273         placement of cfi directives.
88274         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88275         make a stack frame.  Instead use parm save area as a temp.
88276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88277         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88279         Don't make a stack frame for parent, use parm save area.
88280         Increase child stack frame to 112 bytes.  Don't save unused reg,
88281         and adjust reg usage.  Set up cfi on error recovery and
88282         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88284         (__makecontext): Add dummy nop after jump to exit.
88285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88286         Use correct parm save area and cr save, reduce stack frame.
88287         Correct cfi for possible PSEUDO_RET frame setup.
88288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88289         Branch to local label emitted by PSEUDO_RET rather than
88290         __syscall_error.
88292 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88294         [BZ #11904]
88295         * locale/programs/locale.c (print_assignment): New function.
88296         (show_locale_vars): Use it.
88298 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88300         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88301         field.
88302         (struct statfs64): Likewise.
88303         (_STATFS_F_FLAGS): Define.
88304         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88305         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88306         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88307         (ST_VALID): Define locally.
88308         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88309         __statvfs_getflags, use the provided value.
88310         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88311         __ASSUME_STATFS_F_FLAGS.
88313         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88315         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88316         Add sys/fanotify.h.
88317         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88318         fanotify_mask for GLIBC_2.13.
88319         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88320         fanotify_init and fanotify_mark.
88321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88322         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88324         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88325         Add prlimit.
88326         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88327         prlimit64 for GLIBC_2.13.
88328         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88329         prlimit64.
88330         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88331         syscall.
88332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88333         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88334         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88336         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88337         add prlimit alias.
88338         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88340         [BZ #11903]
88341         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88342         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88344         * nss/Makefile: Add rules to build and run tst-nss-test1.
88345         * shlib-versions: Add entry for libnss_test1.
88346         * nss/nss_test1.c: New file.
88347         * nss/tst-nss-test1.c: New file.
88349         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88350         (__nss_configure_lookup): Set appropriate entry in
88351         __nss_configure_lookup to true.
88352         * nss/nsswitch.h: Define enum with indeces of databases in
88353         databases and __nss_database_custom arrays.  Declare
88354         __nss_database_custom.
88355         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88356         to avoid using nscd when custom rules are installed.
88357         * nss/getXXbyYY_r.c: Likewise.
88358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88360         * nss/nss_files/files-parse.c: Whitespace fixes.
88362 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88364         [BZ #11883]
88365         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88366         * posix/fnmatch_loop.c: Likewise.
88368 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88370         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88371         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88372         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88373         * Versions.def [GLIBC_2.13]: Add.
88375 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88377         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88378         Also fail if tpwd after pwuid call is NULL.
88380 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88382         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88383         when converting to ms.
88385 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88387         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88388         EOPNOTSUPP errors with ENOTTY.
88389         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88390         EOPNOTSUPP errors with ENOTTY.
88392 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88394         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88395         Add strcasecmp_l-ssse3.
88396         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88397         strcasecmp.
88398         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88399         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88400         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88402 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88404         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88406         * string/Makefile (strop-tests): Add strcasecmp.
88407         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88408         strcasecmp_l-nonascii.
88409         (gen-as-const-headers): Add locale-defines.sym.
88410         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88411         * sysdeps/x86_64/strcasecmp.S: New file.
88412         * sysdeps/x86_64/strcasecmp_l.S: New file.
88413         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88414         * sysdeps/x86_64/locale-defines.sym: New file.
88415         * string/test-strcasecmp.c: New file.
88417         * string/test-strcasestr.c: Test both ends of the range of characters.
88418         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88420 2010-07-29  Roland McGrath  <roland@redhat.com>
88422         [BZ #11856]
88423         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88425 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88427         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88428         for ld.so.
88430 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88432         * manual/memory.texi (Malloc Tunable Parameters): Document
88433         M_PERTURB.
88435 2010-07-26  Roland McGrath  <roland@redhat.com>
88437         [BZ #11840]
88438         * configure.in (-fgnu89-inline check): Set and substitute
88439         gnu89_inline, not libc_cv_gnu89_inline.
88440         * configure: Regenerated.
88441         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88443 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88445         * string/test-strnlen.c: New file.
88446         * string/Makefile (strop-tests): Add strnlen.
88447         * string/tester.c (test_strnlen): Add a few more test cases.
88448         * string/tst-strlen.c: Better error reporting.
88450         * sysdeps/x86_64/strnlen.S: New file.
88452 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88454         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88455         lower-latency instructions.
88457 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88459         * string/test-strcasestr.c: New file.
88460         * string/test-strstr.c: New file.
88461         * string/Makefile (strop-tests): Add strstr and strcasestr.
88462         * string/str-two-way.h: Don't undefine MAX.
88463         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88465 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88468         strcasestr-nonascii.
88469         (CFLAGS-strcasestr-nonascii.c): Define.
88470         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88472         Remove unused attribute.
88474 2010-07-20  Roland McGrath  <roland@redhat.com>
88476         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88477         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88478         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88479         like LD_HWCAP_MASK can disable hwcaps.
88481 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88483         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88485 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88487         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88488         call in strcasestr.
88489         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88490         __strcasestr_sse42_nonascii.
88491         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88492         strcasestr-nonascii.c.
88493         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88495 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88497         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88498         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88499         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88500         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88502 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88504         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88505         fcntl.
88507 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88509         [BZ #11577]
88510         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88511         dl_signal_cerror.
88513 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88516         _PC_PIPE_BUF using F_GETPIPE_SZ.
88518 2010-07-05  Roland McGrath  <roland@redhat.com>
88520         * manual/arith.texi (Rounding Functions): Fix rint description
88521         implicit in round description.
88523 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88525         * elf/Makefile: Fix linking for a few tests to make recent linker
88526         happy.
88528 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88530         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88531         $(common-objpfx)libc_nonshared.a.
88533 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88535         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88536         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88537         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88538         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88539         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88540         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88541         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88542         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88557         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88558         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88559         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88560         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88561         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88562         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88563         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88564         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88565         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88566         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88567         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88568         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88584 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88586         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88587         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88588         * string/memmove.c (memmove): Renamed to ...
88589         (MEMMOVE): ...this.  Default to memmove.
88590         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88591         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88592         (END_CHK): Define.
88593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88594         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88595         mempcpy-ssse3-back memmove-ssse3-back.
88596         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88598         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88599         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88600         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88601         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88602         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88603         * sysdeps/x86_64/multiarch/memmove.c: New file.
88604         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88605         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88606         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88607         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88608         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88609         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88610         Define.
88611         (index_Fast_Copy_Backward): Define.
88612         (HAS_ARCH_FEATURE): Define.
88613         (HAS_FAST_REP_STRING): Define.
88614         (HAS_FAST_COPY_BACKWARD): Define.
88616 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88619         Restore proper fallback handling.
88621 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88623         [BZ #11701]
88624         * posix/group_member.c (__group_member): Correct checking loop.
88626         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88627         OOM in getpwuid_r correctly.  Return error number when the caller
88628         should return, otherwise -1.
88629         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88630         call returning > 0 value.
88631         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88633 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88635         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88636         libc_nonshared.a from targets in modules-names.
88638 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88640         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88641         requires it.
88643 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88646         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88647         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88650 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88652         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88654 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88656         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88657         and F_GETPIPE_SZ.
88658         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88659         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88661         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88662         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88663         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88665 2010-06-14  Roland McGrath  <roland@redhat.com>
88667         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88669 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88671         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88672         __REDIRECT followed by __THROW.
88673         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88674         * posix/getopt.h (getopt): Likewise.
88676 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88678         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88679         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88680         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88681         in AT_FLAGS.
88682         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88683         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88685 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88687         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88689 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88691         [BZ #11640]
88692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88693         Properly check family and model.
88695 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88699 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88701         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88703 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88705         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88706         symbol reference.
88708 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88710         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88711         symbol reference.
88713 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88715         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88716         and internal_recvmmsg.
88717         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88718         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
88719         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
88720         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
88722         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
88723         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
88724         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
88726 2010-05-20  Andreas Schwab  <schwab@redhat.com>
88728         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
88730 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
88732         POWER7 optimizations.
88733         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
88734         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
88736 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
88738         * version.h: Update for 2.13 development version.
88740 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
88742         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
88743         exceptions.  Return 0.
88745 2010-05-07  Roland McGrath  <roland@redhat.com>
88747         * elf/ldconfig.c (main): Add a const.
88749 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
88751         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
88752         (args_options): Add no-idn option.
88753         (ahosts_keys_int): Add idn_flags to ai_flags.
88754         (parse_option): Handle 'i' option to clear idn_flags.
88756         * malloc/malloc.c (_int_free): Possible race in the most recently
88757         added check.  Only act on the data if no current modification
88758         happened.
88760 See ChangeLog.17 for earlier changes.